Explore / Build the product / On-call and DevOps

On-call and DevOps · Starting Up

How do I set up DevOps at an early-stage startup, and should I outsource it?

Checked 24 November 2026

Do not hire for DevOps first: keep code in Git with reviewed pull requests, run tests on every push, deploy in one step to a managed platform, and alert on failures. Outsource a defined job, such as a cloud migration, with the accounts and keys in the company's name.

By case

  • If you are still finding product-market fit

    Deploy a backend to a managed platform such as Railway or Render, and skip Kubernetes.

    Time spent on infrastructure earns nothing until people use the product.

    Railway: Free $0 (30-day trial with $5 credits, then $1 a month); Hobby $5 minimum usage; Pro $20 minimum usage; Enterprise on request, read from railway.com on 10 November 2026

  • If the product is a Next.js web app

    Deploy it on Vercel, on a paid plan for a business.

    Vercel's free Hobby plan is for personal, non-commercial use.

    Vercel: Hobby $0 a month; Pro $20 a month with $20 of included usage; Enterprise custom, read from vercel.com on 10 November 2026

  • If you need infrastructure built once, such as a migration or infrastructure as code

    Hire a contractor for that scope with a written runbook as a deliverable.

    The knowledge stays with you after the contract ends.

  • If infrastructure takes more than a day a week of an engineer's time

    Make it someone's job, a hire or a retained contractor.

    That is the point where it is crowding out product work.

The steps6 steps

  1. Keep all code on GitHub and work through pull requests into a protected main branch.

    The official page on docs.github.com

  2. Add CI with GitHub Actions to run tests on every pull request.

    Fee: Free on public repositories; 2,000 minutes a month on GitHub Free for private ones. The official page on github.com

  3. Deploy main automatically to a managed platform, keeping build, release and run separate.

    The official page on 12factor.net

  4. Move config and secrets out of the code into environment variables.

    The official page on 12factor.net

  5. Add uptime and error alerts that reach a phone.

    The official page on sre.google

  6. Once you deploy often, track DORA's delivery metrics to see whether it is working.

    The official page on dora.dev

The figuresEach with where it was read

  • GitHub Actions minutes included each month on GitHub Free for private repositories 2,000 GitHub pricing, read 24 November 2026

What goes wrong

  • Starting with Kubernetes and microservices for a product with a handful of users.

  • Letting an agency or freelancer own the AWS root account, the domain or the Git organisation.

  • Committing secrets to the repository.

  • Deploying by hand from one person's laptop.

Go deeper8 sources

  • GitHub Flow

    GitHub · GitHub Docs · Template · 10 min read

    This is a ready made, minimal workflow you can adopt as is on your first hire: branch, open a pull request, review, merge, deploy, delete the branch. It is about the smallest real process that still gives you review and a clean history. Copy it verbatim as your two or three rules rather than inventing your own.

  • Build, release, run (The Twelve-Factor App)

    Adam Wiggins · 12factor.net · Article · 5 min read

    This short principle explains why separating the build, the release, and the run steps gives you clean versioned releases you can roll back to instantly. It is the mental model behind a rollback button, and internalizing it early keeps your deploy setup sane as it grows. Five minutes that pays off the first time a deploy goes wrong.

  • DORA (DevOps Research and Assessment)

    DORA · dora.dev · Tool · Reference and quick check

    The free home of the four delivery metrics plus a quick check that tells you where your team stands, so you can judge process by whether it improves shipping rather than by how official it feels. It keeps you honest: if a new rule does not improve deploy frequency or recovery time, it is probably just ceremony. Use the quick check as a baseline before and after any process change.

  • Continuous delivery

    DORA (Google Cloud) · Article · ~10 min read

    Explains how to keep every change ready to release at any time, which is the technical backbone of a weekly staging link. It helps you ask your dev team the right questions about deploying on demand rather than saving work for a monthly push. Pairs well with the small batches page.

  • GitHub pricing

    GitHub · github.com · Tool

    GitHub's plans, and what each includes in Actions minutes and review features.

  • The Twelve-Factor App

    Adam Wiggins, Heroku · 12factor.net · Essay

    The methodology behind apps that deploy anywhere: config in the environment, stateless processes, one codebase.

  • Render pricing

    Render · render.com · Tool

    A managed platform's full price list, per service and per database.

All 8 sources