Skip to main content

Command Palette

Search for a command to run...

How to create a bucket in AWS S3 and upload files (objects) in it

Updated
2 min read
How to create a bucket in AWS S3 and upload files (objects) in it

In this blog i will direct you through the process of creation of bucket in aws s3 and upload object in it.

First let me familiarize you with the terminologies:

  • Bucket : It is like a common repository/directory where you store all of your objects.Every file, image, or piece of data you upload is stored inside a bucket. You must create a bucket before you can upload data to S3.
    Analogy -> Think of an S3 bucket as a giant storage box in the cloud, where you place files, images, documents, or even backups. Each item is labeled (key), and you can organize, retrieve, or control access to everything inside

  • Object: In AWS S3, an object is a single file and all its associated metadata that is stored in a bucket. Object = File + Metadata
    Analogy -> If a bucket is like a storage box, an object is any item inside it (file), with a unique label so you can find and manage it later.

Step by Step bucket creation:

  1. Open AWS console

  2. Sign in or Create a account

  3. Click on view all services → go to storage → click on S3 or Search S3 in search bar and click on it

  4. Click on create bucket

  5. Leave everything else on default just enter your bucket name

  6. Click on create a bucket at the end

  7. Click on the bucket name which you have just created

  8. Click on upload

  9. Upload the files or folder by clicking on Add files/ Add folder

  10. Lastly click on upload

You’ve successfully created a bucket and uploaded object in it.

📝Note: The object which you have uploaded doesn’t allow public access, which means you cant share it to others because while creating the bucket you clicked on block public access. To share your object publicly wait for the next blog