Storage accounts, storage services, tiers and redundancy

What a storage account holds, how to pick between blobs, files, queues and tables, what each redundancy option copies and where to, and how the access tiers trade a lower storage price for a higher access price and a longer wait.

Lesson 8 of 11 in objective architecture-and-services. Azure architecture and services, part of Microsoft Certified: Azure Fundamentals (AZ-900).

The three redundancy options, counted by copies and by the boundary each one crosses. LRS — The full name: Locally redundant; Where the copies are: Three, in one datacentre; How it is written: Synchronously; The failure it survives: A disk, a rack, a server. ZRS — The full name: Zone-redundant; Where the copies are: Three, across zones in the region; How it is written: Synchronously; The failure it survives: A whole datacentre. GRS — The full name: Geo-redundant; Where the copies are: Six: three here, three in the pair; How it is written: Asynchronously across regions; The failure it survives: A whole region LRS ZRS GRS The full name Locally redundant Zone-redundant Geo-redundant Where the copies are Three, in one datacentre Three, across zones in the region Six: three here, three in the pair How it is written Synchronously Synchronously Asynchronously across regions The failure it survives A disk, a rack, a server A whole datacentre A whole region
The three redundancy options, counted by copies and by the boundary each one crosses.

The account, and the services inside it

A storage account is the container for the settings and the namespace: its name is globally unique and forms the hostname other things address it at, and the redundancy option, the default access tier, the network rules and the encryption settings are all properties of the account rather than of the data inside it. Managed disks are the exception worth knowing — they are their own resource type and do not sit in an account you create.

Four services live inside, and the quickest way to pick between them in a scenario is to ask how the application wants to ask. Blobs are objects fetched over HTTP by URL, which suits unstructured data at any scale but means an application expecting a file path would have to be rewritten. Azure Files provides managed shares mounted over SMB — and over NFS on the premium tier — so an existing application carries on using paths, and on-premises servers can mount the same share. Queues carry messages so components can work independently of each other, and tables hold schemaless key-value rows. A path or a URL is usually the whole discriminator.

What a single storage account contains, and how each service is addressed. Storage account contains Blob service (objects fetched by URL), File service (shares you mount at a path), Queue service (messages between components), Table service (schemaless key-value rows). Storage account Blob service objects fetched by URL File service shares you mount at a path Queue service messages between components Table service schemaless key-value rows
What a single storage account contains, and how each service is addressed.

Redundancy: count the copies, then ask where they are

Locally redundant storage keeps three copies inside a single datacentre, which protects against a failed disk or rack and nothing larger. Zone-redundant storage writes three copies across availability zones in the primary region, so losing a whole datacentre is transparent to the application. Geo-redundant storage adds a second location entirely: three copies locally plus three in the paired region. Geo-zone-redundant combines the two, spreading the primary copies across zones and still keeping a copy in the pair.

The synchronous-against-asynchronous distinction matters as much as the geography. In-region replication completes before the write is acknowledged, so those copies are never behind. Cross-region replication is continuous but asynchronous, so a regional failover can lose the most recent writes — which is what a recovery point objective is describing. And redundancy is not readability: with plain geo-redundant storage the second copy exists for recovery and cannot be read, and reading it needs either the read-access variant, which gives you a second read-only endpoint, or a failover.

Access tiers trade storage price for access price

Pick a tier with two questions: how often is this read, and how long can you wait for it. Hot has the highest storage price and the lowest access price, which suits data read constantly. Cool and cold are progressively cheaper to keep and dearer to read, and both are still online, so data comes back in milliseconds. Archive is offline: the storage price is the lowest available and a blob has to be rehydrated to an online tier before it can be read, which takes hours rather than moments.

Two details that decide questions. Archive is set on individual blobs rather than as an account default, unlike the online tiers. And each of the cooler tiers carries a minimum retention period — thirty days for cool, ninety for cold, a hundred and eighty for archive — so deleting or moving data early triggers an early-deletion charge that can undo the saving you moved it for. Where consistently low latency and high transaction rates are what matter, a premium block blob account is the answer and it costs accordingly.

The blob access tiers, arranged by how often the data is actually read. A range from Read constantly to Read almost never. Hot: dearest to keep. Cool: online, 30 days. Cold: online, 90 days. Archive: offline, hours. Read constantly Read almost never Hot dearest to keep Cool online, 30 days Cold online, 90 days Archive offline, hours
The blob access tiers, arranged by how often the data is actually read.

Worth carrying in

Storage account
Globally unique name, and the place redundancy, tier and network rules are set.
Blob
An object addressed by URL. Held in a container inside the blob service.
Azure Files
Managed shares mounted over SMB, or NFS on premium. Paths, not URLs.
Queue storage
Messages passed between components so they can run independently.
Table storage
Schemaless key-value rows for structured, non-relational data.
LRS
Three copies, one datacentre, written synchronously.
ZRS
Three copies across zones in the region, written synchronously.
GRS
Locally redundant here, plus an asynchronous copy in the paired region.
RA-GRS
Geo-redundant, with the secondary copy readable at its own endpoint.
GZRS
Zone-redundant in the primary region, plus a copy in the pair.
Hot tier
Dearest to store, cheapest to read. For data in constant use.
Archive tier
Offline and cheapest to store. Rehydration takes hours, and it is set per blob.
Rehydration
Moving an archived blob back to an online tier before it can be read.

What the exam does with this

Objective
architecture-and-services. Azure architecture and services
Share of the exam
38.46% (the whole objective)
Questions in this lesson
4
Signed for by a person
0

Partly checked. None of the 4 questions here has been read against the cited source by a person. 4 questions have been checked against their cited clause by an automated pass — which is not the same thing, and is not a signature.

Only questions a person has signed for are used in mock exams here. That is the whole difference between the two kinds of checking above.

Questions in this lesson

Drill this lesson

A lesson is one sitting: the trainer draws a short run from these questions alone and spaces the ones you get wrong.

Practise Storage accounts, storage services, tiers and redundancy

The rest of objective architecture-and-services