Object Storage Fundamentals
A practical introduction to object storage: what objects contain, how buckets and keys organize them, and how object storage differs from file and block storage.
Objects and application access
Objects and application access
An object is a stored unit made up of three parts: the data (the bytes being stored), a (the name used to locate it within a ), and (descriptive or operational information about it). can include content type, creation time, cache settings, storage class, or user-defined tags.
For example, an application could store an image as the object’s data, name it events/2026/concert.jpg, and attach the content-type: image/jpeg. The and commonly identify that object; if versioning is enabled, a version identifier may also be needed.
Applications typically use a storage service’s API to create, retrieve, list, or delete objects. They commonly handle an object as a whole: upload it or replace it, then retrieve it. This differs from editing arbitrary byte ranges as though the stored object were a local disk. Exact capabilities and limits depend on the storage service.
Buckets, keys, and namespaces
Buckets, keys, and namespaces
A contains objects and provides a place to organize them. It commonly has settings for location, access controls, default storage behavior, or lifecycle rules. Buckets generally cannot be nested inside other buckets.
Within a , each must distinguish the object it names from other objects in that same . A such as events/2026/concert.jpg may look like a path through folders, but in a flat it is still one name—not a sequence of real directories. Consoles and tools may display slash-separated prefixes as folders to make browsing easier.
Do not assume that names follow the same uniqueness rules everywhere: some services require uniqueness across a wider provider , while others use different scopes. Likewise, some services offer optional hierarchical features. Check the particular service’s model rather than inferring it from how its console displays keys.
Choosing a storage model
| Model | Organization | Typical access |
|---|---|---|
| Object | Whole objects with keys in buckets; metadata is associated with each object. | Service API or compatible interface; address an object by bucket and key. |
| File | Files organized in a directory tree with paths. | File-system protocols and operations such as opening, reading, writing, and renaming. |
| Block | Data divided into addressable blocks on a storage volume. | A server or operating system reads and writes blocks, often using the volume to build a filesystem or support a database. |
Match the model to the access pattern
is commonly suited to large collections accessed as complete objects—for example, media libraries, backups, and data lakes. fits workloads that depend on shared directories and file semantics. is often used when applications need a disk-like volume and frequent, fine-grained reads and writes, such as with databases or virtual-machine disks.
Use these as common patterns, not rigid rules. The useful distinction is the access model: addressing whole objects by , working with files in a directory tree, or reading and writing addressable blocks.