Explore

Cloud storage: block, file, object and keeping data safe

by Froga

The three kinds of storage and what each lets you ask for, how an object store survives failures, what it costs, and how to secure it. You will be able to choose storage, read durability and cost claims and judge a bucket's protections. About 15 minutes.

You're previewing this room. Log in or create a free account to answer the questions and track your progress.
Study material

What this room is about. This room is about where a cloud keeps its data. It compares block, file and object storage by what each lets you ask for, shows how an object store survives broken disks and lost buildings, covers storage classes and cost, and then turns to protection: encryption, public buckets, access layers, logging, versioning, deletion and where data legally lives. In the course story, from one physical server towards the cloud, this is the part that has to outlast every machine.

Why it matters. A machine in the cloud is disposable because you can rebuild it from code, but data is the one thing you cannot rebuild. It is also where the largest incidents happen, and they are usually a bucket left readable to anyone or credentials that were too powerful, not a clever attack. Choosing the wrong kind of storage, or leaving one setting off, can mean lost, leaked or unaffordable data.

Words you will meet.

  • Block and file storage: block storage is a raw disk that one machine formats and overwrites in place, and file storage is a shared tree of named files you can read part of.
  • Object storage: a flat bucket of whole objects that you put, get, delete and list by name, which can grow almost without limit.
  • Erasure coding: splitting data into fragments with extra computed ones, so that any k of n fragments rebuild the original at a lower cost than a second full copy.
  • Durability and availability: durability is the chance the data still exists, while availability is the chance you can reach it right now, and it is quoted much lower.
  • Egress: the charge for taking data out of a provider, which turns lock-in into a number.
  • Encryption at rest and in transit: at rest protects data on the disk and in transit protects it on the network with TLS, and neither helps if someone with valid access asks for the data.
  • Versioning and object lock: versioning keeps old versions when an object is changed or deleted, and object lock stops anyone deleting the data before a set date.

By the end you should be able to:

  • Match block, file and object storage to the request each is built around, and choose one for a workload.
  • Explain how an object store reaches very high durability, and why durability and availability are different promises.
  • Choose storage classes and lifecycle rules, and name hidden costs such as egress.
  • Judge how encryption, layered access control, logging and temporary access protect a bucket, and why public buckets cause so many incidents.
  • Reason about versioning, object lock, erasure requests and data residency, where the goals can pull against one another.

How to use it. Each question has its own study text above it, so read that first and then answer; the answers and explanations show at the end of the room.

In object storage, what does durability mean?

multiple choice

AHow quickly an object can be read back after it has been written
BHow often the service can be reached without an outage during a year
CHow strongly the objects are encrypted while they are kept on disk
DHow likely it is that stored data still exists and has not been lost
Log in to answer

Ready to test yourself?

Sign up free to answer, score points, and build your streak.