Create An S3 Bucket On Aws And Upload A File.
Published: 2024-01-27 21:17:01

## What is Amazon S3?

Amazon Simple Storage Service (Amazon S3) is an object storage service that offers industry-leading scalability, data availability, security, and performance. Amazon S3 provides management features so that you can optimize, organize, and configure access to your data to meet your specific business, organizational, and compliance requirements.

Let's Proceed to create an S3 bucket;

**Step 1**: 

Sign into your AWS management console .



**Step 2**: 

In the left navigation pane, **choose Buckets**.




![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dc61z1x8obwt59dr5ji6.png)



_When the create bucket page opens, now fill in the details._


**Step 3**:

Choose a region - A region where your s3 bucket will be situated

**Step 4**:

Name your bucket- Your bucket name must consist only of lowercase letters, numbers.



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z01xe6axqm58eqnfytue.png)



**Step 5**:

Object Ownership-  For Object Ownership, disable or enable ACLs and control ownership of objects uploaded in your bucket.



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ziodwpofob68lewibi2h.png)


**Step 6**:

 Block Public Access settings for this bucket

For Block Public Access settings for this bucket, choose the Block Public Access settings that you want to apply to the bucket.

By default, all four Block Public Access settings are enabled. I  recommend that you keep all settings enabled,



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sm2rlrjbhyqykbp1ah8z.png)


**Step 7**: 


**Bucket Versioning** - For Bucket Versioning, you can choose if you wish to keep variants of objects in your bucket.


**Step 8**:

**Tags**-  Under Tags, you can choose to add tags to your bucket.( Tags are key-value pairs used to categorize storage). This is Optional





![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vel606dqpoxw4x8lwshx.png)




**Step 9**: 

 **Default encryption**, choose Edit.

To configure default encryption, under Encryption type, choose one of the following:

Amazon S3 managed key (SSE-S3)

AWS Key Management Service key (SSE-KMS)



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/obvju274fe14m99tiota.png)







**Step 10**:

**Advanced settings**: This is optional(We will not touch this in this blog)


**Step 11**:

Click **Create bucket**

  

## Now we upload a file on the bucket created


**Step 12**:

On the Upload page, Select the upload button 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dtaql2feuj9802gk2i0c.png)


**Step 13**:

Now click the **add files** button to add files




![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fyskcbhgioupg2cmy6vo.png)




**Step 14**:

Give it few seconds to get uploaded



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7tl9vhmxvwqksem1gqcf.png)



**Step 15**:

The file is successfully uploaded...yayyy




![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i4rciwvgzgyqt5thm321.png)


## Click on the file to view the full details



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6rajr3p21tcj9i9b7jj3.png)






**_Well done Mate ! You have successfully created S3 bucket and uploaded a file._**