×
☰ See All Chapters

AWS Simple Storage Service (S3) Bucket

  1. Bucket is a logical container structure can store group of data such as photos, videos, documents, and audio files. 

  2. Bucket should be created with globally unique name that isn’t used by any other AWS customer in any other region. 

  3. Choose the AWS region for bucket creation where you can optimize the latency of data transfer. If we don't provide the region, it will be created in the US East (Northern Virginia) region. 

  4. You can store any kind of data and unlimited data as long as the size of a single object doesn’t exceed 5 TB.  There is a limit for bucket creation which is 100. This limit can be increased by raising a request to Amazon. 

Region specific S3 endpoints

Endpoint for default US East (Northern Virginia) region will be s3.amazonaws.com

Endpoint if formed using regions as below

s3-<region>.amazonaws.com or s3.<region>.amazonaws.com

Example for Singapore (Asia Pacific): s3.ap-southeast-1.amazonaws.com or s3-ap-southeast-1.amazonaws.com

For bucket naming conventions refer to https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html.

Creating S3 bucket from AWS Management Console

Navigate to AWS S3 Management Console and click on Create bucket.

aws-simple-storage-service-bucket-0
 

Enter the Bucket name and choose Region as US East (N. Virginia). If you don't need to set the bucket properties and permissions, you can click on Create. Otherwise, set the desired permissions.

aws-simple-storage-service-bucket-1
 

Once it is created you can see it in bucket list as shown below:

aws-simple-storage-service-bucket-2
 

How to delete bucket if You don't have permission to delete bucket?

While deleting bucket you may encounter below issue:

aws-simple-storage-service-bucket-3
 

To resolve this issue, follow the below steps.

Click on the bucket name link and then click on Permissions tab.

aws-simple-storage-service-bucket-4
 
aws-simple-storage-service-bucket-5
 

Update the bucket policy by deleting the Delete Deny part as shown below:

aws-simple-storage-service-bucket-6
 
aws-simple-storage-service-bucket-7
 

Now you should be able to delete the bucket.

aws-simple-storage-service-bucket-8
 

All Chapters
Author