Day 4: S3 Basics

Day 4: S3 Basics

Day 4: S3 Basics — Store Your First File in the Cloud

Goal: Understand what S3 is, how it works, and how to upload your first file.


📦 What is Amazon S3?

S3 stands for Simple Storage Service.

It’s like a giant online locker where you can keep any kind of file — photos, videos, PDFs, backups, app data, etc.

🧠 Think of it as:

“Google Drive, but for developers and companies, and way more powerful.”


🧱 Basic S3 Terms (explained simply):

TermWhat It Means (in plain English)
BucketA folder that holds your files. You must create a bucket before adding files.
ObjectAny file (image, document, video) you upload is called an object.
KeyThe name and path of the file inside the bucket.
RegionWhere your bucket is stored (choose one close to you).
Storage ClassTells AWS how often you’ll access the file. Cheaper if rarely accessed.

🛠️ Step-by-Step: Create Your First S3 Bucket

  1. Go to the AWS Console
    Sign in at console.aws.amazon.com
  2. Search for “S3” in the top search bar
    Click the first result.
  3. Click “Create bucket”
  4. Fill in the details:
    • Bucket name: Must be globally unique (e.g., my-first-bucket-2025)
    • Region: Choose your region (e.g., US East (N. Virginia))
    • Leave everything else as default for now.
  5. Scroll down and click “Create bucket”

🎉 You’ve created your first cloud folder!


📤 Upload Your First File

  1. Click on your bucket name
  2. Click “Upload”
  3. Click “Add files” and choose any file (e.g., a photo or .txt file)
  4. Click “Upload”

Now your file is safely stored in AWS S3!


🔒 What About Security?

  • By default, your bucket and files are private.
  • Nobody can access them unless you allow it.
  • We’ll explore permissions and sharing in a future lesson.

📝 Quick Recap

  • S3 = simple, powerful file storage in the cloud
  • Bucket = folder, Object = file
  • You can upload anything — safely and securely
  • Today, you created a bucket and uploaded your first file!

🧪 Small Challenge

Create a new bucket and try uploading:

  • A document (.pdf or .txt)
  • An image (.jpg or .png)
  • A video clip (if you have one)

See how S3 accepts all file types easily.

🔁 Navigate the Series:

⬅️ Day 3 – AWS Console Tour
➡️Day 5 – EC2 Basics

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *