Start free

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

Troubleshoot an EC2 Instance by Using a CloudWatch Alarm

Guided

Part of AWS Monitoring, Logging, and Remediation SOA.1 Topic: AWS

Counts towardsAWS Certified Solutions Architect – Associate badgeCompTIA Cloud+ badge

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.

  1. Create a CloudWatch alarm for memory usage on an EC2 instance
  2. Connect to the console of the EC2 instance by using EC2 Instance Connect
  3. Install a stress testing tool
  4. Run a stress test to simulate memory usage
  5. Monitor the CloudWatch alarm until it is triggered
  6. 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.

Roadmaps that use this lab