Starting CloudTrail
Amazon CloudTrail is an API log monitoring and recording tool. CloudTrail captures and records all the API calls and related events for your account and stores it into S3. You can also deliver the logs to CloudWatch logs and events.
CloudWatch primarily does three tasks:
- Stores log files in S3
- Looks up the API history
- Gives notification on specific API activity
You can create two types of trails:
- A trail that applies to all regions
- A trail that applies to one region
How to do it...
- Sign in to the
AWS Management Console
and click onCloudTrail
.

Select CloudTrail
- Click on
Get Started Now
.

CloudTrail: Get Started
- On the
Turn on CloudTrail
page, provide theTrail name
and selectYes
if you want toApply trail to all regions
.
- Under
Management events
, forRead/Write events
, choose if you want your trail to logAll
,Read-only
,Write-only
, orNone
, and then chooseSave
. By default, trails logAll management events
.

Turn on CloudTrail
- Provide a storage location, select
Yes
, and provide a name...