Cloud Object Storage Fundamentals (AWS S3, GCS, Azure Blob Storage)
Store lake data on S3/GCS/Blob with durability, prefixes, and IAM as the foundation of the lakehouse.
In plain words
Scoped workload role and key policy. Next, multipart, checksum, target file size. Finally, versions, retention, encryption, and audit.
Think of it like…
Object storage is a nearly limitless safety-deposit warehouse with keys, labels, and receipts; a catalog or manifest is still required to know which boxes form one table.
Where you’ve seen it
A Spark writer publishes s3://lake/orders/dt=2026-11-21/part-*.parquet under an IAM role, with bucket versioning, KMS key grants, and an Iceberg commit that atomically references the committed data files.
Words you’ll hear
- S3
- AWS object storage with strong consistency semantics, versioning, lifecycle tiers, IAM policies, and S3 API behavior.
- GCS
- Google Cloud object storage with bucket IAM, retention, object versions, and GCS features integrated with BigQuery/Dataproc.
- Blob
- Azure's scalable unstructured object service integrated with Microsoft Entra, storage RBAC, and hierarchical namespace options.
- Operational boundary
- Eventually consistent design assumptions, broad anonymous/bucket grants, poorly chosen millions of tiny objects, and cross-prefix list operations can cause data-loss risk and high request latency/cost. Use least-privilege workload identities, server-side encryption and versioning where required, block public access, target 128 MB–1 GB files, and keep authoritative table metadata instead of discovering state by recursive listing.
Visual diagram
Theory & deep dive
S3: the working mechanism
S3, GCS, and Blob provide durable namespace-like object access over REST, with immutable object/version semantics, prefixes, lifecycle rules, IAM, encryption, and listings that do not form a database by themselves.
Scoped workload role and key policy. Multipart, checksum, target file size, then prefixes plus independent table metadata; this exposes the state governed by Blob.
A Spark writer publishes s3://lake/orders/dt=2026-11-21/part-*.parquet under an IAM role, with bucket versioning, KMS key grants, and an Iceberg commit that atomically references the committed data files.
Cloud Object Storage Fundamentals: failure mode and production response
Eventually consistent design assumptions, broad anonymous/bucket grants, poorly chosen millions of tiny objects, and cross-prefix list operations can cause data-loss risk and high request latency/cost.
Use least-privilege workload identities, server-side encryption and versioning where required, block public access, target 128 MB–1 GB files, and keep authoritative table metadata instead of discovering state by recursive listing. Track Object size as "128 MB–1 GB is a common analytical target", and make Request units visible to the dataset owner.
How it works, step by step
Step 1 of 41. Authenticate
Scoped workload role and key policy. S3, GCS, and Blob provide durable namespace-like object access over REST, with immutable object/version semantics, prefixes, lifecycle rules, IAM, encryption, and listings that do not form a database by themselves.
- Object size
- 128 MB–1 GB is a common analytical target
- GCS
- Google Cloud object storage with bucket IAM, retention, object versions, and GCS features integrated with BigQuery/Dataproc.
When to use it & trade-offs
What it is
S3, GCS, and Blob provide durable namespace-like object access over REST, with immutable object/version semantics, prefixes, lifecycle rules, IAM, encryption, and listings that do not form a database by themselves. A Spark writer publishes s3://lake/orders/dt=2026-11-21/part-*.parquet under an IAM role, with bucket versioning, KMS key grants, and an Iceberg commit that atomically references the committed data files.
Why it matters: Eventually consistent design assumptions, broad anonymous/bucket grants, poorly chosen millions of tiny objects, and cross-prefix list operations can cause data-loss risk and high request latency/cost. Use least-privilege workload identities, server-side encryption and versioning where required, block public access, target 128 MB–1 GB files, and keep authoritative table metadata instead of discovering state by recursive listing.
When to reach for it
- Store lake data on S3/GCS/Blob with durability, prefixes, and IAM as the foundation of the lakehouse.
- Choose S3 because it provides this capability: AWS object storage with strong consistency semantics, versioning, lifecycle tiers, IAM policies, and S3 API behavior.
- Keep evidence for Object size at "128 MB–1 GB is a common analytical target" so the last production stage-Lifecycle - versions, retention, encryption, and audit-remains testable.
When to avoid or be careful
- Eventually consistent design assumptions, broad anonymous/bucket grants, poorly chosen millions of tiny objects, and cross-prefix list operations can cause data-loss risk and high request latency/cost.
- Do not conflate GCS with S3. The second concept contributes different behavior: Google Cloud object storage with bucket IAM, retention, object versions, and GCS features integrated with BigQuery/Dataproc.
- Release only after this guardrail is in place: Use least-privilege workload identities, server-side encryption and versioning where required, block public access, target 128 MB–1 GB files, and keep authoritative table metadata instead of discovering state by recursive listing.
S3 / GCS / Blob - roles, limits, and operating cost
Strengths: AWS object storage with strong consistency semantics, versioning, lifecycle tiers, IAM policies, and S3 API behavior. S3, GCS, and Blob provide durable namespace-like object access over REST, with immutable object/version semantics, prefixes, lifecycle rules, IAM, encryption, and listings that do not form a database by themselves.
Watch out: Eventually consistent design assumptions, broad anonymous/bucket grants, poorly chosen millions of tiny objects, and cross-prefix list operations can cause data-loss risk and high request latency/cost.
Strengths: Google Cloud object storage with bucket IAM, retention, object versions, and GCS features integrated with BigQuery/Dataproc. In this workflow it supports: Organize - prefixes plus independent table metadata.
Watch out: The operating cost is real: small-file reads/listing can dominate compute.
Strengths: Azure's scalable unstructured object service integrated with Microsoft Entra, storage RBAC, and hierarchical namespace options. Its output can be checked with Key rotation.
Watch out: Operating guardrail: Use least-privilege workload identities, server-side encryption and versioning where required, block public access, target 128 MB–1 GB files, and keep authoritative table metadata instead of discovering state by recursive listing.
Interview signals & numbers to know
When this topic comes up
- “Where is the failure boundary for S3, and how would Object size reveal it?”
- “Why is GCS distinct from this behavior: azure's scalable unstructured object service integrated with Microsoft Entra, storage RBAC, and hierarchical namespace options?”
- Production clue: Eventually consistent design assumptions, broad anonymous/bucket grants, poorly chosen millions of tiny objects, and cross-prefix list operations can cause data-loss risk and high request latency/cost.
- Design probe: Use least-privilege workload identities, server-side encryption and versioning where required, block public access, target 128 MB–1 GB files, and keep authoritative table metadata instead of discovering state by recursive listing.
Benchmarks & rules of thumb
- Object size
- 128 MB–1 GB is a common analytical target
- Request units
- small-file reads/listing can dominate compute
- Key rotation
- KMS and application access are tested without rewriting objects unnecessarily
Common mistakes & follow-ups
Common interview mistakes
- Eventually consistent design assumptions, broad anonymous/bucket grants, poorly chosen millions of tiny objects, and cross-prefix list operations can cause data-loss risk and high request latency/cost.
- Reporting success from a job exit code without checking Object size and Request units.
- Treating this example as complete without replay, rollback, or access boundaries: A Spark writer publishes
s3://lake/orders/dt=2026-11-21/part-*.parquetunder an IAM role, with bucket versioning, KMS key grants, and an Iceberg commit that atomically references the committed data files.
Likely interviewer follow-ups
- How would you prove this contract instead of only checking that the command ran: AWS object storage with strong consistency semantics, versioning, lifecycle tiers, IAM policies, and S3 API behavior.
- What does the recovery plan do when this occurs? Eventually consistent design assumptions, broad anonymous/bucket grants, poorly chosen millions of tiny objects, and cross-prefix list operations can cause data-loss risk and high request latency/cost.
- When is S3 insufficient for Request units, and what does adding GCS cost in Object size?
Knowledge check
Put it into practice
Practice related interview Q&A
Apply Cloud Object Storage Fundamentals (AWS S3, GCS, Azure Blob Storage) with data engineer interview Q&A and hands-on practice.