All guides
Home Glossary Object storage
Term

Object storage

A data storage architecture that manages data as distinct objects with unique identifiers and metadata, accessed via HTTP-based REST APIs.

Object storage is a data storage architecture that manages data as discrete units called objects within a flat address space, removing the overhead of nested directory trees. Each object bundles the raw payload, extensible custom metadata, and a globally unique identifier into a single unit. Applications interact with these objects over HTTP or HTTPS using standard REST methods like GET, PUT, and DELETE, most commonly through an S3-compatible API.

How it works

Instead of organizing files into folders or raw disk sectors, object storage places everything into logical containers known as buckets. Because there is no deep file-system hierarchy to traverse, locating an item requires only a direct lookup by its unique key. When you upload a file, the storage engine generates the identifier, attaches descriptive headers—such as content type, access permissions, or custom application tags—and distributes replicas or erasure-coded shards across multiple physical drives.

Unlike block storage, object storage is built for unstructured data and does not permit in-place edits. Changing even a single byte requires uploading and replacing the entire object. This trade-off eliminates distributed file-locking bottlenecks and allows clusters to scale horizontally to exabyte capacities simply by adding more storage nodes. Many platforms also enforce WORM (Write Once, Read Many) object locking to protect compliance archives and backups from accidental deletion or ransomware.

Example

Administrators and applications typically interact with object storage using command-line tools or SDKs rather than mounting a local drive. Using the standard AWS CLI configured against any S3-compatible endpoint, uploading a compressed database dump with custom metadata looks like this:

aws s3api put-object \
  --bucket prod-db-backups \
  --key postgres/dump-daily.sql.zst \
  --body ./dump-daily.sql.zst \
  --metadata "retention=30d,environment=production" \
  --endpoint-url https://s3.example-host.internal

Although the key includes a forward slash (postgres/dump-daily.sql.zst), the underlying system treats that entire string as a flat identifier rather than a real directory path.

What matters when choosing a server or hosting

  • API compatibility: Ensure the provider or self-hosted software (such as MinIO or Ceph) supports the S3 API natively so existing backup tools and application libraries work without custom adapters.
  • Durability and erasure coding: Look for architectures that stripe data and parity blocks across multiple drives and racks. If you are deploying self-hosted storage hardware, understanding underlying disk redundancy—similar to planning a DIY RAID Massif: Building a High-Performance Storage Array—helps prevent node failures from causing data loss.
  • Throughput vs. latency: Object storage prioritizes high aggregate bandwidth for large sequential transfers rather than sub-millisecond random I/O.
  • Egress and request fees: Managed cloud services often charge separately for outbound bandwidth and high-frequency LIST or GET API calls, which can surprise workloads that serve millions of tiny assets.

Common mistakes

  • Hosting active databases on object buckets: Running transactional databases directly over an HTTP API introduces severe latency and fails because databases rely on small, frequent in-place writes.
  • Mounting buckets as POSIX file systems: Tools like s3fs simulate local folders over HTTP, often causing stalled processes, partial write errors, and unexpected API request spikes.
  • Leaving buckets publicly readable: Misconfigured bucket policies remain one of the most frequent causes of accidental data exposure; always enforce private access by default and use short-lived pre-signed URLs for temporary sharing.

FAQ

Can object storage replace block storage for virtual machines?

No. Virtual machine boot disks require low-latency, random block-level read and write operations that HTTP-based object APIs cannot provide.

Why do keys use slashes if there are no folders?

Slashes act purely as naming prefixes. Management consoles and CLI tools use these prefixes to group objects visually and filter listings efficiently without maintaining actual directory metadata.

Is object storage eventually consistent or strongly consistent?

While older distributed systems relied on eventual consistency across regions, most modern S3-compatible implementations now provide strong read-after-write consistency for new uploads and overwrites within the same region.

All glossary terms

Glossary

Related terms

Full glossary

New guides every week.

A digest of the best pieces on servers, VPN and self-hosted software. No ads, no spam.

1 email a weekOne-click unsubscribeRU · EN
Only slipjar.app articles, nothing else.