AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)
AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Using Elastic Beanstalk with Amazon S3

Amazon S3 provides highly durable, fault-tolerant data storage. Behind the scenes, Amazon S3 stores objects redundantly on multiple devices across multiple facilities in a region.

Elastic Beanstalk creates an Amazon S3 bucket named elasticbeanstalk-region-account-id for each region in which you create environments. Elastic Beanstalk uses this bucket to store application versions, logs, and other supporting files.

Elastic Beanstalk applies a bucket policy to buckets it creates to allow environments to write to the bucket and prevent accidental deletion. If you need to delete a bucket that Elastic Beanstalk created, first delete the bucket policy from the Permissions section of the bucket properties in the Amazon S3 Management Console.

To delete an Elastic Beanstalk storage bucket (console)

  1. Open the Amazon S3 Management Console

  2. Select the Elastic Beanstalk storage bucket.

  3. Choose Properties.

  4. Choose Permissions.

  5. Choose Edit Bucket Policy.

  6. Choose Delete.

  7. Choose OK.

  8. Choose Actions and then choose Delete Bucket.

  9. Type the name of the bucket and then choose Delete.