Skill 2.2.2

Configure Azure Storage redundancy

Key Concepts

Locally redundant storage (LRS) keeps three copies in one datacentre and protects against drive and rack failures. Zone-redundant storage (ZRS) keeps three copies in three availability zones in the region and survives a zone outage. Geo-redundant storage (GRS) adds an asynchronous copy to the secondary (paired) region, stored with LRS there. Geo-zone-redundant storage (GZRS) combines ZRS in the primary region with a geo copy. The read-access variants, RA-GRS and RA-GZRS, also allow reads from a secondary endpoint such as name-secondary.blob.core.windows.net at any time.

Redundancy can be changed on the account's Redundancy page. Changing between LRS, GRS and RA-GRS is immediate for the setting, with replication running in the background; adding zone redundancy (for example LRS to ZRS) uses a conversion that Azure performs over time. During a regional outage, a customer-managed failover promotes the secondary region to primary; because replication is asynchronous, recent writes may be lost, and the Last Sync Time property shows how current the secondary is.