Course contents · Lesson 17 of 19

Change Management for SREs: Ship Safely, Not Slowly

Safe Change · Lesson 17 of 19 · 10 min Engineer

It is 10:07 on a Tuesday and an alert fires: checkout errors have jumped to 5 percent. Since breakfast, your team has made a dozen changes: deploys, a feature flag, config edits. Which one broke checkout, and could it have been caught before every user felt it? This lesson covers change management for SREs: how to sort changes by risk, roll them out so mistakes stay small, time them around busy periods and record them so the cause is quick to find.

Why changes need managing

A change is anything that modifies a live system: a code deploy, a configuration edit, a feature flag flip, a database update or new infrastructure. Change management is the practice of planning, approving, rolling out and recording changes so they rarely hurt users, and so the ones that do are quick to find and undo.

It matters because changes cause most outages. Google's SRE book reports that roughly 70 percent of outages come from changes to a live system. Its answer is not fewer changes but automation for three jobs: rolling out gradually, spotting problems quickly and accurately, and rolling back safely.

Slowing down does not buy safety. The DORA research programme, summarised in the book Accelerate (2018), found that approval by an outside body, such as a change advisory board (CAB), a group that meets to approve changes, went with slower delivery and no fewer failed changes. Waiting also bundles many changes into one big, risky release.

Small, gradual and reversible

SRE teams make changes safer with four habits that work together:

  • Small and frequent. A change of a few lines is easier to review, affects less and points straight at the cause if it fails.
  • Automated checks. Every change passes tests in a pipeline, the automated build and test steps, before it ships (see Automated Testing in CI Pipelines).
  • Progressive rollout. The change reaches a few servers or users first, as in a canary release, then widens while metrics stay healthy. That keeps the blast radius, how much a failure can hurt (lesson 16), small.
  • Quick rollback. Undoing takes minutes and no meeting: redeploy the last good version or switch a flag off (see Safe Releases).

Skipping a habit can be costly. In July 2024, a faulty configuration update from the security company CrowdStrike reached millions of Windows computers at once and crashed them. Its published fixes included rolling such updates out in stages.

Match the approval to the risk

Not every change needs the same scrutiny. Many teams borrow three change types from ITIL, a widely used set of IT service management practices:

  • Standard change: low risk and done often in the same tested way, so it is pre-approved, such as adding one server to a pool. Automated checks are its only gate.
  • Normal change: anything else. A person approves it first, usually through peer review: another engineer reads the pull request, the proposed change in Git, and approves it.
  • Emergency change: needed now to stop or prevent an incident, such as an urgent security patch. A named person, often whoever leads the response, gives a quick OK, and a full review follows.

In the flowchart, notice that all three paths meet at the same gradual deploy and the same check of the SLIs, the measurements of what users get. The risk level decides how much checking happens before the deploy, not whether the deploy is watched.

Flowchart. A change is proposed, such as a pull request, config edit or migration. Risk level? Low: standard, pre-approved, automated checks only. Medium: normal, peer review plus checks, a person approves first. Urgent: emergency, needed now to prevent harm, quick OK and review after. All three paths lead to deploy gradually, a small share first and faster in emergencies. Then: SLIs healthy? Yes: done, keep the record of who, what, when and how to undo. No: roll back to the last good version
Approval effort changes with risk, but every path is rolled out gradually and watched.

Tools can enforce peer review. On GitHub, a protected branch, a branch with merge rules, can require approving reviews and passing status checks, the automated tests that report back on a pull request, before anything merges. A change earns standard status by its track record: after many clean runs of the same automated change, the team agrees to pre-approve it.

Many teams pre-approve rolling back to the last good version too, so the on-call engineer never waits for permission to undo harm.

The table shows where three common changes often land. Notice that a schema migration rates higher than a whole new service: data is hard to put back, while a new service has no users yet and can start small.

Table of examples, each team sets its own ratings. Config tweak, such as one timeout: low risk, standard and pre-approved; checks are automated validation and tests, a staged rollout and a one-step undo. Schema migration, add or change a table: high risk, normal with peer review, done off-peak; checks are a fresh backup, a test on a copy, and old code that still works after it. New service, first launch to users: medium risk, normal plus a launch review; checks are SLOs, dashboards and alerts ready, a load test, then gradual traffic. Footer: a tweak pushed everywhere at once is risky too
Checks grow with how hard a change is to undo, not with how much code it touches.

Calendars, freezes and the error budget

A change calendar is a shared schedule of planned changes and blocked periods. It keeps two risky changes from landing in the same hour, so if something breaks you know which one did.

A change freeze is a period when only emergency and security changes ship, usually around peaks such as the sale day from lesson 10. Kubernetes has a code freeze before each release, when new work needs special approval to join it.

Freezes have a cost: changes pile up, and the first deploy afterwards is bigger. Keep them short, let rollbacks and security fixes through, and release the backlog in small steps.

The rest of the time, the error budget sets the pace. As lesson 6 showed, a policy ladder ships normally with plenty of budget, allows only low-risk changes with extra review when it runs low, and freezes features when it is gone.

Record every change, then use the record

A change record says who changed what, where, when and how to undo it, with a link to the pull request. Deploy tools, Git and flag services keep most of this automatically. The habit is to gather it in one place the on-call engineer can search, such as a deploy chat channel or deploy markers, lines on dashboard graphs at the moment of each deploy.

In the timeline, notice that the log shows one checkout change, five minutes before the alert. The on-call engineer rolls it back first and investigates later, as in incident response basics.

Illustrative timeline of checkout's error rate from 09:55 to 10:20. It stays near zero until a deploy of checkout 4.22 at 10:02, climbs to about 5 percent, and an alert fires at 10:07, five minutes later. After a rollback at 10:11 it is back to normal by 10:14. Below, the change log's last three entries: 09:31 ana rotates a payments API key, 09:56 maya turns on the search-v2 flag for 5 percent, and 10:02 dev deploys checkout 4.22, highlighted. A note says at 10:09 the on-call engineer reads the log, sees the only checkout change 5 minutes before the alert, and rolls back first, investigating afterwards
The log turns "what changed?" from a hunt into a lookup.

Git keeps a change record for code. Inside any Git repository on your machine, this prints the last three commits with their short ID, date, author and message, newest first:

git log -3 --date=iso --format="%h %ad %an: %s"

You should see something like this, with your own commits:

9c41e2a 2026-12-01 10:02:15 +0530 Dev Patel: Retry payment calls twice
5be07d3 2026-11-30 17:45:02 +0530 Maya Rao: Add search-v2 flag
e18a6f4 2026-11-30 11:20:39 +0530 Ana Silva: Rotate payments API key

If you see fatal: not a git repository, you are outside a repository: change into one first. Records also feed postmortems, and the change failure rate, the share of changes that cause a failure in production, shows whether your process is working.

Check yourself

A manager wants every change, even adding a routine server, approved at a weekly board meeting. What is likely to happen?

Changes wait and bundle into bigger, riskier releases, with no fewer failures. Pre-approving routine automated changes as standard keeps review time for the risky ones.

An alert fires at 14:20. The change log shows a config push to every server at 14:15 and a schema migration at 11:00. Which do you roll back first, and why?

The 14:15 config push: it is closest in time, touched every server and is quick to undo. If errors stop, you have found the change, without risking the harder migration rollback.

A change freeze starts tomorrow for the yearly sale. A small, tested fix for a security hole is ready. Should it wait?

No. Security fixes are usually allowed through a freeze, because the open hole is the bigger risk. Ship it with a gradual rollout and a rollback ready.

Go deeper