DEV Community

Cover image for Create An S3 Bucket On Aws And Upload A File.
Tolulope Adeleke
Tolulope Adeleke

Posted on

Create An S3 Bucket On Aws And Upload A File.

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

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

Step 5:

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

Image description

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

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

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

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

Step 13:

Now click the add files button to add files

Image description

Step 14:

Give it few seconds to get uploaded

Image description

Step 15:

The file is successfully uploaded...yayyy

Image description

Click on the file to view the full details

Image description

Well done Mate ! You have successfully created S3 bucket and uploaded a file.

Top comments (0)