In this challenge, you will configure Amazon CloudWatch to generate an alarm and then send you a notification when 404 errors reach a specific level. First, you will create an Amazon Simple Notification Service (SNS) topic, and then you will create an email subscription for the topic. Next, you will create a CloudWatch metric and alarm for 404 errors on an Amazon Elastic Cloud Compute (Amazon EC2) instance, and then you will simulate errors on a website by attempting to connect to a nonexistent page. Finally, you will monitor the CloudWatch alarm until it is triggered, and then you will verify that you received a notification email. 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 Amazon CloudWatch to generate an alarm and then send you a notification when 404 errors reach a specific level. First, you will create an Amazon Simple Notification Service (SNS) topic, and then you will create an email subscription for the topic. Next, you will create a CloudWatch metric and alarm for 404 errors on an Amazon Elastic Cloud Compute (Amazon EC2) instance, and then you will simulate errors on a website by attempting to connect to a nonexistent page. Finally, you will monitor the CloudWatch alarm until it is triggered, and then you will verify that you received a notification email. 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.