What Is DevOps? Culture, Practices and Tools
It is release night at a small online shop. The developers who built a new checkout page have gone home. The operations team, who look after the servers, install it, and checkout starts failing. Operations say the code is broken; developers say the servers are set up wrong. This lesson answers what is DevOps: the way of working that ends that standoff, the practices behind it, and how to start.
The old split: change versus stability
In many companies, building software and running it were separate jobs. Developers write the code that makes an app work. Operations (ops) run it: they look after the servers, the computers that deliver the app to users, and get called when it breaks.
Each side was judged on a different goal. Developers were rewarded for shipping change: new features, delivered fast. Ops were rewarded for stability: the app stays up. Every change risks stability, so the goals collided at every release, the moment a new version goes out.
The handover often went through a ticket queue, a list of written requests that ops worked through. Ops ran code they had not written, and developers rarely saw it fail. People call this throwing code over the wall. Wary of change, ops added long checklists and weeks when nothing could change, so changes piled up into big, rare releases that were harder to untangle when they broke.
In the diagram's lower half, the ticket queue is gone: one team carries each change from code to monitoring.
DevOps is first a culture
DevOps, a blend of "development" and "operations", is a way of working in which the people who build a service, such as a shop's website, and the people who run it share one goal and one responsibility. Three habits sit at its core.
Shared ownership. The team that writes a service also cares how it behaves in production, the live system real users rely on (see the next lesson). Teams often say "you build it, you run it": developers join the on-call rota, the schedule of who responds when something breaks.
Small, frequent changes. Instead of one large release every few months, the team ships small changes often. A small change is quick to review, and easy to trace and undo if it breaks.
Learning without blame. After an incident, an unplanned failure that hurts users, the team writes a blameless postmortem: a review that asks what in the system let the mistake through, not who to punish. People who are not punished report problems early. Post-Mortem Culture That Works goes deeper.
The practices that make it real
Version control keeps every change to the code in a shared history: who changed what, when and why. Most teams use Git. CI/CD, short for continuous integration and continuous delivery, automatically builds every change (turns the code into something a computer can run) and tests it, keeping changes that pass ready to release. Lesson 4 covers it.
Infrastructure as code describes servers and networks in text files that a tool turns into the real thing, the same way every time (see Infrastructure as Code Explained). Monitoring measures the running service, such as errors and response times, and alerts a person when something looks wrong (see Monitoring and Alerting Basics).
Each practice removes one pain of the old split:
| Practice | The problem it removes |
|---|---|
| Version control | Nobody knows who changed what, or how to go back |
| CI/CD | Builds and tests done by hand, skipped when busy |
| Infrastructure as code | Servers set up by hand, each a little different |
| Monitoring | Users notice an outage before the team does |
Together they form a loop. Here, release means approving a tested version, and deploy means installing it where users reach it (lesson 9 shows code can even be deployed switched off). Notice the pink arrow: monitoring feeds the next plan, which makes it a feedback loop.
Tools are the means, not the goal
Each practice has tools: Git for history, a CI system such as GitHub Actions or Jenkins that runs builds and tests on every change, containers that package an app with everything it needs to run (see What Is Docker?), and dashboards, screens of live graphs.
But buying a tool does not make a team DevOps. If developers still file a ticket and walk away, a CI system only automates the throw over the wall. What matters is whether one team cares about a change until it works for users.
Nor is DevOps just a job title. DevOps engineers often set up the automation teams share, which is useful work. But an operations team renamed "the DevOps team" that still works from a ticket queue is the same wall with a new sign.
How to start small
Pick one release step that is manual, slow or scary, such as copying files to a server by hand, or a long checklist run late at night.
First write down how releases go now: how long one takes from finished code to live, and how often one causes a problem. Then automate that one step so it runs the same way every time. After a few releases, compare. Faster, calmer releases are your case for automating the next step; lesson 16 adds four standard delivery metrics.
Check yourself
Your team adopts GitHub Actions, but night-time failures still go only to ops, and developers hear a week later. What is missing?
Shared ownership. The tool automated the build, but the wall is still there: the people who wrote the change should feel and fix its failures, for example by joining on-call.
Why are failures usually easier to handle with small, frequent releases than with one big release each quarter?
A small release holds few changes, so you know where to look and can undo it quickly; a big one mixes many, so finding the fault takes longer.
After an outage caused by a mistyped setting, a manager asks who typed it. What would a blameless postmortem ask instead, and why?
What let a mistyped setting reach users unchecked, such as a missing review or automated check. Fixing that catches the next person's slip too, and people keep reporting problems honestly.