Deleting your Amazon S3 on Outposts bucket - Amazon Simple Storage Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Deleting your Amazon S3 on Outposts bucket

With Amazon S3 on Outposts, you can create S3 buckets on your Amazon 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 Amazon 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 Amazon Web Services Management Console, Amazon Command Line Interface (Amazon CLI), Amazon 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 Amazon Web Services 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, Amazon CLI, or Amazon 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 Amazon Web Services Management Console and Amazon Command Line Interface (Amazon CLI).

  1. Sign in to the Amazon Web Services 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 Amazon CLI. To run this command, replace the user input placeholders with your own information.

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