$ aws s3 cp part-0.parquet s3://lake/orders/dt=2026-11-16/

Object Storage

Object storage keeps data as objects: a blob of bytes plus metadata, stored under a key inside a bucket, and accessed over HTTP with a handful of verbs (PUT, GET, HEAD, LIST, DELETE). There are no real folders, no file handles and no in-place edits: you write a whole object and read it back, optionally just a byte range. In exchange you get storage that scales to exabytes, is replicated across data centers automatically, and costs a few cents per GB per month. Amazon S3 defined the model and its API is the de facto standard; Google Cloud Storage, Azure Blob Storage, Cloudflare R2, Ceph and MinIO all follow it.

What happens on a PUT and a GET

$ PUT s3://lake/orders/part-0.parquet
Writing and reading one object
CLIENT Spark, boto3 API FRONT END auth, routing METADATA INDEX key → size, ETag, where the bytes are NODEzone a NODEzone b NODEzone c PUT lake/orders/part-0.parquet orders/part-0.parquet → a, b, c 200 OK · ETag "9b2f…" GET part-0.parquet Range: last 64 KiB (footer) change 1 row → PUT a whole new object no in-place edit; versioning keeps the old one
  1. An object store is a fleet: stateless front ends speaking HTTP, a metadata index mapping keys to locations, and many storage nodes across zones.
  2. The client sends PUT with the key, the bytes and headers (content type, custom metadata), signed with its credentials.
  3. The bytes are split into shards with erasure coding (or plain copies) and spread over nodes in several availability zones, so losing a disk or a zone loses nothing.
  4. Only after the data is durable is the key written to the index. The client gets 200 OK and an ETag. Any later GET or LIST sees the new object.
  5. A reader sends GET, often with a Range header. Parquet readers fetch the footer first, then only the column chunks they need.
  6. Objects are immutable: to change one row you write a new object. That is why lakes use table formats (Iceberg, Delta) that add files and swap metadata instead of editing.

Key properties

  • Flat namespace. orders/dt=2026-11-16/part-0.parquet is one key; the slashes only look like folders. “Listing a folder” is a prefix query, and renaming a “folder” means copying every object. This is why Hadoop-era tricks that relied on cheap directory renames do not work on S3.
  • Strong consistency. Since December 2020, S3 gives strong read-after-write consistency for PUTs, overwrites, deletes and LIST. GCS and Azure Blob are also strongly consistent. Older blog posts about eventual consistency (and tools like S3Guard) are outdated.
  • Conditional writes. S3 supports If-None-Match (2024) and If-Match on PUT, so writers can create-if-absent or compare-and-swap. Table formats and lakehouse catalogs use this to commit safely.
  • Multipart upload. Large objects are uploaded in parts (5 MiB to 5 GiB each, up to 10,000 parts) in parallel, then completed in one call. Failed uploads leave invisible parts that still cost money; add a lifecycle rule to abort them.
  • Durability and availability. S3 Standard is designed for 99.999999999 % (11 nines) durability and 99.99 % availability.
  • Storage classes and lifecycle. Move cold data automatically to cheaper tiers (S3 Standard-IA, Glacier, GCS Coldline/Archive), trading lower storage price for retrieval fees and delay.
  • Request costs and limits. You pay per request as well as per GB. S3 handles at least 3,500 writes and 5,500 reads per second per prefix; spread hot data over prefixes.
Store Type Notes
Amazon S3 Managed The reference API. Also S3 Express One Zone (single-zone, single-digit ms latency) and S3 Tables (managed Iceberg tables, 2024).
Google Cloud Storage Managed Regional, dual-region and multi-region buckets.
Azure Blob Storage Managed With hierarchical namespace enabled (ADLS Gen2) it supports real directories and atomic renames.
Cloudflare R2 Managed S3-compatible with no egress fees.
Ceph RGW Self-hosted S3 and Swift API on top of Ceph’s RADOS cluster, which also serves block and file storage.
MinIO Self-hosted Popular S3-compatible server. In 2025 MinIO removed most of the admin console from its community edition and stopped publishing free binaries; check the current licensing before adopting it. Alternatives include Ceph RGW, SeaweedFS and Garage.

Why data lakes live on object storage

  1. Separate storage from compute. Keep one copy of the data; start and stop Spark, Trino or DuckDB clusters as needed.
  2. Cheap and unlimited. No volumes to resize, no disks to replace.
  3. Open formats. Parquet files plus an Iceberg or Delta table on S3 can be read by many engines.

The costs: higher latency per request, no in-place updates, and many small files hurt badly. Aim for objects of 100 MB to 1 GB for analytics. See Data Lake and Parquet.

Common mistakes

  • Millions of tiny files from streaming jobs: listing and opening them dominates query time. Compact them.
  • Public buckets by accident. Keep Block Public Access on and grant access through IAM roles.
  • Ignoring egress and request costs when another cloud or region reads the data.
  • Treating a prefix rename as cheap. It is a copy plus delete of every object.

Learning Resources