Delete A File And Bucket

When you are done with your investigation of storage on Amazon S3, you can use the following procedures to delete the resources you allocated on AWS.

To delete a file

  • Open the Amazon S3 console at https://console.aws.amazon.com/s3/.
  • In the Buckets pane, click the bucket where the file is stored.
  • Right-click the file that you want to delete and then click Delete.
  • In the confirmation message that appears, click Yes, Delete.

There is no charge for an empty bucket in Amazon S3, so you don't need to delete the bucket to avoid charges. If you want to delete the bucket, however, you can do so.

To delete a bucket, you must first delete all of the objects in it.

To delete a bucket

  • Continuing from the previous procedure, right-click the bucket you want to delete, and then click Delete.
  • In the confirmation message that appears, click Yes, Delete