DevOps and Reliability: From Commit to Production
The practices that carry a code change safely from a developer's commit to a running service, and the culture of shared ownership that keeps those services reliable.
Why DevOps exists
For much of the history of commercial software, the people who wrote code and the people who ran it worked in separate departments with opposing incentives. Developers were rewarded for shipping features; operations staff were rewarded for stability, which made every change look like a threat. Releases were large, infrequent and stressful, and outages turned into arguments about whose fault they were. DevOps emerged in the late 2000s as a response to that divide. It is less a job title or a product than a set of practices and values aimed at making software delivery frequent, routine and safe, with shared responsibility for what happens in production.
The name is usually traced to the Belgian consultant Patrick Debois, who organized the first DevOpsDays conference in Ghent in 2009, the same year Flickr engineers John Allspaw and Paul Hammond gave a widely cited talk at the O'Reilly Velocity conference about deploying to production more than ten times a day. The movement drew on older ideas: agile software development, the long tradition of automation among systems administrators and the emphasis of lean manufacturing on flow and waste. A common summary of its values is CALMS: culture, automation, lean, measurement and sharing.
From commit to production
The backbone of DevOps practice is the delivery pipeline. Everything starts in version control, usually Git, where every change to code, configuration and documentation is recorded and reviewed. Continuous integration means merging those changes into a shared main branch frequently, at least daily, with each merge triggering an automated build and test run. The practice was popularized by Extreme Programming, the agile method developed by Kent Beck in the late 1990s, and by an influential essay from Martin Fowler. Its purpose is to surface conflicts and defects while they are small and cheap to fix.
Continuous delivery, the subject of a 2010 book by Jez Humble and David Farley, extends the idea so that every change that passes the pipeline is in a releasable state; continuous deployment goes one step further and releases it automatically. A typical CI/CD pipeline compiles the code, runs unit and integration tests, scans dependencies for known vulnerabilities, builds an artifact such as a container image and promotes it through test and staging environments. Small, frequent releases are easier to understand, test and roll back than large ones, which is why speed and stability turn out to be allies rather than opposites.
Infrastructure as code
Servers used to be configured by hand, which produced unique, fragile machines that nobody could rebuild with confidence. Infrastructure as code replaces those manual steps with machine-readable definitions kept in version control. Configuration management tools such as Puppet, Chef and Ansible describe the desired state of a machine (packages installed, files present, services running), while provisioning tools such as Terraform describe networks, virtual machines and managed cloud services. A well-written definition is idempotent: applying it twice produces the same result as applying it once, so it can be run repeatedly without fear.
Because infrastructure becomes text, it gains what software engineering already offers: review, history, testing and repeatable builds. The idea extends naturally to immutable infrastructure, in which servers are never patched in place but replaced with freshly built ones, and to GitOps, in which a Git repository is the single source of truth and automated agents continuously reconcile running systems with it. Licensing matters here too: when HashiCorp moved Terraform to a source-available license in 2023, community members forked the last open version as OpenTofu, which is hosted by the Linux Foundation.
Containers and orchestration
A container packages an application with its libraries and runtime configuration while sharing the host's operating system kernel, which makes it far lighter than a full virtual machine. Linux had the building blocks, namespaces and control groups, for years, but Docker, released in 2013 as a project led by Solomon Hykes at the company then called dotCloud, made them easy to use with a simple image format and command-line workflow. An image built once on a laptop runs the same way on a test server and in production, removing a large class of failures that only appear on one machine.
Running hundreds of containers across many machines requires orchestration: scheduling workloads onto nodes, restarting failed processes, scaling replicas and routing traffic. Kubernetes, released by Google in 2014 and informed by its internal Borg system, became the dominant orchestrator after it was donated to the Cloud Native Computing Foundation in 2015. Kubernetes is powerful but complex, and that complexity is one reason for the growth of platform engineering, in which an internal team builds paved roads so that product developers do not have to master every layer themselves.
Seeing inside running systems
Once software is running, teams need to know what it is doing. Observability, a term borrowed from control theory, describes how well a system's internal state can be inferred from its outputs. In practice it rests on three kinds of telemetry: metrics (numeric time series such as request rates and error counts), logs (timestamped records of discrete events) and traces (the path of a single request through many services). Open-source tools such as Prometheus, which originated at SoundCloud, and the dashboard tool Grafana are widely used, and the OpenTelemetry project provides vendor-neutral standards for collecting telemetry.
Good monitoring alerts on symptoms that users experience, such as slow pages or failed payments, rather than on every internal anomaly. An alert that fires constantly trains people to ignore it, so teams tune alerts to be actionable and route them to whoever can act. The aim is to shorten the time needed to detect a problem and the time needed to restore service, two numbers that matter more to users than the theoretical uptime of any single component.
Site reliability engineering
Site reliability engineering (SRE) developed at Google in parallel with the DevOps movement. Ben Treynor Sloss founded the discipline there in 2003 by giving software engineers responsibility for operations, and the 2016 book "Site Reliability Engineering" made its practices widely known. Where DevOps is a broad cultural movement, SRE is a specific implementation with defined roles, a cap on repetitive manual work (known as toil) and a quantitative approach to reliability. Many people describe SRE as one concrete way of putting DevOps principles into practice.
The core of that approach is the service level objective. A team chooses service level indicators, such as the fraction of requests served successfully within 300 milliseconds, and sets a target, such as 99.9 percent over 30 days. The gap between the target and perfection is the error budget: 99.9 percent leaves about 43 minutes of failure in a 30-day month. While budget remains, teams ship freely; when it is spent, they slow releases and invest in reliability. The budget turns an emotional argument about risk into a shared, measurable decision, and it acknowledges that 100 percent reliability is neither achievable nor worth its cost.
Releasing safely and learning from failure
Even with thorough tests, some defects only appear under real traffic, so mature teams limit the blast radius of each change. Several techniques make releases reversible and gradual, and they are most effective when tied to the monitoring described above, so that a bad change is caught by its effect on users within minutes rather than hours and can be reversed before most users ever notice it.
- Blue-green deployment keeps two production environments and switches traffic between them, so rollback is a single switch.
- A canary release sends a small share of traffic to the new version first and widens exposure only if metrics stay healthy.
- Feature flags separate deploying code from releasing a feature, so a feature can be turned off without a redeploy.
- Automated rollback reverts a change when error rates or latency cross an agreed threshold.
Blameless culture and its limits
When something does fail, a blameless postmortem treats the incident as a chance to learn. Engineers write up what happened, how it was detected, what made it worse and what will change, without assigning personal blame. The reasoning comes from safety science in aviation and medicine: people who fear punishment hide information, and failures in complex systems almost always involve several contributing conditions rather than one careless person. Research by the DevOps Research and Assessment (DORA) program, summarized in the 2018 book "Accelerate" by Nicole Forsgren, Jez Humble and Gene Kim, found that high-performing teams tended to be both faster and more stable.
DevOps also has failure modes. Renaming an operations team without changing incentives achieves little, tools can multiply faster than understanding and metrics can be gamed once they become targets. Security has to be built into the pipeline rather than added at the end, a concern captured by the term DevSecOps. Organizational structure matters as well, since systems tend to mirror the communication patterns of the teams that build them. The entries linked throughout this guide explain each practice in depth, and a small pipeline deploying a container to a home server is a practical place to start experimenting.
Key takeaways
- DevOps is a set of practices and values that gives developers and operators shared responsibility for delivering and running software.
- Continuous integration and continuous delivery make releases small, frequent and automated, which improves both speed and stability.
- Infrastructure as code, containers and orchestration make environments reproducible and recoverable rather than hand-built.
- Site reliability engineering expresses reliability as service level objectives, with error budgets that balance new features against stability.
- Blameless postmortems and gradual release techniques turn failures into learning instead of blame.
Further reading in the atlas
Cloud Native Computing Foundation
Linux Foundation organization that hosts Kubernetes and other cloud native open-source projects and promotes their adoption.
Orchestration
Automated coordination of multiple services, containers or tasks, handling deployment, scaling, networking and recovery so systems run reliably.
Conway's Law
Observation that organizations design systems whose structure mirrors their own communication structure, formulated by Melvin Conway in the late 1960s.
DevSecOps
Extension of DevOps that integrates security practices and automated security testing throughout the software development and delivery life cycle.
Platform Engineering
Discipline of building and running internal self-service platforms that give software teams standardized tools, infrastructure and workflows.
Immutable Infrastructure
Approach in which servers and other components are never modified after deployment; changes are made by replacing them with freshly built versions.
OpenTofu
Open-source infrastructure-as-code tool forked from Terraform in 2023 after HashiCorp moved Terraform to a source-available license.
Solomon Hykes
Software engineer and entrepreneur who created Docker, the tool that popularized software containers, and later co-founded the company Dagger.
Grafana
Open-source dashboard and visualization platform that queries metrics, logs and traces from many data sources and displays them as interactive panels.
Blue-Green Deployment
Release technique that runs two identical production environments and switches user traffic from the old version to the new one in a single step.
Git
Free and open-source distributed version control system created by Linus Torvalds in 2005, used to track changes in source code.
Secrets Management
Tools and practices for securely storing, distributing, rotating and auditing credentials such as passwords, API keys, tokens and encryption keys.
More guides
All guidesA homelab is a small personal infrastructure for learning and self-hosting. Planning it around clear goals keeps it useful, affordable, quiet and safe.
What AI is and is not, how systems learn from data, how large language models are trained and run, where they fail and why their safety is debated.
Every program begins as a problem and an algorithm, then passes through languages, tools, tests, reviews and years of maintenance. This guide traces that path and the ideas that hold it together.