Storage classes & data durability

S3 classes and lifecycle rules, EBS volume types (gp3 vs io2), EFS vs FSx, 11-nines durability vs availability. Storage picks drive half the bill.

About 29 min read3-question knowledge check

The mental model

Storage is where most cloud engineers first learn that the bill has a shape. Think of it as choosing where to keep your belongings. The clothes you wear this week go in the wardrobe — instant access, expensive floor space. Last winter's coats go in a suitcase on top of the cupboard — a little effort to retrieve, much cheaper. The documents you must keep for seven years for tax go in a trunk in the basement storage unit — retrieval takes a day and a small fee, but the rent is almost nothing. You would never pay wardrobe rent for the tax trunk, and you would never put this week's shirt in the basement.

AWS storage classes are exactly that spectrum of wardrobe-to-basement, and the entire skill is matching the access pattern of the data to the class whose price rewards that pattern. S3 alone has classes ranging from about $0.025 per GB-month for hot data down to roughly $0.0018 per GB-month for deep archive (ap-south-1) — a 14x difference for the same bytes, decided by how often you touch them.

Why this exists as a distinct discipline: storage is often half the cloud bill, and unlike compute it only ever grows. Nobody deletes data, logs accumulate forever, snapshots pile up, and a bucket created in 2021 with no lifecycle rule is quietly the most expensive line item in the account by 2026. The other reason is a distinction people conflate constantly and interviewers test deliberately — durability (will my data survive?) versus availability (can I read it right now?). S3 Standard is eleven nines durable and designed for 99.99% availability (backed by a 99.9% SLA); those are different guarantees answering different questions, and confusing them is the fastest way to sound junior.

The full lesson continues with 15 more sections
  • Deep dive
  • Internal architecture
  • Real-world use cases
  • Best practices
  • Common mistakes
  • Performance
  • Security
  • Production troubleshooting
  • Advantages & disadvantages
  • Alternatives
  • Interview expectations
  • Interview questions
  • Facts to remember
  • Cheat sheet
  • Quick revision