Logging CloudTrail events can create an overwhelming deluge of data that can be difficult to parse and extract value from. In this lab, you will instantiate a new CloudTrail trail in your account, create a log group, and set EventBridge events for particular events.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create a CloudTrail Log Group from the AWS Console
From the AWS Management Console, navigate to CloudTrail and create a log group.
- Create and Subscribe to a New SNS Topic
From the AWS Management Console, navigate to Simple Notification Service and create a topic. Then, subscribe an email address to the new topic.
- Create an EventBridge Rule to Trigger Your SNS Topic When an EC2 Instance Is Terminated
From the AWS Management Console, navigate to EventBridge and create a rule, which will send a notification to your email address when an EC2 instance is terminated.