Difference between Azure storage replication services like LRS, GRS, RA-GRS and RA-GZRS

Azure Storage always stores multiple copies of your data so that it is protected from planned and unplanned events such as hardware failures, network or power outages which ensures that your storage meets the SLA.

When deciding which redundancy option is best for your scenario, consider the tradeoffs between lower costs and higher availability and durability. The factors that help determine which redundancy option you should choose include:

LRS – Locally Redundant.

  • Your data is replicated synchronously, so that there are three copies within a single facility in a single region.
  • Locally Redundant Storage (LRS) protects your data against server hardware failures but not against the failure of the facility itself.

ZRS – Zone Redundant.

  • Your data is replicated synchronously, so that there are three copies across two or three facilities in a single region.
  • Zone Redundant Storage (ZRS) is more redundant than LRS but does not protect against failures that affect a while region.
  • ZRS is only available for BLOB storage.

GRS – Geo-Redundant.

  • Your data is replicated asynchronously, with three copies of the data in the primary region using LRS, and three copies of the data stored in a secondary region.
  • If there is failure at the primary region, Azure Storage will failover to the secondary region.
  • Geo-Redundant Storage (GRS) is the most resilient of the replication schemes.
  • GZRS supports block blobs, page blobs (except for VHD disks), files, tables, and queues.

RA-GZRS – Read-Access Geo-Zone-Redundant.

  • Copies your data synchronously across three Azure availability zones in the primary region using ZRS.
  • As with GRS, your data is replicated asynchronously across two regions.
  • However, with read-access GRS, the three copies in the secondary region are enabled for read-only access to the data, if the primary region is unavailable. 
  • RA-GZRS supports block blobs, page blobs (except for VHD disks), files, tables, and queues.

Summary:

LRSZRSGRSRA-GZRS
How it works?Multiple synchronous copies of data within single datacenterThree copies of data across multiple datacenter within or across region. For Block BLOB onlySame as LRS plus multiple asynchronous copies to second datacenter miles awaySame as GRS plus read access the secondary datacenter
Total copies3366
Why Use it?Economical local storage or data governance complianceEconomical, higher durability option for block BLOB storageFor protection against major datacenter outages or disastersProvides read access to data during an outage for maximum data availability and durability
Availability SLA per year99.9% Read/Write99.9% Read/Write99.9% Read/Write99.9% Write
99.99% Read

GZRS and RA-GZRS are supported in the following regions:

  • Asia Southeast
  • Europe North
  • Europe West
  • Japan East
  • UK South
  • US Central
  • US East
  • US East 2
  • US West 2

For more details, visit MS Docs

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.