In this blog, I am going to cover an overview of the Amazon S3 bucket, Steps to create, and how to grant public access to S3 Bucket.
Amazon S3 is an Object Storage built to store and retrieve any data from anywhere. It is known to be a promising, stable, and highly scalable online storage solution.
Amazon S3 Bucket
Amazon Simple Storage Service (S3) is a storage that can be maintained and accessed over the Internet. Amazon S3 provides web service which can be used to store and retrieve an unlimited amount of data. It is global by default and bucket are region specified.
S3 in Amazon has two entities called buckets and objects. Objects are stored inside buckets.
By default, the maximum number of buckets that can be created per account is 100. For additional buckets, one can submit a request for a service limit increase.
Key Features of S3 Bucket
- Users get 99.99% durability.
- New users get 5GB of Amazon S3 standard storage.
- S3 provides Encryption to the data that you store. In two ways Client-Side Encryption and Server-Side Encryption
- Multiple copies are maintained to enable the regeneration of data in case of data corruption.
- S3 is Highly Scalable since it automatically scales your storage according to your requirement.
- only pay for the storage you use.
Steps To Create AWS S3 Bucket
- Sign in to AWS Management Console [step by step process to create AWS free tier account ]
- Under Storage & Content Delivery, select S3 to open the Amazon S3 console.
- From the Amazon S3 console, choose Create Bucket.
- Type a bucket name in Bucket Name (name must be unique).
- In Region, choose the desired region and click next
- Configure the bucket as per our requirement and click on Create.
Note: If we insert any kind of file or document and try to access these files outside the premises of AWS through URL it will deny your request.
Consider an example in which we have created an S3 bucket “k21academydemo” with default permissions. when we try to access it show below error page:
Therefore, we need to change the default setting and grant file public access.
Steps To Grant S3 Bucket Public Access
- Sign in to AWS management console and go to your Amazon S3
- Click on the name of the Amazon S3 bucket from the list. If it’s still in its default access state, it should say “Buckets and objects not public”.
- Go to the Permissions tab. The first sub-tab, which is open by default, is Block Public Access, and the “Block all public access” option will be On. Click on the Edit button.
- Uncheck the “Block all public access” option, and then click on the Save button.
It will ask to confirm the change but typing in the word “confirm”.
- Click on the file which needs public access and go to Permission tab then change the “Public Access” settings accordingly
From the panel, you can find the file’s endpoint using the Object URL field.
You can then send that link to others to download or open the file.
Hope the blog will help you in creating & understanding the concept behind an S3 bucket on AWS. Now it’s your turn to post your doubts in the comment section.
- AWS Certified Solutions Architect Associate SAA-CO2
- Overview of Amazon Web Services & Concepts
- Storage – Amazon Elastic Compute Cloud – AWS Documentation
- What is Cloud Storage?
- AWS Management Console Walkthrough
Next Task For You
Begin your journey towards becoming a Certified AWS Solution Architect Associate by joining our FREE Informative Class on Amazon AWS Solution Architect Certification For Beginners & Q/A by clicking on the below image.