Choosing Azure Storage Redundancy
Redundancy options decide which failures stored data survives. This lesson explains LRS, ZRS, GRS, GZRS and their read-access variants, and how failover works.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish between LRS, ZRS, GRS, GZRS, RA-GRS and RA-GZRS.
- Choose a redundancy option that meets availability and durability requirements.
- Explain how redundancy is changed and what happens during an account failover.
Redundancy in the primary region
Locally redundant storage (LRS) keeps three synchronous copies within a single datacentre in the primary region. It protects against server rack and drive failures, has the lowest cost, and is lost if the datacentre suffers a disaster such as a fire or flood. Zone-redundant storage (ZRS) keeps three synchronous copies in three availability zones, physically separate datacentres in the region, so data remains available for reads and writes when one zone fails.
LRS or ZRS?
Redundancy in a secondary region
Geo-redundant storage (GRS) uses LRS in the primary region and copies data asynchronously to a single datacentre in the secondary region, normally the paired region hundreds of kilometres away, where it is again stored with LRS. Geo-zone-redundant storage (GZRS) uses ZRS in the primary region plus the same asynchronous copy, which gives the highest durability. With GRS and GZRS, the secondary copy is not readable until a failover. The read-access options, RA-GRS and RA-GZRS, add a read-only secondary endpoint (for example stcontoso-secondary.blob.core.windows.net) that applications can read at any time.
The following diagram checks each redundancy option against the three requirements.

Choosing the redundancy option
Changing redundancy and failing over
Redundancy is changed on the account's Redundancy page. Switching between LRS, GRS and RA-GRS is a configuration change, with geo-replication starting in the background. Adding or removing zone redundancy, such as LRS to ZRS or GRS to GZRS, requires a conversion that Azure performs (customer-initiated, completed over hours or days) or a manual migration by copying data to a new account. Accounts with some features, such as Archive tier blobs, may not support every conversion.
If the primary region becomes unavailable, a customer-managed (unplanned) failover promotes the secondary region to primary; the account then becomes LRS in the new primary until geo-redundancy is configured again. Because replication is asynchronous, writes that were not yet copied are lost. The Last Sync Time property shows the time up to which data is guaranteed to be in the secondary, which estimates the data at risk. A planned failover swaps regions without data loss, for example for disaster recovery testing.
Conversions and failover
Matching redundancy to requirements
An application's storage account must remain readable and writable if a single availability zone fails, and the data must survive a complete regional outage. The application must also read data in the secondary region during an outage without waiting for a failover. Which redundancy option meets the requirements at the lowest cost?
Zone resilience requires ZRS in the primary region, regional disaster protection requires a geo copy, and reading the secondary without failover requires read access, so the answer is RA-GZRS. GZRS lacks the readable secondary, RA-GRS uses LRS in the primary and so loses availability during a zone failure, and ZRS has no secondary region.
Which property estimates how much data could be lost in a geo-failover?
Show answer
Last Sync Time, which shows the point up to which data is guaranteed to be in the secondary region.
Exam Tips
Remember for the exam
- Zone failure: ZRS or GZRS. Regional disaster: GRS or GZRS. Read the secondary anytime: RA- options.
- Geo-replication is asynchronous; Last Sync Time shows the recovery point.
- After a failover, the account becomes LRS in the new primary region.
- Adding zone redundancy is a conversion, not an instant setting.