Learn how to create S3 bucket in AWS step by step. Understand permissions and properties of bucket which are to be set while creating.
S3 which stands for Simple Storage Service is storage web service provided by Amazon web service. S3 is replacement of storage boxes in traditional datacenters. Its highly scale-able, cheap, reliable alternative. In S3 data is stored in bucket. Bucket is root folder in S3. You can have more than one bucket in single AWS account. Files stored in buckets are called objects. You can control access to data by defining permissions at bucket level and object level.
In this article we will see how to create S3 bucket with screenshots.
Step 1 –
Login to AWS console and select S3 under Storage. You can even search it under search bar of console.
It will take you to Amazon S3 console where you can see ‘create bucket‘ button along with Delete bucket and Empty bucket button in header.
Step 2 –
Click create bucket and you will be presented with bucket wizard. Enter bucket name of your choice. Remember it should be unique across all AWS infrastructure. Select region (geographically nearest to source/destination from where read/write of data will happen to/from this bucket to avoid latency). If you want to create new nucket with setting of existing bucket, you can specify existing bucket name in last option.
Hit next after filling required details. You will enter bucket properties screen as below.
Here you can set these properties to your bucket.
- Versioning. Enable to keep all versions of objects when altered. Once enabled it can not be disabled. It can only be suspended then.
- Logging. It will track all access requests made to this bucket.
- Tags. Add tags of your choice to identify bucket easily in other AWS services and billing.
All are disabled by default. Once you enable features of your choice hit next. You will enter permission settings screen.
Here you can manage permissions at user, public and system level. Public and system permissions can be enabled or disabled. User level permission can be set read, write and user id wise.
Once you are done, hit next and review screen will show you all the options you have selected as a final confirmation before creating bucket.
Hit create bucket now. Your bucket will be created and you will be redirected back to bucket list screen where you can see your newly created bucket!
Step 3 –
If you click on bucket name you will be able to get into bucket itself where you can upload objects.
Even tabs like properties, permissions, management are visible in menu bar which can be used to administer this bucket. We will see them in another post.