DEV Community

Cover image for How To Create an AWS S3 Bucket.
Joan Amaka
Joan Amaka

Posted on

How To Create an AWS S3 Bucket.

INRODUCTION

A bucket is a fundamental storage container within AWS. A bucket is used to store objects, which can be files, data, or any other content, Bucket are created in S3 service storage. Buckets in S3 are similar to folders or directories in a traditional file system, but they are highly scalable and designed for cloud storage.

S3: Simple Storage Service; S3 is designed to store and retrieve any amount of data from anywhere on the web.

This article tends to discuss about the benefit of storing your data in S3 bucket and how you can get started creating a bucket.

Storing your data in an Amazon S3 bucket offers several significant benefits such as;

Versioning and Data Protection: S3 allows you to keep multiple versions of an object, protecting you against accidental deletion or overwrites.

Static Website Hosting: S3 can be used to host static websites (HTML, CSS, JavaScript), offering a low-cost and easy-to-manage solution for web hosting.

Flexibility and Accessibility: Data stored in S3 can be accessed from anywhere in the world via the internet, using HTTP/HTTPS, AWS SDKs, or the AWS CLI.

Prerequisite

  1. A working computer
  2. Have an AWS account Amazon
  3. VS code.

Implementation: step by step guide

Log in to AWS Management Console:

Image description
Log in with your AWS account credentials.

Image description
Navigate to S3 From the AWS services dashboard.

Image description
Click on storage on the left navigation and then click on S3 on the right navigation.

Image description
Click on create a bucket.

Image description
Chose a region that is close to you for easy accessibility of the bucket the closer you are to the region the faster the access.

Image description
Enter the name of your bucket.

Image description

Image description
Select ACLs enabled.

Image description
Uncheck the box for block all public access.

Image description
check the acknowledge box.

Image description
Leave everything as default scroll down to click on create bucket.

Conclusion

In this article, we learnt about what a bucket is in AWS the benefit of creating a bucket and a step guide of creating a bucket. In my next article, we will discuss about how to upload a file and folder in the bucket.

And I encourage you to try this simple approach to create an AWS S3 bucket.

Top comments (0)