A runbook is only useful if someone other than its author can follow it at 2 a.m. That's the whole test. If a qualified on-call engineer can spot the trigger, check the preconditions, run the approved steps and know when to stop and escalate, the runbook works. If they have to guess at any of that, it doesn't.
This piece is adapted from a MeritSOLV™ guide on IT runbooks. The scenario and template below are illustrative, so swap in your own alert names, systems and contacts.
Why runbooks keep failing
Most critical procedures still live in one engineer's head. Everything is fine until that person is on vacation and an alert fires on a Saturday night. Then whoever is on call is left guessing which command is safe to run in production.
A good place to start is a blunt question for your current on-call rotation: which alert would you least like to handle alone? Write that procedure first.
The 2 a.m. test
Here's a scenario you've probably seen some version of. A network alert fires on a weekend. The runbook says "restart the service if needed." It doesn't give the approved command. It doesn't say who owns the service, what "if needed" means, or when to stop and call someone.
The engineer on call has never touched this application. To act safely they need to identify the alert, verify the system state, find the owner and decide whether a restart is even authorized. None of that should require guessing credentials or hoping a restart doesn't take something else down with it.
The six sections every runbook needs
| Section | Minimum useful detail |
|---|---|
| Trigger | Alert name, threshold, customer impact signal |
| Preconditions | Permissions, approvals, environment safety checks |
| Read-only diagnosis | Known-good metrics, log locations, expected output |
| Controlled recovery | Approved action, rollback, change ticket requirement |
| Escalation | Primary and secondary contacts, decision clock |
| Closure | Evidence to capture, service owner verification |
Notice the order. Diagnosis comes before recovery, and it's read-only. You want the on-call engineer looking at the system before they change it.
A template you can copy
Here's a skeleton in Markdown. Keep it in the same repo or wiki space as the rest of your ops docs so it gets reviewed like code.
# Runbook: payments-api high 5xx rate
Owner: <named person or team>
Last verified: <date> by <name>
Version: <n>, change record <ticket id>
## Trigger
- Alert: payments-api-5xx-rate
- Threshold: 5xx rate above <x>% for <n> minutes
- Customer impact signal: checkout errors in <dashboard link>
## Preconditions
- Role needed: <on-call role>, granted through <access process>
- Credentials: retrieved from <vault path>. Never paste secrets here.
- Confirm you are in the production context before running anything below.
- Stop and escalate if: <condition, e.g. a deploy is in progress>
## Read-only diagnosis
1. Check service health: <command>
Expected: all instances report healthy
If not: note which instances fail, go to step 2
2. Check recent errors: <log query>
Expected: <normal pattern>
If you see <pattern>: skip to Escalation
## Controlled recovery
1. Open or reference change ticket: <ticket template>
2. Restart one instance: <exact command>
Expected: instance healthy within <n> minutes
Failure looks like: <signal>
Rollback: <exact steps>
3. Repeat for remaining instances only if step 2 succeeded.
## Escalation
- Primary: <name / rotation>
- Secondary: <name / rotation>
- Decision clock: if not recovered in <n> minutes, escalate. Don't keep trying.
## Closure
- Capture: before and after metrics, commands run, ticket id
- Service owner verifies recovery and signs off in <ticket>
Every action step carries three things: the expected signal, what failure looks like, and how to stop. Compare that with "restart the service if needed" and you can see how much the original left to chance.
A five-step way to write one
1. Pick a procedure where a delay or a wrong command really costs you. Ask the on-call engineer which parts of it depend on memory today.
2. Write the prerequisites before any commands. Permissions, system boundaries, customer impact checks and rollback authority all go at the top.
3. Number the steps and give each one an expected outcome and a fallback. Say which log or ticket should capture the result.
4. Have someone else walk through it while the author stays quiet. Use a nonproduction environment or a simulated incident. The reviewer should flag every step that leans on private knowledge, every missing screenshot and every hidden dependency. The author doesn't get to explain anything during this pass, because they won't be there at 2 a.m. either.
5. Record the owner, version, last-verified date and escalation contacts. Add a review trigger too, so a major infrastructure change forces a fresh walkthrough.
Passwords don't belong in runbooks
Reference the approved vault or credential process, never the secret itself. A runbook gets copied, exported and pasted into tickets. Anything you put in it should be safe for all of those places.
How to know it's done
Ask someone outside the team to find the latest version, name its owner, explain the biggest open issue and say what the next authorized action is. If any of those answers depends on someone's memory, the handoff isn't finished.
The most common mistake is publishing a runbook nobody but the author has tested. More paperwork doesn't fix that. A walkthrough does. And hold off on automating a procedure until the responsibilities and the exceptions are clear, or you'll just automate the guessing.
Checklist
- [ ] Pick a high-frequency or high-impact procedure
- [ ] Capture prerequisites, access needs and safe stopping conditions
- [ ] Write numbered steps with expected outcomes and fallback actions
- [ ] Have a system owner walk through it without the author coaching
- [ ] Record version, owner, review date and escalation contacts
- [ ] Confirm who approves the final version and how corrections get handled
- [ ] Archive the approved version and set the next review date
Once you have a few of these, they make good material for a recovery tabletop exercise, where the team practices making decisions with the runbook in hand.
Further reading
- NIST SP 800-34 Rev. 1, contingency planning and recovery procedures
- NIST SP 800-61 Rev. 3, incident response
Originally published at meritsolv.com.
Top comments (0)