Creating S3 buckets with AWS
Tags: cloud, aws, devops, tutorial
Published: 2023-04-14 07:49:52

Have you had trouble creating an S3 bucket with AWS? Well, this tutorial is here to help you. We will go through a step by step procedure on how to create AWS buckets and how to upload files in them so be keen and follow along.

**1. Log in to your console and go to left navigation panel**
Once you log into your console, go to the left navigation panel and look for storage. It will bring another navigation panel and choose the S3 option.


![navigation panel](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t476fjuev3thkpuvy8p6.PNG)

**2. Create a bucket**
A new page opens once you choose the S3 option. Since objects stored in S3 are in buckets, you will have to create a bucket.


![create bucket](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h7s90i33iz9npqw1qvdd.PNG)

**3. Fill in necessary bucket information**
When you create a bucket you are prompted to fill in the necessary information about the buckets. 
First you will name the bucket. Make sure the name is unique so that it does not match any other buckets in the system.

![Name bucket](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oxklrmubzum8rpm9hlo7.PNG)

Next is to choose the bucket ownership. This is to determine who can access the objects stored in your bucket.

![bucket ownership](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/aoddpmch744m0iyw0h4g.PNG)
After that is block public access settings for your bucket. If you chose ACL disabled in the previous step, the block public access setting will be automatically checked off. 

![block public access](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/goec4d2fxnhpzhn69i4g.PNG)
After that, the rest are automatically determined by AWS so we will leave them like that.

Making sure all the required fields are filled, proceed to create a bucket. 

![Create a bucket](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/unc9lzahps1hn2s15te1.PNG)
When the bucket is created successfully, you will see the notification as shown below.

![successful bucket creation](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bnfgej6qkm67xshunxa7.PNG)

**4. Uploading files to your bucket.**
To be able to upload files to your bucket, click on the specific bucket and once the bucket information loads up, click the upload button.

![Upload to bucket](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/azxok4trlmgf85i0bxow.PNG)

You can choose to upload a file or a folder to your bucket, so pick whichever you want and upload.

![file upload](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oe3mv57dfumeivopo7ib.PNG)
Once it has successfully uploaded, it will direct you to the upload status page where you can see which file you uploaded and details about it. 

![bucket status](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mk9ef6xl13o1rxeeg80c.PNG)
You will also be able to see the URL of the object you uploaded and you can view the object using the URLs provided from any device.

![bucket urls](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cu4gt856596hs2v5qtjp.PNG)

Congratulations, you have now learnt how to create a bucket and upload files to your bucket.

Be sure to follow for more cloud computing contents.