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
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