Production Incident Rehearsal Toolkit
This toolkit equips engineering teams to conduct effective production incident rehearsals (e.g., Game Days, Chaos Engineering drills). It promotes preparedness, reduces MTTR (Mean Time to Recovery), and builds muscle memory for real incidents. Use it quarterly or before major releases.
Toolkit Components:
- Scenario Library
- Runbook Templates
- Communication Drills
- Tooling Readiness Checks
- Metrics Deck
- Feedback Retros
Scenario Library
A curated set of realistic scenarios, categorized by impact level (Low/Med/High) and system type. Select 1-2 per rehearsal. Customize with your stack (e.g., AWS, Kubernetes, microservices).
| Category | Scenario | Description | Impact | Duration | Chaos Injection |
|---|
| Infrastructure | DB Primary Failure | Primary RDS instance crashes; replicas lag. | High | 30-60 min | Kill DB pod/instance. |
| Network Partition | Subnet isolation between services. | Med | 20-45 min | Use AWS Network ACLs or Chaos Mesh. |
| Application | API Rate Limit Exhaustion | Third-party API (e.g., Stripe) throttles. | Med | 15-30 min | Mock throttle in code or proxy. |
| Memory Leak Cascade | Service OOMs, triggering pod evictions. | High | 45-90 min | Inject memory hog via LitmusChaos. |
| Traffic/Scale | Black Friday Spike | 10x traffic surge; autoscaling lags. | High | 30-60 min | Locust or Artillery load test. |
| Dependency Outage | Upstream service (e.g., Auth0) 500s. | Med | 20-40 min | Fault injection proxy (e.g., ToxiProxy). |
| Security/Compliance | DDoS Attack | Flood of malicious traffic. | High | 30-60 min | Slowloris or hping3 simulation. |
| Secrets Exposure | ConfigMap with API keys leaks to logs. | Low | 15-30 min | Inject fake secret into logs. |
| Edge Cases | Clock Skew | NTP failure causes cert validation errors. | Low | 10-20 min | Skew container clocks. |
| Idempotency Failure | Duplicate payments from retry storm. | Med | 20-45 min | Replay events with duplicates. |
Usage: Scale by team size/maturity. Start with Low impact.
Runbook Templates
Standardized Markdown templates for runbooks. Store in Git/Confluence. One per scenario; review quarterly.
Core Runbook Template
# [Service/Scenario] Runbook - v1.0 (Last Updated: YYYY-MM-DD)
## Symptoms
- Alerts: [List PagerDuty/Slack alerts]
- Metrics: [e.g., Error rate >5%, Latency P99 >2s]
- Logs: [Grep patterns, e.g., "connection refused"]
## Steps to Diagnose (T=0 min)
1. Acknowledge alert in PagerDuty.
2. Check dashboard: [Grafana link].
3. Verify affected services: `kubectl get pods -n prod`.
## Steps to Mitigate (T<5 min)
1. **Rollback**: `git revert --no-edit HEAD; kubectl rollout restart deploy/my-app`.
2. **Scale**: `kubectl scale deploy/my-app --replicas=10`.
3. **Circuit Breaker**: Enable in config.
## Steps to Resolve (T<30 min)
1. Root cause: [e.g., Investigate DB slow query log].
2. Fix: [e.g., Add index; deploy hotfix].
3. Verify: Run [smoke tests].
## Escalation
- T+10 min: Eng Manager.
- T+30 min: VP Eng + Customers.
## Post-Incident
- Rollback plan verified? Y/N
- Lessons: [Link to Retro]
## Contacts
- Primary Responder: @eng-lead
- Backup: @oncall-eng
Variants:
- Blast Radius Runbook: Add "Containment" section (e.g., traffic shift).
- Degraded Mode Runbook: Focus on graceful degradation.
Communication Drills
Practice clear, concise comms to avoid "update fatigue." Run as 10-15 min standalone or integrated.
Drill 1: Status Update Ladder (5 min)
- IC1 (T=0): "Alert fired: DB down, error rate 100%. Investigating."
- IC2 (T=5): "Confirmed primary failover. Latency dropping. ETA resolve: 15 min."
- Manager (T=15): "Service at 80% capacity. No customer impact. Postmortem in 24h."
Practice: Role-play in Slack channel; time responses.
Drill 2: Escalation Chain (10 min)
- Simulate no response from primary.
- Escalate: Ping → Handoff → External notify.
- Template: "Escalating [Issue] to [Person]. CC: [Stakeholders]."
Drill 3: Customer Bridge Call (15 min)
- Script: "We're at Step 3/5. Current ETA: 20 min. Workaround: Use cache."
- Tools: Zoom + shared Grafana screen.
Pro Tip: Use "4 C's": Clear, Concise, Current, Complete.
Tooling Readiness Checks
Pre-rehearsal checklist (run 24h before). Fail → Abort.
| Category | Check | Pass Criteria | Owner |
|---|
| Monitoring | Alerts firing? | Test alert resolves in <2 min. | SRE |
| Dashboards | All key metrics (latency, errors, throughput) visible. | Eng |
| Alerting/Paging | PagerDuty | On-call rotation active; test page received. | Ops |
| Incident Tools | Statuspage | Can post updates; integrates with PD. | Comms |
| Orchestration | Kubernetes/Chaos | Permissions for fault injection granted. | DevOps |
| Logging | ELK/Splunk | Searchable; retention >7 days. | Eng |
| CI/CD | Rollback | Hotfix deploys in <5 min. | Release Eng |
| Comms | Slack/Zoom | #incidents channel exists; bridges configured. | All |
Scripted Check: toolkit-readiness.sh – Automate with curl to endpoints.
Metrics Deck
Google Slides/Keynote outline for rehearsal debrief. Track over time to show improvement.
Slide Structure (10-15 slides):
- Exec Summary: "MTTR: 18 min (target <30). 90% success."
- Timeline: Gantt chart of alert → resolve.
- Key Metrics Table:
| Metric | Value | Target | Trend |
|---|
| MTTD (Detection) | 2 min | <5 min | ↓ |
| MTTR | 18 min | <30 min | ↓ |
| Success Rate | 90% | >85% | ↑ |
| Participation | 12/15 | 100% | → |
| Blast Radius | 1 service | 0 | → |
- Per-Scenario Breakdown: Bar chart.
- Wins/Risks: Bullet lists.
- Action Items: Owner + Due Date.
- Historical Trends: Line graph (MTTR over 6 quarters).
Tools: Use Looker/Grafana for auto-gen; export to deck.
Feedback Retros
30-60 min post-rehearsal. Use "Start/Stop/Continue" + DORA metrics tie-in.
Retro Template (Miro/Jamboard)
What went well? (Start/Continue)
- [e.g., Fast detection via new alert]
What to improve? (Stop/Start)
- [e.g., Stop: Vague runbook steps → Start: Add screenshots]
Puzzles?
- [Open questions]
Action Items
| Item | Owner | Due | Status |
|------|-------|-----|--------|
| Update DB runbook | @sre-lead | EOW | |
Facilitation Guide:
- Timer: 10 min per section.
- Vote: Dot-voting on top 3 actions.
- Follow-up: Block calendar for next rehearsal.
Maturity Levels:
- Level 1: Ad-hoc → Use this toolkit.
- Level 2: Scheduled → Add metrics tracking.
- Level 3: Automated → Chaos as CI job.
Next Steps: Fork this into your wiki. Run first rehearsal in 2 weeks. Questions? Ping @sherlock-trailblazer. 🚀