How do runbooks evolve into automation?
AdvancedConceptBackup, DR, Runbooks & SRE Metrics
Answer
- Write the manual runbook during or after an incident.
- Turn repeated command sequences into scripts referenced from the runbook.
- Make the scripts safe: dry-run, confirmation, idempotent, logged.
- Expose them as self-service or ChatOps commands (Rundeck, AWS Systems Manager Automation, Slack bot).
- Trigger them automatically from alerts when they are proven safe (auto-remediation), with rate limits and a page if they fail or run too often.
Automated remediation that runs frequently is hiding a bug; track it and fix the underlying issue.