S3- A Powerful AWS Toy

Cv Akhilesh2Cv Akhilesh2
2 min read

Amazon S3 Explained with a Real-World Example

Imagine you own a library. This isn't just any library—it's a digital library that can store unlimited books, documents, images, and videos. You don’t have to worry about running out of space, and you can access any book from anywhere in the world.

How S3 Works in This Library Setup:

1. Buckets = Bookshelves

In your library, you organize books into shelves. Similarly, in S3, you store your data inside buckets.

Each bucket has a unique name, just like each shelf might be labeled "Science," "History," or "Fiction."

2. Objects = Books

Inside a shelf, you place books. In S3, these books are called objects (files).

An object can be a document, an image, a video, or even a backup file.

3. Keys = Book Titles

Every book in your library has a unique title, so you can easily find it.

In S3, every object has a unique key (filename + path), making retrieval quick and easy.

4. Versioning = Different Editions of Books

Imagine you publish new editions of books. Instead of replacing the old one, you keep both.

S3’s versioning works the same way—it keeps multiple versions of the same file.

5. Storage Classes = Different Shelves for Different Needs

Some books are in the main section (frequently accessed), while rare ones are in an archive.

Similarly, S3 has storage classes:

Standard (for frequently accessed files)

Glacier (for long-term archives, like storing books in a deep basement)

6. Permissions & Security = Library Membership

Not everyone can take books from your library—you set permissions.

In S3, you control who can view or edit files using IAM roles, policies, and access control lists (ACLs).

7. Data Durability & Backup = Fireproof & Waterproof Library

What if a disaster happens? Your books should be protected.

Amazon S3 ensures 99.999999999% durability by keeping copies of your data in multiple locations.

Real-World Example

Let’s say you run an online photo-sharing website. Instead of storing photos on your local server, you use S3:

✅ Users upload photos → Stored in an S3 bucket

✅ When someone views a photo → S3 retrieves it instantly

✅ Older, rarely accessed photos → Moved to Glacier storage to save costs

This way, your website never runs out of space, loads fast, and is cost-efficient!

That’s why S3 is the go-to solution for storing and managing data in the cloud.

Thank you for reading, if any doubts connect me on linkedin, let's connect Togethor and learn together

Like share to my blog♥️

11
Subscribe to my newsletter

Read articles from Cv Akhilesh2 directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Cv Akhilesh2
Cv Akhilesh2