Monitoring and Notifications with CloudWatch Events and SNS

Get Started
30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

In this hands-on lab, we will create a CloudWatch Events alarm that triggers an SNS email notification. Then, we will trigger the alarm by simulating the shutdown of an EC2 instance.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create an SNS Topic and Subscribe an Email Address
  1. Create an SNS topic.
  2. Subscribe an email address.
  3. Confirm your subscription to the newly created SNS topic.
Create a CloudWatch Events Rule to Trigger the SNS Topic When There is a State Change to an EC2 Instance

Create a CloudWatch Events rule to trigger the newly created SNS topic whenever there is a state change to an EC2 instance.

Change the State of the EC2 Instance, and Verify the Receipt of the SNS Notification
  1. In the EC2 console, change the state of the EC2 instance to stop.
  2. Next, check your email to verify that you received the SNS notification that a state change has occurred to an EC2 instance.

Additional Resources

Since Engineers are critical to keeping your EC2 instances running to serve your traffic with minimal downtime, you have been tasked with architecting a solution to have your Engineers alerted on all state changes to your Production EC2 instances. You have decided to use CloudWatch and SNS to receive alerts to all EC2 state changes in your Production environment so that immediate corrective actions can be taken. Let's get started!

Make sure you are in the us-east-1 (N. Virginia) region.

Use the provided credentials to log into the AWS Management Console.

Note: Please delete your email in the SNS section before closing the lab.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 $399 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$1,995.00

Checkout
Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?