SSM Restart Runbook
Build an SSM Automation runbook to restart processes on EC2 triggered by CloudWatch alarms.

Lab Overview
In this lab you will create an SSM Automation runbook that restarts a simulated application process on an EC2 instance, triggered by a CloudWatch alarm via SNS.
You will:
- Launch a tagged EC2 instance with SSM Agent
- Write an SSM Automation document that stops and restarts a process via RunShellScript
- Create a CloudWatch alarm on a custom metric that triggers SNS
- Wire SNS to SSM Automation via EventBridge and Lambda
- Test end-to-end: simulate failure, alarm triggers, runbook executes, process restarted
Region: us-east-1.
What You'll Learn
Launch an EC2 instance with SSM Agent and IAM instance profile for Systems Manager access
Author an SSM Automation document that executes shell commands on a managed instance
Publish custom CloudWatch metrics and create alarms that trigger SNS
Wire alarm notifications to SSM Automation execution via EventBridge and Lambda
Test full incident-response chain: alert fires, runbook executes, service restored
Prerequisites
basic-aws-cli-familiarity
aws-associate-level-knowledge
completed-aws-devops-cli-operations-baseline-lab
Technologies Covered
Part of a Course
This lab is part of the AWS Certified DevOps Engineer - Professional (DOP-C02) course
View All CoursesChoose your plan
Simple, Transparent Pricing
Unlock full access to TeKanAid courses, labs, and bootcamps
Pro
Course content without labs
Renews automatically. Cancel anytime.
Final price verified at checkout.
- Full access to all courses
- Progress tracking
- Certificate of completion
- Community access
- Bootcamp participation
- New content access
Premium
Full access with hands-on labs
Renews automatically. Cancel anytime.
Final price verified at checkout.
- Everything in Pro
- Unlimited hands-on labs
- Lab AI Assistant
- Accelerator bootcamps with live office hours
- Priority support
Prefer a single course?
Purchase individual courses for a one-time fee of $79. Full access to course content, quizzes, certificates, and community features, lab access is not included.
Browse CoursesTry it free, no credit card
Three free ways to start. All bridge into the paid Premium catalog when you're ready.
Not ready to commit? The crash course is email-only. No academy account required.
Ready to Get Started?
Start this hands-on lab and build real-world Platform Engineering skills
Get Access Now