Browse › AWS Monitoring, Logging, and Remediation SOA.1

Troubleshoot an EC2 Instance by Using a CloudWatch Alarm
Part of AWS Monitoring, Logging, and Remediation SOA.1 Topic: AWS
Access
StationX Infrastructure Labs — 3 attempts per lab
🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab
Already have access? Sign in.
New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.
What you'll do
In this challenge, you will configure CloudWatch to generate an alarm when memory usage reaches a specific level, and then automatically restart an Amazon Elastic Cloud Compute (Amazon EC2) instance.
- Create a CloudWatch alarm for memory usage on an EC2 instance
- Connect to the console of the EC2 instance by using EC2 Instance Connect
- Install a stress testing tool
- Run a stress test to simulate memory usage
- Monitor the CloudWatch alarm until it is triggered
- Verify that the EC2 instance restarts
Note: Once you begin the lab, you will not be able to pause, save, or exit and then return to your lab. Please ensure that you have set aside enough time to complete the lab before you start.
- ⏱ About 30 minutes
- Counts towards: AWS Certified CloudOps Engineer - Associate (exam SOA-C03) · AWS Solutions Architect Associate (exam SAA-C03) · CompTIA Cloud+ (exam CV0-004)
Roadmaps that use this lab
- CompTIA Cloud+ (CV0-004) — step 5: Troubleshoot cloud deployments
- AWS Certified Solutions Architect — Associate — step 3: Secure, monitor and recover it
- Cloud Security Engineer — career path — step 7: Detect and respond in the cloud




