Home › Azure Tools › Storage Redundancy Chooser

Azure Storage Redundancy Chooser (RTO and RPO)

Answer four requirement questions and get the Azure Storage redundancy option that fits, with the RTO and RPO behaviour of that choice, taken from Microsoft Learn.

Your requirements

Why this option

RPO for this choice

RTO for this choice

Copies, zones and regions

OptionPrimary regionSecondary regionDurability over a yearSurvives a datacenter or zone failureSurvives a region failureReadable in the secondary before failover

Source: the redundancy tables on the Learn page Azure Storage redundancy. Where Learn says an account failover is needed to restore write availability, the table says so. Service support comes from the same page.

The recommendation is a starting point for planning, not a guarantee. Redundancy protects against hardware and site failures, not against deletes or overwrites, which are copied to every replica. Check regional support and current figures on Learn before you decide. Everything runs in your browser; nothing you tick is sent or stored.

How to use

  1. Tick each requirement that applies. Start from the question the business would ask: what has to keep working, and what can be lost?
  2. Choose the storage service. Azure Files and managed disks support fewer options than Blob storage.
  3. Read the recommended option and the reasons. Warnings appear when your answers conflict or the service cannot give you what you asked for.
  4. Read the RPO and RTO lists for that option. Compare them with the numbers in your own recovery plan.
  5. Use the table to compare the neighbouring options, for example whether the extra cost of read access is worth it.

Worked example

A retailer stores order documents in Blob storage. The data must survive a zone failure and a region failure, nobody needs to read the secondary region before a failover, and there is no residency rule. With the zone and region boxes ticked, the tool recommends GZRS. The primary copy is spread over three or more availability zones, so a zone failure does not stop reads or writes. The data is then copied asynchronously to the paired region.

Now tick the residency box as well. The answers conflict: a second region is needed for a regional failure, and residency says there must be only one. The tool returns ZRS, the best in-region option, flags the conflict and names GZRS as the alternative to use only if the paired region is acceptable. A tool cannot settle that for you. It is a legal and policy decision.

How it works

The decision is one pure function with a fixed order. Read access in a secondary region needs geo-replication, so it counts as a region requirement. Residency rules out the geo options. A region requirement gives GRS, or GZRS if zone failures also matter, and the read-access variant if reads are needed. A zone requirement alone gives ZRS. No requirement gives LRS. Last, the service filter steps the answer down: Azure Files has no read-access options and managed disks offer only LRS and ZRS.

The explanation of RPO and RTO comes from the Learn pages Azure Storage redundancy and Azure storage disaster recovery planning and failover. Two statements matter most. First, replication to the secondary region is asynchronous, so the RPO is not zero. Learn defines the RPO as the interval between the most recent writes to the primary region and the last write to the secondary region. Second, Learn states that Geo priority replication ensures the RPO for block blobs is 15 minutes or less. The SLA behind that applies only to block blobs, and only when the feature is enabled. Without it Learn gives no figure, and you should measure the Last Sync Time property instead.

RTO is about failover. Learn says a customer-managed failover typically takes less than one hour, but the time can vary. An unplanned failover usually loses data and leaves the account as LRS, with geo-redundancy lost until you re-enable it. A planned failover loses no data and keeps geo-redundancy, but it needs both regions to be available, so it is for testing and for preparing for a known event.

Exam relevance: AZ-104 and AZ-305

Redundancy appears in both exams. AZ-104 asks you to configure storage accounts and choose replication, and to know that a failover changes the account to LRS. AZ-305 asks you to recommend a solution from stated requirements, which is exactly what the four questions model. The words to look for are zone, region, read access and residency. If a scenario says the data must remain readable when the primary region is down, only RA-GRS or RA-GZRS fit. If it says writes must continue through a zone failure, look for ZRS or GZRS. Also remember that RPO and RTO are different: RPO is data you can lose, RTO is time to recover.

Common mistakes

Frequently asked questions

What is the difference between GRS and GZRS?

How data is replicated in the primary region. GRS uses LRS there, in one datacenter. GZRS uses ZRS, across three or more availability zones. Both copy asynchronously to the secondary region, where the data is stored with LRS.

Is the RPO for geo-redundant storage zero?

No. The copy is asynchronous. Learn says Geo priority replication ensures an RPO of 15 minutes or less for block blobs, with the conditions described above.

Can I choose the secondary region?

No. The paired secondary region is determined by the primary region and cannot be changed.

Which option does Microsoft recommend for high availability?

Learn recommends ZRS in the primary region for high availability, together with replication to a secondary region, and recommends GZRS for applications that need high consistency, durability, availability and resilience for disaster recovery.

Does the tool store my answers?

No. The page runs in your browser and sends nothing.

Sources

Related pages