Amazon S3 stores files in a container called a bucket. Therefore, once you have set up your AWS account to use Amazon S3 Service, you will need to create "
" to start storing your files on S3.
When you create a Bucket, you become the owner of the Bucket and that Bucket name cannot be used by any other AWS account holders for Buckets under their accounts. Bucket names are unique like Domain names and no two bucket names can be same even for the buckets created under different accounts.
You can create a new Bucket associated with your AWS account on Amazon S3, by sending Http PUT Request to Amazon S3 Server, in one of the two ways explained below:
Create new Bucket using Amazon S3 REST API "PUT Bucket" within your software code:-
If you are a programmer, you can write your own code to create a Bucket using AWS S3 REST or SOAP API. In this documentation, we will talk about the REST APIs only, you can refer to AWS S3 documentation for SOAP APIs.
Create new Bucket using Bucket Explorer:
If you do not want to write code, you can easily create Buckets with Bucket Explorer, similar to how you create folders on your local machines, using mouse clicks.
Create new Bucket using Amazon S3 REST API PUT Bucket Request
You can create a Bucket by sending an HTTP PUT Request. For that, go ahead and select a name for your bucket following the
bucket name constraints
. You can also specify a region that you want to create your Bucket in, by default a Bucket is created in US Standard region.
There are 8 edge locations where you can create buckets - US, US-West (Northern California), US West (Oregon), EU (Ireland), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (Sao Paulo), and Sydney (Asia Pacific) only.
Syntax for PUT Bucket
PUT / HTTP/1.1
Create new Bucket using Bucket Explorer
You can create a new Bucket using Bucket Explorer by following these simple steps, without writing software code.
To create a Bucket, follow these steps:
Connect to your AWS S3 Account using Bucket Explorer.
Click on the "Create Bucket"
icon or right click on bucket panel and click on Create Bucket option.
A create bucket window will appear.
Enter the bucket name you want.
Select Location (Region Endpoint) for the created bucket.
Click on "OK" button.
After getting a successfully created Bucket message, you can then see your created bucket in the bucket list.
Your bucket is now ready to
your data, images, photos etc.
As soon as you connect to your AWS account using Bucket Explorer, you will be prompted with a message "Please create a bucket for any further operations." After that, a "Create Bucket" window will appear. If your account has less than 5 buckets, a tool tip will be displayed at the "Bucket" icon on bucket toolbar with "Click here to create bucket." message after you login.
If the bucket name you want already exists, you will be notified with an alert message and few suggested names matching to your request are displayed. You can choose one of the suggested names or look for a different title.
You must be a valid registered
holder to be able to create a Bucket. Creating a Bucket is the first and foremost requirement to start storing your files on S3. Amazon will charge the storage and bandwidth feed for all the
stored in the bucket, to the account that the bucket is created under.