Deleting your Amazon S3 on Outposts bucket - Amazon Simple Storage Service

Deleting your Amazon S3 on Outposts bucket

With Amazon S3 on Outposts, you can create S3 buckets on your AWS Outposts and easily store and retrieve objects on premises for applications that require local data access, local data processing, and data residency. S3 on Outposts provides a new storage class, S3 Outposts (OUTPOSTS), which uses the Amazon S3 APIs, and is designed to store data durably and redundantly across multiple devices and servers on your AWS Outposts. You communicate with your Outpost bucket by using an access point and endpoint connection over a virtual private cloud (VPC). You can use the same APIs and features on Outpost buckets as you do on Amazon S3 buckets, including access policies, encryption, and tagging. You can use S3 on Outposts through the AWS Management Console, AWS Command Line Interface (AWS CLI), AWS SDKs, or REST API. For more information, see What is Amazon S3 on Outposts?

For more information about working with buckets in S3 on Outposts, see Working with S3 on Outposts buckets.

The AWS account that creates the bucket owns it and is the only one that can delete it.

  • Outposts buckets must be empty before they can be deleted.

    The Amazon S3 console doesn't support S3 on Outposts object actions. To delete objects in an S3 on Outposts bucket, you must use the REST API, AWS CLI, or AWS SDKs.

  • Before you can delete an Outposts bucket, you must delete any Outposts access points for the bucket. For more information, see Deleting an access point.

  • You cannot recover a bucket after it has been deleted.

The following examples show you how to delete an S3 on Outposts bucket by using the AWS Management Console and AWS Command Line Interface (AWS CLI).

  1. Sign in to the AWS Management Console and open the Amazon S3 console at

  2. In the left navigation pane, choose Outposts buckets.

  3. Choose the bucket that you want to delete, and choose Delete.

  4. Confirm the deletion.

The following example deletes an S3 on Outposts bucket (s3-outposts:DeleteBucket) by using the AWS CLI. To run this command, replace the user input placeholders with your own information.

aws s3control delete-bucket --account-id 123456789012 --bucket arn:aws:s3-outposts:region:123456789012:outpost/op-01ac5d28a6a232904/bucket/example-outposts-bucket