CLOUD / A CONCEPT NOTE
Block vs Object Storage
three ways to keep bytes
Overview · mechanism
pitfall · examples
01 / THE SHORT VERSION
The idea in a few sentences.
Block storage (EBS) attaches raw disk sectors to a single machine (highest performance). Object storage (S3) stores flat files at a URL (unlimited scale, slower access).
02 / FOLLOW THE MECHANISM
How file access differences flow
Block Access
database reads raw block sectors (0x3A) directly from mounted cloud disk (EBS).
Object Access
application pulls files by HTTP URL: GET s3://bucket/photo.jpg.
File storage (EFS)
multiple virtual machines mount the same network folder (NFS) to share assets.
04 / COMMAND NOTES
Read the command, then the result.
Inspect the flags and arguments before trying an example. Snippets can need local setup, replacement values, or resources in your own environment.
list all cloud block storage volumes in the region
aws ec2 describe-volumes05 / CHECK YOURSELF
Could you explain Block vs Object Storage to a teammate?
Try it out loud in two sentences: what it is, and the one detail that changes the picture. If you stall, the gap is the part to reread.
Up next in Cloud architectureManaged vs Self-hostedwhat you pay the cloud to worry about