DevOps & SRE (overview)
Culture, automation, and reliability โ how teams ship often and keep systems stable. The philosophical foundation every DevOps engineer needs.
DevOps & SRE (overview)
Culture, automation, and reliability โ how teams ship often and keep systems stable. The philosophical foundation every DevOps engineer needs.
What you'll learn
- DevOps is a culture and system of work โ it reduces the time from code commit to production while keeping the system stable.
- The Three Ways: flow (left to right), feedback (right to left), and continual learning.
- SRE implements DevOps with specific practices: SLIs, SLOs, error budgets, toil reduction, and blameless postmortems.
- DORA metrics are the scoreboard: deployment frequency, lead time, change failure rate, MTTR.
- Elite teams deploy frequently AND have low failure rates โ speed and stability are not a trade-off.
- Heroes are a system failure. Capture hero knowledge in automation, runbooks, and pipelines.
Lesson outline
What is DevOps?
DevOps is the outcome of applying Lean manufacturing principles to the technology value stream. It is not a job title, a tool, or a team โ it is a culture and a set of practices that bring development and operations together so that small changes can be shipped safely and often.
The Three Ways (The DevOps Handbook)
The First Way: optimize for fast flow of work from Dev to Ops to the customer (left to right). The Second Way: amplify feedback loops from right to left so problems are caught early. The Third Way: foster a culture of continual experimentation and learning โ blameless postmortems, psychological safety, and deliberate practice.
The five ideals of DevOps (The Unicorn Project)
- Locality & Simplicity โ Teams can build, test, and deploy without depending on dozens of other teams.
- Focus, Flow & Joy โ Work is visible, uninterrupted, and moves smoothly through the system.
- Improvement of Daily Work โ Teams invest time in reducing technical debt and toil, not just shipping features.
- Psychological Safety โ People can raise problems without fear of blame โ the system is interrogated, not the person.
- Customer Focus โ Every internal process exists to serve the external customer, not internal convenience.
The goal: shorten the feedback loop from code commit to production, make releases boring and routine, and give developers ownership of reliability.
DevOps
Culture + practices: dev and ops together. Ship small changes often. Automate CI/CD and IaC. Share responsibility for reliability.
SRE
Apply software engineering to ops. Focus on reliability (SLIs, SLOs, error budget), automation, and measurable outcomes. Build tooling; run incidents.
Together
DevOps = how teams work and what they automate. SRE = how you define and achieve reliability. Many teams use both: DevOps for delivery, SRE for reliability.
Shared ideas: automation over manual work, metrics and observability, blameless postmortems, continuous improvement.
What is SRE?
SRE (Site Reliability Engineering) is Google's answer to a specific question: what does it look like when a software engineer runs operations? SREs apply software engineering principles to infrastructure and operations โ they write code to eliminate toil, define reliability mathematically with SLOs, and use error budgets to make data-driven release decisions.
Core SRE concepts
- SLI (Service Level Indicator) โ A metric that measures reliability โ e.g. request success rate, latency at p99, error rate.
- SLO (Service Level Objective) โ The target value for an SLI โ e.g. "99.9% of requests succeed over a rolling 28-day window."
- Error Budget โ The allowed amount of unreliability: 99.9% SLO = 0.1% error budget = ~43 min/month downtime allowed.
- Toil โ Manual, repetitive, automatable work that scales linearly with service growth. SREs aim to keep toil below 50% of their time.
- Blameless Postmortem โ After an incident, document what happened, why, and what systemic changes prevent recurrence โ without blaming individuals.
SREs are often the bridge between product and infra: they push back on releases when error budget is low, and they earn back that budget by improving reliability.
DevOps vs SRE: how they relate
DevOps and SRE are not competitors โ they operate at different levels of abstraction. DevOps is the philosophy (culture, collaboration, automation). SRE is a concrete implementation of that philosophy with specific practices, metrics, and roles.
Class SRE Implements DevOps
The Google SRE book says it directly: "SRE is what happens when you ask a software engineer to design an operations function." DevOps says "collaborate and automate." SRE says "here is exactly how: SLOs, error budgets, toil reduction, blameless postmortems."
Shared DNA: both emphasize automation over manual work, observability and metrics, continuous improvement, and small-batch changes. The difference is that SRE is more prescriptive and measurement-driven.
DORA metrics: measuring DevOps performance
The DevOps Research and Assessment (DORA) program measured thousands of engineering teams and identified four metrics that predict both software delivery performance and organizational outcomes.
The four DORA metrics
- Deployment Frequency โ How often you deploy to production. Elite: multiple times per day. Low: less than once per month.
- Lead Time for Changes โ Time from code commit to running in production. Elite: less than one hour. Low: 1-6 months.
- Change Failure Rate โ Percentage of deployments that cause an incident. Elite: 0-15%. Low: 46-60%.
- Mean Time to Recovery (MTTR) โ How long to restore service after an incident. Elite: less than one hour. Low: 1 week to 1 month.
Elite performers deploy on-demand and recover in minutes. Low performers deploy infrequently and take days to recover. The research shows these are not trade-offs โ elite teams have both high frequency AND low failure rates. Speed and stability improve together when you invest in the right practices.
The path from hero to system
The most dangerous anti-pattern in DevOps is the hero: one engineer who knows everything, fixes everything, and is always on-call. Books like The Phoenix Project and The DevOps Handbook name this pattern explicitly โ it feels heroic but it is a system failure.
Heroes create single points of failure. Their knowledge is not documented. When they leave, the team is helpless. When they are on vacation, incidents escalate. The DevOps transformation is the process of capturing hero knowledge in code, pipelines, runbooks, and automation โ so the system runs reliably without any individual being indispensable.
If you are the hero, you have a problem
If production only works because you personally know the right sequence of manual steps โ that is not a badge of honor. It is technical debt. Every hero moment is an opportunity to write a runbook, a script, or an alert rule that makes the next incident self-service.
How this might come up in interviews
Interviewers for DevOps and SRE roles want to know if you understand the philosophy, not just the tools. Be ready to explain what an error budget is and how you would use it to make a release decision. Know the four DORA metrics by name and be able to describe what elite performance looks like. Have a story about a time you reduced toil through automation. If asked about incident response, emphasize blameless postmortems and systemic fixes over individual accountability.
Quick check ยท DevOps & SRE (overview)
1 / 4
A team has a 99.9% SLO for their API. In the past 28 days, they have used 80% of their error budget. A product manager wants to deploy a high-risk feature. What should the SRE recommend?
Key takeaways
- DevOps is a culture and system of work โ it reduces the time from code commit to production while keeping the system stable.
- The Three Ways: flow (left to right), feedback (right to left), and continual learning.
- SRE implements DevOps with specific practices: SLIs, SLOs, error budgets, toil reduction, and blameless postmortems.
- DORA metrics are the scoreboard: deployment frequency, lead time, change failure rate, MTTR.
- Elite teams deploy frequently AND have low failure rates โ speed and stability are not a trade-off.
- Heroes are a system failure. Capture hero knowledge in automation, runbooks, and pipelines.
From the books
The DevOps Handbook
Part I
DevOps is the outcome of applying lean principles to the technology value stream: flow, feedback, and continuous learning. Small batches and automation reduce lead time and improve quality.
Site Reliability Engineering
Chapter 1
SRE is what happens when you ask a software engineer to design an operations function. The result is a discipline focused on reliability as a feature, measured quantitatively with SLOs and error budgets.
The Phoenix Project
Part II
Brent is the hero who touches every critical system. Every task that requires Brent is a bottleneck. The transformation begins when the team stops relying on Brent and starts documenting, automating, and distributing his knowledge.
๐ก Analogy
DevOps is like a car factory's production line. Before lean manufacturing, each worker built their section and threw the car to the next person. Quality problems were discovered at the end, rework was expensive, and output was slow. Lean manufacturing changed this: workers could stop the line the moment they detected a defect (andon cord). Problems were fixed immediately, quality improved, and throughput went up. DevOps applies this to software: every commit is a unit moving down the line, automated tests are quality checks, and the CI/CD pipeline is the production line. When a test fails, the line stops โ not to blame anyone, but to fix the defect before it reaches the customer.
โก Core Idea
DevOps is not a tool or a team โ it is a system of work. The goal is to reduce the time from idea to validated learning in production, while keeping the system stable. SRE provides the measurement framework: SLOs tell you what stable means, error budgets tell you how much risk you can take, and DORA metrics tell you if you are improving.
๐ฏ Why It Matters
Most outages are not caused by bad engineers โ they are caused by bad systems. Long release cycles force big risky deployments. Manual processes introduce inconsistency. Lack of observability means problems fester silently. DevOps and SRE practices fix the system: small deployments are safer, automation is consistent, and observability surfaces problems before they become incidents. The payoff is teams that ship fast AND sleep well.
Related concepts
Explore topics that connect to this one.
Interview prep: 1 resource
Use these to reinforce this concept for interviews.
View all interview resources โReady to see how this works in the cloud?
Switch to Career Paths for structured paths (e.g. Developer, DevOps) and provider-specific lessons.
View role-based pathsSign in to track your progress and mark lessons complete.
Discussion
Questions? Discuss in the community or start a thread below.
Join DiscordIn-app Q&A
Sign in to start or join a thread.