How to delete an S3 bucket

From AWS CLI

Here is the command to delete an s3 bucket where bucketname is the name of the bucket that needs to be deleted.

aws s3api delete-bucket --bucket bucketname

From AWS Management Console

To delete a bucket from AWS Management Console, Select the bucket and choose ‘Delete’ on the top.

On the next screen, confirm the deletion by entering bucket name and choose ‘Confirm’.

See also  How to configure a dead-letter queue for an existing SQS queue