Objects, Buckets, and Keys
You'll learn the three fundamental building blocks that make object storage work: objects (your data), buckets (containers), and keys (identifiers).
The Core Components
Think of object storage like a massive digital library. Just as a library needs books, shelves, and a cataloging system, object storage relies on three essential components working together.
Objects are the actual units of data you store—files, images, videos, backups, anything. Each object consists of the data itself plus metadata (information about the data, like content type or custom tags). Objects can range from a few bytes to multiple terabytes.
Buckets are containers that hold objects. Like a folder or directory, a bucket organizes your objects, but it's flat—there's no nested hierarchy. Each bucket has a globally unique name across the entire cloud provider's system. You might create separate buckets for different applications, environments, or data types (like my-app-images or company-backups).
Keys are unique identifiers for each object within a bucket. The key is essentially the object's name or path. While buckets are flat, you can use forward slashes in keys to simulate folder structures. For example, the key photos/2024/vacation.jpg looks like a nested path but is actually just a single string identifier.
How They Work Together
When you store data, you specify a bucket and a key. The combination of bucket name + key creates a globally unique address for your object. To retrieve data later, you reference that same bucket and key pair.
Key Takeaway: Object storage uses objects (data units), buckets (flat containers with unique names), and keys (unique identifiers within buckets) to organize and locate your data at massive scale.