Course contents · Lesson 2 of 19

SRE vs DevOps: How They Differ and Overlap

What SRE Is · Lesson 2 of 19 · 8 min Foundations

You are scrolling through job adverts. One asks for a DevOps engineer, another for a site reliability engineer (SRE), and both mention automation, monitoring and being on call. Are they the same job with two names? Not quite. This lesson settles SRE vs DevOps: what each one is, where they overlap, where they differ, and how real teams combine them.

DevOps: building and running together

You met DevOps in What Is DevOps?: a way of working in which the people who build a service and the people who run it share one goal and one responsibility, instead of developers throwing code "over the wall" to a separate operations team.

DevOps is broad on purpose. It covers the whole delivery pipeline, every step a change takes on its way to users: building, testing, releasing, running and watching it. Practices such as CI/CD (continuous integration and continuous delivery, which build and test every change automatically) make it real.

But DevOps hands you no exact rules: no single job title, team shape or reliability target. Many teams judge their delivery with the DORA metrics (from DevOps Research and Assessment), such as how often they deploy (put a new version live) and how often a deploy fails.

SRE: a job with numbers and rules

As lesson 1 showed, SRE began at Google in 2003, when software engineers were given the job of running production, the live systems users rely on. SRE names both a role and a method, and three things make it more specific than DevOps:

  • Explicit numbers. A service level objective (SLO) is an agreed reliability target, such as 99.9 percent of checkouts succeeding over 30 days. The gap to 100 percent is the error budget; when it runs low, releases slow down. Lesson 4 does the maths.
  • A cap on manual work. Google limits operational work, such as answering alerts and tickets, to half of each SRE's time, leaving the rest for engineering. Repetitive manual work, called toil, is the subject of the next lesson.
  • A narrow focus. The service in production must stay available, fast and correct for its users.

In the restaurant, the SLO is the pass mark and the error budget rule is the order to stop adding dishes. Both are agreed in advance, so "should we slow down?" becomes a reading of the score instead of an argument.

Where SRE and DevOps overlap

Most of the daily work is the same. In the Venn diagram, each circle holds what is particular to one of them, and the middle holds what both practise. Notice how crowded the middle is.

Venn diagram. The DevOps circle, broad culture and practices, holds the whole delivery pipeline, CI/CD and fast feedback, delivery metrics (DORA), and a culture rather than one job. The SRE circle, narrow and numeric, holds SLOs and error budgets, a cap on manual ops work, production reliability and a named engineering role. The shared middle lists automation, shared ownership, monitoring, blameless learning and small, safe changes. A note says SRE is one way to implement DevOps
The shared middle is the biggest part: SRE and DevOps agree on almost every habit.
  • Automation: software does repeatable steps, such as deploying, the same way every time.
  • Shared ownership: developers help run, and fix, what they build.
  • Monitoring: measuring the live service and alerting a person when something looks wrong (see Monitoring and Alerting Basics).
  • Blameless learning: after an incident, an unplanned problem that hurts users, asking what in the system let it happen, not who to punish.
  • Small, safe changes: shipping little and often, so each change is easy to check and quick to undo.

Where they differ

The difference is scope and precision. DevOps is broad about the delivery pipeline; SRE is narrow and numeric about production reliability. The table compares them on four points.

DevOpsSRE
FocusThe whole path from code to usersReliability of the live service
Key measuresDelivery metrics, such as deploy frequency and failed deploysSLOs, error budgets and time spent on toil
Who is on callThe team that built the serviceSREs, often sharing the rota with developers
How success is judgedChanges reach users quickly and rarely breakThe service meets its SLO, with manual work under the cap

Read it as typical, not as law: a DevOps team can set an SLO, and SREs often help build pipelines. What really differs is the starting question: "how do we deliver change well?" or "how reliable must this be?"

Google's Site Reliability Workbook puts it in programming terms: SRE is a class that implements the DevOps interface. An interface lists what something must do; a class is one concrete way of doing it. DevOps describes the goal, and SRE is one specific way to reach it: not a rival, and not the only way.

How teams mix them in practice

Many companies mix the two, and one question decides how: when a new service launches, who owns its reliability? The flowchart shows three common answers. From left to right, each brings more SRE help, so teams save the later branches for services that matter more.

Flowchart: a new service launches, then the question who owns reliability leads to three answers. Product team alone: you build it, you run it, using platform team tools, suits low-risk services. Shared with SRE: SREs embedded in the team share on-call and know-how, suits growing, busy services. SRE-supported: an SLO is agreed before handover and the pager can be handed back, suits critical services. A bar runs from less to more SRE involvement
Every branch names an owner; what changes is how much SRE help comes with it.

You build it, you run it. The product team, the developers who build the service, also answers its alerts. Werner Vogels, Amazon's chief technology officer, popularised the phrase in 2006. It works best with tools from a platform team, which provides ready-made pipelines, monitoring and servers that product teams use on their own.

Embedded SREs. One or two SREs join a product team for a while, work on its reliability, often share its on-call rota (the schedule of who answers alerts) and leave habits such as SLOs behind.

SRE-supported. A dedicated SRE team looks after the service, usually once it meets agreed standards and has an agreed SLO. At Google, if a service creates too much manual work, SREs can hand the pager, the duty of answering urgent alerts, back to its developers. A later lesson covers on-call.

All three are DevOps in spirit. And a team in the first branch can adopt SLOs too, without hiring anyone called an SRE.

Check yourself

A startup's developers ship small changes daily and answer their own service's alerts, but set no reliability target. Is that DevOps, SRE, or both?

DevOps: shared ownership and small changes are there. Without an SLO and a rule for when to slow down, it is not yet SRE.

Two teams automate their deploys and review incidents without blame. Team A also pauses feature releases when its error budget runs out. Which team is practising SRE?

Team A. Automation and blameless reviews are shared ground; an agreed number with a rule for acting on it is what makes SRE distinct.

A new internal tool for five colleagues is about to launch. Should a dedicated SRE team take it on?

Probably not. A small, low-risk service suits "you build it, you run it" on platform tools, because dedicated SRE time is scarce and goes to critical services with an agreed SLO.

Go deeper