DEV Community

Cover image for THIS IS BY FAR THE MOST EASIEST WAY TO CREATE AWS S3 BUCKETS FOR BEGINNERS
Arbythecoder
Arbythecoder

Posted on

THIS IS BY FAR THE MOST EASIEST WAY TO CREATE AWS S3 BUCKETS FOR BEGINNERS

Hello there, fellow adventurers of the cloud!

Are you ready to embark on a new journey
towards creating your very own AWS S3 bucket? Fear not, for I am here to guide you through this
exciting process with my cheerful and lively self!

First things first, let's talk about what S3 actually is. S3 (Simple Storage Service) is a web-based data storage service provided by Amazon Web Services. It allows you to store and retrieve files, documents, images, and videos easily and cost-effectively on the cloud. It is a reliable and scalable storage solution that can help you manage and store any amount of data from anywhere, at any time. In simple terms, it's like having a virtual closet where you can keep your files safe and organized, and access them whenever you need them.

Now, let's get started with creating your own S3 bucket.

Step 1: Log in to your AWS Management Console

To create an S3 bucket, you will first need to log in to your AWS Management Console. If you do not have an AWS account, don't worry! You can easily create one by following the on-screen instructions.

Image description

Step 2: Open the S3 service

Once you have logged in to your AWS Management Console, navigate to the S3 service by clicking
on the ‘Services’ menu on the top left corner of the screen and selecting ‘S3’ from the list of available services.

Image description

Step 3: Click 'Create Bucket'

Now that you are in the S3 service, you will see a blue button labelled ‘Create Bucket’. Clicking on this button will open a new page where you can set up your new bucket.

Image description

Step 4: Name your bucket

The first thing you will need to do is give your bucket a unique name. AWS has a global namespace for bucket names, so make sure your name is unique to avoid any conflicts. AWS does not allow uppercase letters.

Image description

Image description

Step 5: Choose a region

Next, you will need to choose the region where
you want your S3 bucket to be located.
We recommend selecting the region closest
to your users for better performance.

Step 6: Configure options (optional)

AWS also provides you with several configuration
options such as versioning,
encryption and object-level logging that you
can enable as per your requirements.

Image description

Image description

Step 7: Set permissions

You can also set permissions to your bucket
based on your access needs.
AWS provides three different access types - private,
public-read and public-read-write.
I recommend private access unless
there is a specific need to make the bucket public.

Image description

Step 8: Review and create

Once you have filled in all the necessary details,
review everything to make
sure that you have set up everything correctly.
Once you're happy,
click on the 'Create Bucket' button to create your
S3 bucket.

Step 9: Upload image
The essence of creating an AWS s3 bucket is to keep your images save.

Image description

Image description

Step 10: Ensure To Delete Unused Objects
Remember that the reason behind AWS s3 bucket is to save useful file, images etc. What is the purpose of saving something in the cloud that is of no relevance?
delete your unused object, check a screenshot of how I did mine below .

Image description

Congratulations! You have successfully created your
own AWS S3 bucket.

In summary, creating an AWS S3 bucket is straightforward and easy process. All you need to do is log in to your AWS Management Console, open the S3 service, and follow the step-by-step instructions. With AWS S3, you can store, retrieve and manage your data with ease and confidence. So, what are you waiting for? Go ahead and create your own AWS S3 bucket and
explore the endless possibilities of cloud storage!

In conclusion, creating an S3 bucket on AWS may
seem daunting, but by following these simple steps
and cheerful screenshots, you can create your first
S3 bucket with ease.

Let's keep exploring together, follow me for more amazing contents.

Top comments (3)

Collapse
 
rsiv profile image
Rak

Pretty interesting, but it looks like a lot of work that you'd have to repeat. Check out the Nitric framework which automates the boring bits. nitric.io

Your provisioning AND application code just looks like the following, and you choose your region at deploy time.

import { api, bucket } from '@nitric/sdk';

const public = api('public');
const photos = bucket('photos').for('reading');

public.get('/photos/:name', async (ctx) => {
  const { name } = ctx.req.params;
  ctx.res.body = await photos.file(name).getDownloadUrl();
});
Enter fullscreen mode Exit fullscreen mode
Collapse
 
bcouetil profile image
Benoit COUETIL 💫

There are far easier ways my friend.

Here is one :

aws s3api create-bucket --bucket my-project-bucket --region eu-west-1
Enter fullscreen mode Exit fullscreen mode
Collapse
 
arbythecoder profile image
Arbythecoder

Thank you for your contributions,much appreciated.