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. First, you will create a CloudWatch alarm for memory usage on an EC2 instance, and then you will connect to the console of the EC2 instance by using EC2 Instance Connect. Next, you will install a stress testing tool, and then you will run a stress test to simulate memory usage. Finally, you will monitor the CloudWatch alarm until it is triggered, and then you will verify that the EC2 instance restarts. Note: Once you begin the challenge lab, you will not be able to pause, save, or exit and then return to your challenge lab. Please ensure that you have set aside enough time to complete the challenge lab before you start.
Learning Objectives
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. First, you will create a CloudWatch alarm for memory usage on an EC2 instance, and then you will connect to the console of the EC2 instance by using EC2 Instance Connect. Next, you will install a stress testing tool, and then you will run a stress test to simulate memory usage. Finally, you will monitor the CloudWatch alarm until it is triggered, and then you will verify that the EC2 instance restarts. Note: Once you begin the challenge lab, you will not be able to pause, save, or exit and then return to your challenge lab. Please ensure that you have set aside enough time to complete the challenge lab before you start.
Framework Connections
Specialty Areas
- Systems Development
Feedback
If you would like to provide feedback for this course, please e-mail the NICCS SO at NICCS@hq.dhs.gov.