Step 19 of 36 · Operations
Change management and safe deploys
Most outages follow a change. Make change safer with small batches, gradual rollout and fast rollback.
Changes cause most incidents, so the instinct after a bad one is to add approvals and freezes. It feels safe and makes things worse. Approval boards far from the code cannot judge it, changes pile up into larger, riskier releases, and urgent fixes go around the process.
Safety comes from the mechanics of the change. Small changes, reviewed by a peer who knows the code. Automated tests. Rollout in stages, a small slice of traffic first, compared automatically with the old version. A rollback that is quick and practised. Configuration and data changes get the same care as code, since they cause as many outages.
You decide where to invest and what to require by service tier. Push for a paved deployment path that makes the safe way the default.
Try this week
- Review the last ten change-related incidents and note for each whether staged rollout or fast rollback would have limited it.
- Time a rollback on one critical service. If it takes longer than detection, make that the next piece of work.
Signs you've got it
- Teams deploy more often and change-related incidents do not rise.
- No critical service depends on a manual approval meeting to release.
Resources
- guideStreamlining change approval (opens in a new tab)DORA
- articleAutomating safe, hands-off deployments (opens in a new tab)Clare Liguori
- bookCanarying Releases (The Site Reliability Workbook) (opens in a new tab)Alec Warner and Štěpán Davidovič
- bookAccelerate: The Science of Lean Software and DevOps (opens in a new tab)Nicole Forsgren, Jez Humble and Gene Kim
- articleDeploys: It's Not Actually About Fridays (opens in a new tab)Charity Majors