What DevOps Means on a Small Site
DevOps is not a job title or a tool. It is the habit of making change safe, fast and boring, and it matters even when the team is one person.
The short definition
DevOps is the set of habits that let you change a running system often without breaking it. That is the whole idea. The tools (Git, CI, containers, cloud) exist to serve those habits, not the other way round.
The word joins development and operations. In large organisations these used to be separate teams: one wrote the code and threw it over a wall, the other kept it running and absorbed the pain. DevOps removes the wall. The people who change the system also feel what the change does in production.
On a one-person website there is no wall to remove, because both teams are the same person. That makes DevOps more important, not less. There is nobody else to notice a broken deploy at midnight.
The four questions every change must answer
Every DevOps practice answers one of four questions:
- Does it work? Tests, run automatically, before anything is shipped.
- Can I ship it the same way every time? A pipeline that builds and deploys without hand steps.
- Is it working now? Monitoring, health checks and alerts that look at the live system.
- Can I undo it? Rollback for code, backups for data.
If you can answer all four with "yes, and here is how I know", you are doing DevOps, whatever your tools are called.
The loop
The classic picture is a loop: plan, code, build, test, release, deploy, operate, monitor, and back to plan. What matters is not the names but that the loop is short and closed:
- Short, so that a mistake is found minutes after it is made, while you still remember what you changed.
- Closed, so that what you learn in production comes back as the next change: a failing check becomes a test, a slow page becomes a budget.
On this site a typical loop is: write a change on a branch, run the tests locally in a few seconds, open a pull request, watch the automated tests pass in under a minute, merge, and let the pipeline build a container and deploy it. A few minutes later, an automatic speed check measures the new version and stores the result next to the previous ones.
What DevOps is not
- Not a tool you buy. A team with the best tooling and no habits still ships broken code.
- Not "move fast and break things". The goal is to move fast because things rarely break, and when they do, the damage is small and quick to undo.
- Not only for big teams. The cost of a mistake on a small site is lower, but so is the number of people who will catch it. Automation is the colleague you do not have.
The three measures worth tracking
Research on delivery teams keeps coming back to a few numbers. Adapted for a small site:
| Measure | Question it answers | On this site |
|---|---|---|
| Change frequency | How often does a change reach production? | Several merges on a busy day |
| Change failure rate | How often does a change break something? | The test workflow has failed 2 times in 196 runs |
| Time to restore | How long to undo a bad change? | One command to send traffic back to the previous version (see Rolling Back) |
You do not need a dashboard for these on day one. You need to know roughly where you stand, and to notice when one gets worse.
How this series is laid out
The ten series follow the path of one change:
- The Map: this series. The vocabulary and the full journey.
- Source Control: branches, pull requests, what never goes into Git.
- Tests and CI: the first gate, and the GitHub workflow that enforces it.
- Containers: Docker from first principles, with this site's Dockerfile line by line.
- Build and Deploy: Cloud Build, Cloud Run, knowing what is live, and rolling back.
- Infrastructure: what runs where in the cloud, who may touch it, and using
gcloudsafely. - Secrets and Security: configuration, Secret Manager and hardening.
- Data and Recovery: where data lives, backups and point-in-time recovery, and the restore drill.
- Monitoring and Speed: health checks, logs, alerts and Lighthouse budgets.
- Running It: the merge checklist, incidents and lessons.
Try it yourself
Take any system you look after, even a hobby project, and answer the four questions in writing: does it work, can I ship it the same way every time, is it working now, can I undo it. Every "I am not sure" is your DevOps backlog, in priority order.