Production engineering

Write the runbook you would want on call

What an incident procedure needs to say when the person reading it has little time and limited context.


The first person responding to an alert needs to know what users are experiencing, which part of the service to check and how to tell whether an action helped. A runbook written around those questions is easier to follow under pressure.

Start with the symptom

For an alert on failed file uploads, begin with how to reproduce the failure from the user’s side. Link to the relevant dashboard or query. Say what a normal result looks like, what counts as degraded and which environment the responder should be looking at.

Keep the first checks read-only where possible. They should distinguish between the main failure modes. An upload that reaches the application but fails when written to storage calls for different action from a request that never reaches the service.

Make the next action clear

State who can take each recovery action and how to verify it. If the procedure says to drain a host before restarting it, explain how the responder can see that traffic has stopped and what to do if it does not stop. Include the point where the responder should escalate rather than continuing alone.

Record the steps that could affect data separately. A restore should identify the destination, the backup to use and how recovered records will be checked before the service returns to use.

Have someone else follow it

Run a rehearsal with an engineer who does not normally look after the service. Watch where they stop to ask for context or look up a command. Those gaps tell you what to add before the next person has to use the procedure for real.