Incident Response and Postmortems: Run the Outage, Then Learn From It
At 10:04 a burn-rate page fires: checkout errors at 30%. Within six minutes there are eleven engineers in the call. Three of them are reading logs, two are arguing about whether the database is the problem, one is restarting pods to see if that helps, and nobody has told support, who are now fielding 400 tickets. At 10:31 someone asks, “Did anything deploy this morning?” A config change went out at 10:01. It is reverted at 10:36 and errors stop at 10:38.
Thirty-six minutes of outage, of which about thirty were spent without anyone in charge. The fix was the first thing anyone should have tried. The next week the postmortem names “the engineer who pushed the config” as root cause, and the same class of change breaks checkout again two months later.
Both failures are process failures, and both have well known fixes: a structured way to run the incident, and a blameless way to learn from it.
What it is
An incident is an unplanned event that degrades a service for users, or threatens to, and needs a coordinated response. Incident response is the process for restoring service quickly and safely. A postmortem (also called an incident review or post-incident review) is the written analysis afterwards that explains what happened, why the system allowed it, and what will change.
The goal of response is restoring service, not finding the root cause. The goal of the postmortem is learning, not assigning blame.
How it works
Severity levels
Severity decides who gets pulled in, how fast and how loudly you communicate. Define it by user impact, write it down, and let anyone declare it.
| Severity | Definition (example) | Response |
|---|---|---|
| SEV1 | Critical journey down or data loss/corruption for many users; SLA at risk | Incident commander, all roles, exec notified, public status page within 15 min |
| SEV2 | Major degradation or a large subset of users affected | Incident commander and ops lead, status page if customer visible |
| SEV3 | Minor degradation, workaround exists, small user subset | Owning team handles in hours, internal channel |
| SEV4 | No current user impact, risk found | Ticket |
Two rules make severity work. Declaring is cheap: when in doubt, declare higher and downgrade later. And severity can change during the incident as you learn more.
Roles, borrowed from the Incident Command System
The Incident Command System (ICS) was developed for wildfire response in the US in the 1970s, and many software organisations, including Google with its incident management process, adapted it. The core idea: separate the people who coordinate from the people who fix.
flowchart TD IC["Incident commander<br/>owns decisions and priorities"] --> OPS["Ops lead<br/>directs the hands-on fix"] IC --> COMMS["Communications lead<br/>status page, support, execs"] IC --> SCRIBE["Scribe / planning<br/>timeline, action items, handoffs"] OPS --> E1["Responder<br/>rollback"] OPS --> E2["Responder<br/>database"] OPS --> E3["Responder<br/>vendor contact"] style IC fill:#EEEDFE,stroke:#534AB7,color:#3C3489 style OPS fill:#E1F5EE,stroke:#0F6E56,color:#085041 style COMMS fill:#FAEEDA,stroke:#854F0B,color:#633806 style SCRIBE fill:#F1EFE8,stroke:#888780,color:#444441
- Incident commander (IC): holds the big picture, sets priorities (“mitigate first, we diagnose after”), assigns work, decides on risky actions, and keeps everyone else out of the way. The IC does not debug. In a small incident the first on-call is IC until they hand off.
- Ops lead: the only person directing changes to production. Prevents three people restarting things at once.
- Communications lead: writes status page updates, briefs support and leadership, so the IC is not interrupted every five minutes with “any update?”.
- Scribe: keeps the timeline: what was seen, decided and done, with timestamps. This makes the postmortem cheap and accurate.
Handoffs are explicit: “I am handing IC to Priya, she has the timeline.” Incidents over a few hours need shift changes too; tired responders make worse decisions.
Mitigate first, diagnose later
During an incident, a reversible action that probably restores service beats a correct diagnosis that takes an hour. The standard first moves, in roughly this order:
- What changed? Look at deploys, config changes, feature flag flips and infrastructure changes in the last hour. Change is the most common trigger of outages.
- Roll back the suspect change. Rollback should be a one-click, rehearsed operation, which is a deployment strategy concern, not an incident-time improvisation.
- Turn it off: disable the feature flag or kill switch for the new code path.
- Shift traffic: drain the bad zone, region or cell and send traffic elsewhere. Cell-based architecture exists largely to make this possible.
- Shed load or degrade: drop non-critical traffic, serve stale cache, turn off expensive features. See load shedding and backpressure.
- Scale out if it is a genuine capacity problem, and only after confirming more capacity will not just feed a retry storm.
Collect evidence before destructive actions if it costs seconds (a heap dump, a copy of the bad config), but do not delay mitigation for it.
stateDiagram-v2 [*] --> Detected: alert or report Detected --> Triage: on-call acks Triage --> Mitigating: severity declared, IC assigned Mitigating --> Monitoring: impact stopped Monitoring --> Mitigating: impact returns Monitoring --> Resolved: stable for agreed period Resolved --> Postmortem: within 5 business days Postmortem --> [*]: action items tracked
Customer communication and status pages
Users forgive outages more readily than silence. The communications lead posts on the status page early, even with little information, and updates on a fixed cadence (every 30 minutes for a SEV1 is a common choice) even when nothing has changed.
A good update says what users are experiencing in their terms, what you are doing, and when the next update will come. It does not speculate on root cause. “Some customers are seeing errors when paying by card. We have identified a recent change as the likely cause and are reverting it. Next update by 10:45 UTC.”
Host the status page on infrastructure that does not share fate with the product. In the Google Cloud outage of June 2025, Google’s own report notes the first status update came about an hour late partly because the status dashboard was affected by the same failure.
Timeline keeping
The scribe writes every observation and action in a shared doc or the incident channel with a UTC timestamp. Tools like incident.io, PagerDuty, Rootly and FireHydrant capture Slack messages into a timeline automatically, but a human still needs to mark the important moments: impact start, detection, IC declared, mitigation applied, impact end. Those give you the metrics that matter for improvement: time to detect, time to mitigate, time to resolve.
Blameless postmortems
A blameless postmortem assumes everyone acted reasonably given what they knew at the time, and asks why the system made the harmful action easy and the safe one hard. This is not about being nice. If people expect blame, they hide information, and you lose exactly the details you need. “Engineer X pushed a bad config” is a description, not an explanation; the useful questions are why the config could take down checkout, why it was not canaried, and why validation allowed a 20 s timeout on a path with a 3 s budget.
A postmortem template:
Title, date, severity, authors, status (draft / reviewed / closed)
Summary 2 to 3 sentences anyone in the company can read
Impact who was affected, how, for how long; numbers (requests, users,
revenue, error budget consumed)
Detection how we found out, time to detect, did alerting work
Timeline UTC timestamps from trigger to resolution
Contributing factors
technical and organisational conditions that combined
What went well keep doing this
What went poorly including process, tools, communication
Where we got lucky conditions that limited the damage this time
Action items each with owner, priority, ticket link, due date
Lessons what we now believe that we did not before
Contributing factors, not a single root cause
Complex systems rarely fail for one reason. The config change above needed several conditions at once: a timeout setting with no validation against the request budget, config changes that skip canary, a thread pool shared by all providers so one slow dependency exhausted it, and no circuit breaker on the provider client. Remove any one and the incident is much smaller or does not happen. Naming a single “root cause” tends to stop the analysis at the most recent human action. Listing contributing factors leads to fixes at several layers.
Techniques like “five whys” help if you branch at each step rather than following a single chain.
Action item follow-through
Postmortems fail quietly when action items are not done. Practices that help:
- Every action item has an owner, a priority and a ticket in the normal backlog, not just a line in a doc.
- Prefer items that change the system (validation, guardrails, automation, architecture) over items that ask people to be more careful.
- Track completion rate for high priority postmortem items as a reliability metric, reviewed monthly.
- Tie it to the error budget policy: when a budget is exhausted, the top postmortem items take priority over features.
- Hold a regular postmortem review meeting where others can read and question them; the learning spreads beyond the team.
Learning from public postmortems
Public incident reports from large providers are free lessons. Five worth knowing:
GitLab, 31 January 2017. While fighting replication lag caused by spam load, an engineer ran a directory deletion on the primary database host, believing it was the secondary. Recovery came from a staging snapshot about six hours old, so roughly six hours of database changes were lost, and it emerged that the regular pg_dump backups had been failing silently. GitLab livestreamed the recovery and published a detailed postmortem. Lessons: test restores, not backups; make production hosts visually unmistakable; replication is not backup (see disaster recovery).
Cloudflare, 2 July 2019. A new WAF managed rule containing a regular expression with catastrophic backtracking was deployed globally at once and drove CPU to 100% on machines handling HTTP traffic worldwide, causing about 27 minutes of errors. Cloudflare stopped it with a global kill of the WAF managed rules. Lessons: staged rollout for configuration and rules, not only code; bounded execution for user-influenced computation; a kill switch you can reach when your own tools are degraded.
CrowdStrike, 19 July 2024. A content update (Channel File 291) for the Falcon sensor on Windows triggered an out-of-bounds memory read: the template defined 21 input fields while the sensor code supplied 20. Windows hosts crashed into a boot loop; Microsoft estimated about 8.5 million devices were affected. The update was reverted in about 80 minutes, but many machines needed hands-on recovery, often complicated by BitLocker keys. Lessons: content and config updates need the same staged deployment and validation as code, and recovery that requires physical access scales very badly.
AWS us-east-1, 19 to 20 October 2025. A latent race condition in DynamoDB’s automated DNS management left the regional DynamoDB endpoint with an empty DNS record. DynamoDB in the region was unreachable for about three hours, and because many AWS services depend on DynamoDB, EC2 launches, load balancer health checks and other services stayed degraded until the afternoon of 20 October. AWS disabled the DNS automation worldwide pending fixes. Lessons: automation that changes critical state needs safeguards against concurrent or stale actors (the same idea as fencing tokens); and the dependency graph of your provider is part of your own architecture, a point developed in multi-region architecture.
Google Cloud, 12 June 2025. A policy change with unexpected blank fields was written to the Spanner tables that Service Control (the API management layer) reads. It replicated globally within seconds and hit a new code path with no null handling and no feature flag, crashing Service Control everywhere and failing API requests across many Google Cloud products for hours. The largest region recovered more slowly because restarting tasks overloaded the underlying database without randomized backoff. Lessons: feature flag new code paths, validate globally replicated config, use exponential backoff with jitter on restart, and keep the status page independent.
The common thread across all five: a global, fast, unstaged change to configuration or data, with no small blast radius to catch it first.
Where it breaks
No one in charge. The most common failure. Fix it by making the first on-call IC by default and handing off explicitly.
Debugging instead of mitigating. Fascinating root causes are tempting. The IC’s job is to ask “what can we try that is reversible?” every few minutes.
Too many people. Twenty engineers in a call slow it down. The ops lead pulls in specific people for specific tasks.
Hero culture. Celebrating the person who stayed up all night rewards the failure mode. Celebrate short incidents and boring recoveries.
Status page silence. Waiting for certainty before communicating. Post early, update on a schedule.
Postmortems as paperwork. Written, filed, never read, action items never done. Track completion and review postmortems in public.
Blame by another name. “Human error” as a root cause is blame. Ask what made the error possible and what would have caught it.
How to apply it
A minimal incident program for a growing team:
- Write severity definitions in user-impact terms and publish them.
- Name the roles and train everyone who goes on call to be IC at least once in a game day.
- Keep an incident channel template: auto-created channel, pinned roles, timeline doc, status page link.
- Make rollback and feature flag kill switches one command, and rehearse them.
- Host the status page independently of production.
- Postmortem required for every SEV1 and SEV2, and for any incident burning more than 20% of an error budget; draft within 5 business days.
- Track time to detect, time to mitigate, and postmortem action item completion.
- Read one public postmortem a month as a team.
Interview angle
Interview questions
Q1: You are the first responder to a SEV1. Walk through the first 15 minutes.
Acknowledge the page and confirm impact on the SLO dashboard. Declare the incident and severity, open the incident channel and state that you are IC until handed off. Pull in an ops lead and a comms lead, and get the first status update out quickly. Ask what changed recently (deploys, config, flags, infra) and choose the fastest reversible mitigation: roll back, disable the flag, or drain the affected zone or cell. Assign one person to make the change while others watch the impact metrics. Keep a timestamped timeline. Diagnosis waits until impact has stopped or mitigation options are exhausted.
Q2: What makes a postmortem blameless, and why does it matter?
It analyses why the system and organisation allowed a reasonable person’s action to cause harm, rather than who made the mistake. It describes actions neutrally, lists multiple contributing factors, and produces action items that change tooling, guardrails and processes rather than “be more careful”. It matters because blame makes people withhold information, which degrades every future investigation, and because human error is inevitable; the only durable fix is a system that tolerates it.
Q3: Several public outages (Cloudflare 2019, CrowdStrike 2024, Google Cloud 2025) share a pattern. What is it and how do you design against it?
Each was a configuration or content change propagated globally within minutes, with no staged rollout to limit blast radius, hitting a code path that could not handle it safely. Design against it by treating config and data pushes like code: validation against schemas and limits, canary to a small slice (a cell, a region, 1% of hosts) with automatic health checks and bake time, feature flags around new code paths, fail-safe handling of bad input (reject and keep the last good config), and a kill switch that works when the main control plane is degraded.
✅ Key takeaways
- Severity is defined by user impact; declaring is cheap, and you can downgrade later.
- Separate coordination from fixing: incident commander, ops lead, comms lead and scribe, adapted from ICS.
- Mitigate before diagnosing: ask what changed, roll back, disable the flag, shift traffic, shed load.
- Communicate early and on a schedule from a status page that does not share fate with production.
- Blameless postmortems list contributing factors, quantify impact (including error budget) and produce tracked, system-level action items.
- Public postmortems repeat one lesson: global, unstaged config changes are the most dangerous changes you make.
🧠 Check your understanding
0 / 4-
1Ten minutes into a SEV1, the team suspects a deploy from 20 minutes ago but has not proven it. What should the incident commander do?
A reversible mitigation that probably helps should be tried immediately; if the rollback does not restore service you have lost a few minutes, not an hour. Waiting for proof is the tempting choice that extends outages.
-
2Which postmortem conclusion best reflects blameless analysis?
Blameless analysis asks why the system allowed the harm and finds several factors to fix. Naming the engineer or human error stops at the last action and produces no system change.
-
3An incident failed 600,000 requests. The SLO is 99.9% over 30 days on 2 billion requests. What share of the error budget was burned?
Budget is 0.1% of 2 billion = 2 million bad requests. 600,000 / 2,000,000 = 30%. 0.03% is the share of all requests that failed, not of the budget.
-
4What did the GitLab 2017 database incident most clearly teach about backups?
Recovery came from an old staging snapshot because the regular backups were not working and nobody had noticed. Replication would have copied the deletion, so it is not a backup.
Where to go next
- Chaos engineering: rehearse incidents on purpose so the real ones are routine.
- Deployment strategies and feature flags: staged rollouts and kill switches are the mitigations used most in incidents.
- Backups and disaster recovery: what to do when the incident is data loss, and how to prove restores work.
- Multi-region architecture: reduce the blast radius of provider and regional failures.
Finished this lesson?
Mark it complete to track your progress across the roadmap.