The Ultimate Step-by-Step Guide to Create and Use AWS S3

Ayush Ranjan
6 min readSep 11, 2023

--

Photo by Francesco Ungaro on Unsplash

AWS is a leading provider in the constantly evolving cloud computing field. It offers a wide range of services that cater to the needs of both individuals and businesses. One of its key services is Amazon S3, which provides secure and scalable data storage. This guide will take you through the process of creating and utilizing AWS S3 to its fullest potential, enabling you to leverage this powerful tool.

Understanding the Basics

Amazon Simple Storage Service (Amazon S3) is an object storage service provided by Amazon Web Services (AWS). It is designed to store and retrieve data from any location on the web, making it a key component of modern cloud computing infrastructure. Amazon S3 offers a wide range of features and capabilities that are essential for businesses and individuals in need of a dependable storage solution.

Why Choose AWS S3?

  • Durability: Amazon S3 ensures exceptional durability by redundantly storing data across multiple locations, providing you with peace of mind that your data is safe and secure.
  • Scalability: Amazon S3 is a highly efficient and scalable solution for managing large volumes of data. With its advanced capabilities, it can easily handle the ever-growing demands of data storage and retrieval.
  • Security: Platform provides a wide range of access control features and encryption options to ensure the utmost security of your data. With our robust security measures, you can rest assured that your data is protected from unauthorized access and potential security breaches..
  • Performance: Amazon S3 is a cloud storage service that provides fast and reliable storage for businesses of any size. It allows users to store and retrieve data from anywhere in the world, without the need for complex storage infrastructure management.

Guide in Steps

Here is a step-by-step guide for creating AWS S3.

STEP 1: Signing into your AWS account.

STEP 2: Search S3 in search bar.

STEP 3: Click on Create Bucket.

STEP 4: Please enter a globally unique name for your bucket.

For Object Ownership select ACL’s disabled.

To enhance security, it is recommended to select "Block all public access" option. This will prevent unauthorized access to your bucket objects from the internet.

To disable bucket versioning, select the "Disable" option, which will prevent the maintenance of any versions of your bucket.

STEP 5: Click on create bucket option.

Congratulations your bucket is created.

You can explore the properties and permissions of the bucket also.

Properties section.

Permissions section of bucket

Let's take the next step and upload an image file to our bucket!

Click on Upload Button.

Click on Add Files.

Please choose the file you wish to upload. For example, I will be uploading a PNG image.

Click on Upload Button.

Your file has been uploaded successfully if you see the green progress bar.

To effortlessly retrieve an image from the internet, all you need to do is copy the URL of the desired object.

But wait when attempting to paste the URL into a new tab and accessing it, an error occurs due to the public access being disabled.

To do so, navigate to the permission section of the bucket and select the "Edit" button.

Uncheck the Block all public access option and click on save changes.

Type confirm and select the confirm button.

Click on Edit Button for creating a bucket policy.

These are the lines to create bucket list.

Replace the Bucket ARN with your Bucket ARN.

Click on Save Changes button.

The Bucket is now public. Please try reloading the URL.

If you can see the image than, Congratulation you have successfully created the bucket, uploaded the image successfully and made the bucket public.

Summary

Amazon Simple Storage Service (Amazon S3) is an exceptional object storage service provided by Amazon Web Services (AWS) that offers reliability, flexibility, and scalability. This comprehensive guide covers all aspects of Amazon S3, from setting up an AWS account to mastering advanced features. Whether you are new to AWS or looking to optimize your existing S3 setup, this guide provides a roadmap to leverage the full potential of Amazon S3 for your specific requirements. With its effortless scalability, data durability, strict security measures, and high-performance access, Amazon S3 is an essential tool for individuals and businesses to store, manage, and access data on the web. Discover how Amazon S3's data availability, security, and performance make it a popular solution for various use cases. Don't miss out on the opportunity to take advantage of Amazon S3's full potential!

--

--

Ayush Ranjan
Ayush Ranjan

Written by Ayush Ranjan

Exploring cloud technology and making easy guides about it