Cloud · Extra High-Value

Object storage vs block storage

Easyobject storageblock storages3ebs

Interview question

What is the difference between object storage and block storage?

How to answer

The short answer

stores files as objects in buckets (S3, GCS, ADLS/Blob). You address them by key over HTTP APIs. Ideal for data lakes, backups, and shared analytics files.

Block storage is a disk volume attached to a VM (EBS, Persistent Disk, Azure Disk). The OS sees blocks/filesystems. Ideal for database data directories and boot disks.

Output
Object:  app --HTTP--> s3://bucket/file.parquet   (many readers)
Block:   VM  --attach--> /dev/xvdf mounted at /data (one instance*)

\*Some cloud disks can multi-attach in special cases; default mental model is one VM.

Comparison

ObjectBlock
InterfaceObject API / keysDisk / filesystem
SharingEasy across servicesTied to compute (usually)
Use in DELake files, Parquet, logsDB volumes, local disks
MetadataRich object metadataFS metadata

Interview tip: Lakes use object storage; databases usually sit on block volumes. Spark reads Parquet from object storage, but executors may still use local block disks for shuffle spill.