How Do You Delete a Trail from CloudTrail?

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

  1. Log into the AWS Management Console (i.e., the web UI).
  2. Go here: https://console.aws.amazon.com/cloudtrail/
  3. On the left, click on "Trails".
  4. Click the radio button near the name of the CloudTrail you want to delete.
  5. Click "Delete".
  6. You are done, but the logs from the trail will still exist. You can delete the S3 bucket now.

Leave a comment

Your email address will not be published. Required fields are marked *