- Lab
-
Libraries: If you want this lab, consider one of these libraries.
Enable Account Auditing with AWS CloudTrail
In this lab, you’ll set up AWS CloudTrail to capture and review account activity. You’ll create a CloudTrail trail, configure log storage in S3, generate a management event by modifying an S3 bucket, and then use CloudTrail Event History to locate and inspect the recorded event.
Lab Info
Table of Contents
-
Challenge
Create and configure an AWS CloudTrail trail to capture managed events
- Create a new CloudTrail trail.
- Create an S3 bucket to store CloudTrail logs.
- Create a CloudWatch log group to store CloudTrail events.
-
Challenge
Generate management events by modifying the S3 bucket and re-authenticating
- Locate the pre-created S3 bucket in the S3 console.
- Enable versioning on the bucket to trigger a
PutBucketVersioningmanagement event. - Confirm that the bucket’s versioning status has changed to “Enabled”.
- Sign out of the AWS Console and sign back in to generate a
ConsoleLoginevent.
-
Challenge
Locate and inspect the recorded event in CloudTrail Event History
- Navigate to the CloudTrail Event History console.
- Filter or search for the PutBucketVersioning event related to the bucket modification.
- Filter or search for the ConsoleLogin event that corresponds to your console sign-in.
- Review and confirm that both events reflect the actions performed during the lab session.
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.