- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Monitoring and Notifications with CloudWatch Events and SNS
In this hands-on lab, we will create an Amazon EventBridge event that triggers an SNS email notification. Then, we will trigger the alarm by simulating the shutdown of an EC2 instance.

Lab Info
Table of Contents
-
Challenge
Create an SNS Topic and Subscribe an Email Address
- Create an SNS topic.
- Subscribe an email address.
- Confirm your subscription to the newly created SNS topic.
-
Challenge
Create an Amazon EventBridge Rule to Trigger the SNS Topic When There Is a State Change to an EC2 Instance
Create a Amazon EventBridge rule to trigger the newly created SNS topic whenever there is a state change to an EC2 instance.
-
Challenge
Change the State of the EC2 Instance and Verify the Receipt of the SNS Notification
- In the EC2 console, change the state of the EC2 instance to stopped.
- Next, check your email to verify you received the SNS notification that a state change has occurred for an EC2 instance.
Note: Before closing the lab, go under Amazon SNS and delete your email subscription.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.