In this blog, we would discuss how to create your first bucket in s3.
In AWS s3, an object can not be uploaded directly into s3 without a bucket. So you need to create a bucket first to upload an object into it. By default, AWS allows us to create 100 buckets in each region for your account. However, this limit could be increased with the help of s3 Service Limits increase request to Amazon.
Create your first s3 Bucket
1. Sign in to AWS Management Console (link) and open s3 Service
2. Select Create Bucket
3. In create bucket, provide an unique name to your bucket and select the region close to you to minimize the latency and cost. Before you create a bucket, keep note of the following points
- Bucket name must not contain any uppercase characters
- The name must not start with lowercase letter or numbers
- Bucket name must be unique across all the bucket names in s3
- The name must be between 3 to 63 characters long
Note: You could directly opt for Copy settings from an existing bucket to click on Create. Otherwise go next to create it
4. On Configure Options, you may opt for below properties while creating your bucket in s3
- Versioning – To enable object level versioning for the bucket, select Keep all versions of an object in the same bucket
- Server Access Logging – This captures detail record of all the requests are made to this bucket. To enable it, Select Log requests for access to your bucket
- Tags – This is helpful to track project costs
- Object Level Logging – To enable it with CloudTrail, Select Records object-level API activity by using CloudTrail for an additional cost
- Default Encryption – To get the advantage of default encryption of s3, you need to enable the Automatically encrypt objects when they are stored in s3 option
- Object Lock – To lock an object in s3, select Permanently allow object in this bucket to be locked
- CloudWatch Request Metrics – Opting this feature would cost you additionally.
5. On Set Permissions Page, you could manage the permissions on the bucket.
AWS applies default settings under Block Public Access and doesn’t recommend to modify it. You could change the permission after you create the bucket.
6. Review the settings & click on Create Bucket
Now you’re done with your first bucket creation in s3. I hope this blog helps. Please comment below for any concerns related to this blog.