My AWS Elastic Beanstalk application created an Amazon Simple Storage Service (Amazon S3) bucket. Why can't I delete the bucket? 

When you use an Elastic Beanstalk application to create an S3 bucket, a policy is applied to the bucket that protects it from getting deleted accidentally. To delete the bucket, you need to delete the bucket policy first. For instructions, see Deleting the Elastic Beanstalk Amazon S3 Bucket.

Warning: If you delete the bucket, any other AWS resources or applications that depend on the bucket might stop working correctly.

Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2019-02-11