Skip to content

Your IR Runbook Is a PDF Nobody Reads at 3 AM. I Turned Mine Into a State Machine.

7.9 relevance
Score Breakdown
technical depth
9
novelty
7
actionability
9
community
5
strategic
6
personal
9

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

Incident response runbook automated with Step Functions, Lambda, Terraform, KMS — highly actionable for cloud infrastructure and platform engineering.

Cloud dev.to
Your IR Runbook Is a PDF Nobody Reads at 3 AM. I Turned Mine Into a State Machine.
Summary

An engineer replaced a static PDF incident response runbook with an AWS Step Functions state machine to enforce correct forensic order during 3 AM security incidents. The workflow, triggered by GuardDuty findings via EventBridge, isolates EC2 instances, captures EBS snapshots, and copies them to a separate forensic account with cross-account KMS encryption, all before a human approval gate can authorize remediation. A Lambda timeout during snapshot copy revealed the need for durable state management, which Step Functions' waitForTaskToken pattern solved by decoupling execution history from transient code.

Author

Le Beltagy

More from Le Beltagy →