AWS CloudTrail
Records management events by default; configure data events and selectors for the coverage you need.
How it works
AWS CloudTrail records AWS account activity, including API calls from the console, SDKs, and command-line tools. Event history provides recent management events by Region; for longer retention, a trail can deliver logs to Amazon S3. Event details can include the identity, time, and request information, depending on the event and service.
When to use it
Choose it when the requirement is investigate which identity made an AWS API change.
Real-world example
After an unexpected security group change, a security team looks for the corresponding management event in CloudTrail. They examine the identity, time, and request information present in the event to help investigate the change.
Key facts
- Event history provides recent management events; data events require explicit configuration.
Common pitfall
Do not assume event history records all data activity, such as every S3 object access. Data events are not logged by default; configure a trail and event selectors for the audit coverage required.
Often confused with
Compare its service boundary with AWS Config; choose from the workload requirement.
References
Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:
Understand it for real with 3D models and simulated labs
Connect the concept to a working architecture.