Problem scenario
You want to delete a trail from CloudTrail so you can delete an S3 bucket (to avoid AWS charges). How do you do this?
Solution
Warning: You may be able to delete the non-empty S3 bucket that the Trail was supposed to use without deleting the Trail.
Procedures
- Log into the AWS Management Console (i.e., the web UI).
- Go here: https://console.aws.amazon.com/cloudtrail/
- On the left, click on "Trails".
- Click the radio button near the name of the CloudTrail you want to delete.
- Click "Delete".
- You are done, but the logs from the trail will still exist. You can delete the S3 bucket now.