Show In this blog, I am going to cover an overview of the Amazon S3 bucket, Steps to create AWS S3 Bucket, how to grant public access to S3 Bucket, and types of S3 storage classes. Amazon Web Services (AWS) 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. This post covers the following topics: What is S3 Bucket?Amazon Simple Storage Service (S3) is a storage that can be maintained and accessed over the Internet. Amazon S3 provides a web service that can be used to store and retrieve an unlimited amount of data. It is global by default and buckets 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. AWS S3 Benefits
Also Read: AWS Identity And Access Management Steps To Create AWS S3 BucketStep 1: Sign in to AWS Management Console [step by step process to create AWS free tier account ] Step 2: Under Storage & Content Delivery, select S3 to open the Amazon S3 console. Step 3: From the Amazon S3 console, choose Create Bucket. Step 4: Type a bucket name in Bucket Name (name must be unique) and choose the desired Region. Scroll down and click on Create Bucket. Step 5: Now, choose the ACLs enabled option and scroll down, click on Create Bucket.
Step 6: Now that the bucket has been created, go inside your bucket and click on Upload to upload an object. Step 6: Click on Add files, select the file to upload and click on Upload. Now, if you go to the image (here k21.png), you’ll find a URL. If you 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 shows the below error page: Therefore, we need to change the default setting and grant file public access. Check out: Our blog on AWS Key Management Service Steps To Grant S3 Bucket Public AccessStep 1: Go to your Amazon S3 console. Step 2: 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”.
Step 3: 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.
Step 4: Now go to the object again and you can find the file’s Object URL. You can now go to the browser and open this URL or share it with someone else.Learn with us: Join our AWS Solution Architect Training and understand AWS basics in an easy way. What is Aws S3 : Amazon S3 Storage ClassesAmazon S3 offers a wide range of storage classes for different use cases. These provide us the storage for data that is rarely used, doesn’t require instant access, long-term archive, digital preservation, and many more. All Amazon S3 storage classes have a high level of reliability and support SSL data encryption during transmission, but differ by their cost. Types of S3 Storage ClassesThe different storage classes provided are:
Let’s see the various storage classes in S3 and the key points of these classes. S3 StandardS3 Standard is the default storage class if none of the storage class is specified during upload. It is ideal for frequently accessed data because it provides low latency and high availability. It has a wide range of use cases from cloud applications and web services, websites hosting, big data analytics, mobile gaming, and content distribution. It is the most expensive storage class among all others. Key Points:
S3 Standard-IAS3 Standard-Infrequent Access is optimized for long-lived and less frequently accessed data but requires rapid access whenever required. Similar to S3 Standard, it also offers high durability, low latency, and high throughput but has a low per GB storage price and per GB retrieval fee. The S3 Standard-IA is ideal for backups, long-term storage, and as a data store for disaster recovery Key Points:
Check Also: Free AWS Training S3 Intelligent-TieringS3 Intelligent-Tiering optimizes costs by automatically moving data to the most cost-effective access tier, without performance impact or operational overhead. It moves objects that have not been accessed for 30 consecutive days to the infrequent access tier. If the object is accessed then it is automatically moved back to the frequent access tier. No retrieval fees or additional tiering fees are using the S3 Intelligent-Tiering storage class. It is ideal for storing long-lived data where the access patterns are unknown. Key Points:
S3 One Zone-IAS3 One Zone- Infrequent Access is for the data that is accessed less frequently but available for millisecond access. Since the other S3 storage class store data in a minimum of 3 Availability Zones (AZ), S3 One Zone-IA stores data in only one AZ which makes the costs 20% lesser than the S3 Standard-IA. It offers the same high durability, high throughput, and low latency. It can be considered as a good choice for storing secondary backup copies or easily re-creatable data if an AZ fails. Key Points:
S3 GlacierS3 Glacier is a low-cost storage class for data archiving where data access is infrequent. It provides a configurable retrieval time for the data from minutes to hours. This storage class uses a very low-cost Glacier storage service but the objects are still managed through S3. Key Points:
S3 Glacier Deep ArchiveThe S3 Glacier Deep Archive provides the lowest-cost storage class and supports long-term retention and digital preservation for data that may be accessed only once or twice in a year. It is ideal for those industries which store data for 5-10 years or longer like healthcare, finance, etc. It can also be used for backup and disaster recovery. Key Points:
S3 OutpostsS3 on Outposts provides object storage to our on-premises AWS outposts environment. S3 on Outposts makes it easy to store, retrieve, secure, control access, tag, and report on the data. It is ideal for workloads with local data residency requirements, and to satisfy demanding performance needs by keeping data close to on-premises. Key Points:
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. Related Links/ReferencesNext Task For YouBegin 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. |