When an alert fires at two in the morning, there is no time to start from scratch. A runbook describes the symptoms, diagnostics and actions in advance: the on-call engineer works through the steps and clears a routine issue in minutes without waking the developers. The Google SRE Workbook calls such instructions playbooks: each alert gets an entry with severity, impact, debugging hints and possible actions.
What goes inside
| Part | What it describes |
|---|---|
| Symptoms | which alert fired, what the graphs and logs show, how severe it is for users |
| Diagnostics | which commands and dashboards to check, how to tell this failure from similar ones |
| Actions | concrete steps with commands: roll back a release, raise a limit, fail over to the backup |
| Escalation | who to contact if the steps do not help, and what to attach to the ticket |
| Afterwards | how to confirm the service is restored, what to record for the incident review |
Besides alert response, runbooks also cover planned operations: starting and stopping a service, replacing a certificate, checking backups.
Text runbooks live in version control next to the service code: when checks or configuration change, the guide is updated too. A link to the relevant runbook goes straight into the alert text. The guide has to work without knowledge of the service: the on-call engineer follows the steps and gets a result. If that does not help, escalation takes over: a path to the people who know the system in more depth.
Runbook and playbook
The two words are often confused. A playbook is a way to structure procedures: NIST SP 800-61r3 describes playbooks as “actionable steps” for people across various scenarios and situations. In operations practice a runbook is usually narrower and more specific: one scenario for one alert or operation. The boundary is loose: Google calls a playbook what is called a runbook here.
From instructions to automation
Once the steps are formalised, they can be handed to automation. This is how runbooks work in AWS Systems Manager: the scenario is written in YAML or JSON, steps run strictly in order, the output of one step becomes the input of the next, and a step can embed a Python or PowerShell script. Ready-made runbooks cover routine operations — restarting a virtual machine, taking an image of it.
# runbook: checkout, HighErrorRate alert1. checkout/latency dashboard: is p99 rising after the latest deploy?2. Yes — `kubectl rollout undo deployment/checkout`, the rollback takes up to 5 minutes.3. No — check the number of database connections; at the limit, raise the pool size.4. Still failing — escalate: #checkout-oncall channel, attach the graphs and the start time.Sources
the term is written from these pages- Google SRE Workbook — On-Callsre.google/workbook/on-call/(opens in a new tab)
- NIST SP 800-61r3 — Incident Response Recommendationscsrc.nist.gov/pubs/sp/800/61/r3/final(opens in a new tab)
- AWS Systems Manager — Creating your own runbooksdocs.aws.amazon.com/systems-manager/latest/userguide/automation-documents.html(opens in a new tab)
Verified 18 Nov