Lesson 1 of 2 Disaster Recovery Solutions

Understanding Recovery Objectives and Strategies

This lesson defines RTO and RPO, and explains the strategies that meet them.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish high availability, disaster recovery and backup.
  • Define RTO, RPO and MTTR.
  • Compare active-active, warm standby and cold standby.
  • Explain how region pairing affects a design.

Business continuity, high availability and disaster recovery

Three terms are often used interchangeably, but they mean different things. High availability keeps a workload running through small, local failures, such as a server or zone failure, usually with little or no interruption. Disaster recovery restores a workload after a major event, such as the loss of a region or a destructive attack. Backup preserves copies of data, so that it can be restored after corruption, deletion or ransomware. Business continuity is the overall goal, and all three contribute to it.

A design usually needs all three, since they address different failures. Zone-redundant replication provides high availability, but it copies a mistaken deletion instantly. A backup can undo that deletion, but restoring it may take hours, which might be unacceptable during a zone failure.

Sort into groups

HA, DR or backup?

Exam skills 3.1.1

Decide which part of business continuity addresses each failure.

Log in to try this activity Interactive activities are free with an account.

Recovery objectives

Two objectives quantify what the business needs, and the Azure Well-Architected Framework defines them as follows.

Recovery time objective

The recovery time objective (RTO) is the maximum acceptable time a workload can be unavailable after an incident. An RTO of one hour means that the service must be running again within an hour.

Recovery point objective

The recovery point objective (RPO) is the maximum acceptable data loss, measured in time. An RPO of 15 minutes means that the business can lose at most the last 15 minutes of data, so copies must be made at least that often.

A related measure, mean time to recover (MTTR), is the actual average time taken to restore a component after a failure is detected. The RTO is a target, while the MTTR describes what happens in practice, so a tested MTTR that is longer than the RTO shows that a design falls short of its target.

Tighter objectives cost more, and they should be set by business impact, ideally through a business impact analysis, rather than by a wish for perfection. Objectives are normally set for each workload, or each tier of workloads, with mission-critical systems receiving the strongest protection.

Match the pairs

RTO, RPO and MTTR

Exam skills 3.1.1

Match each recovery measure with its meaning.

Log in to try this activity Interactive activities are free with an account.

Recovery strategies

The Well-Architected Framework describes three common multi-region strategies, which offer increasing speed at increasing cost.

Active-active (hot standby)

Both regions serve traffic at the same time. If one fails, the other continues to serve, so RTO can be near zero. This is the most expensive strategy and the most complex: full capacity runs in two regions, and data must be replicated in a way that supports it. It also needs a global router, such as Azure Front Door.

Active-passive (warm standby)

The secondary region has a minimal, running deployment, and data is replicated to it. During a disaster, it scales up and takes traffic. RTO is typically minutes to tens of minutes. This strategy balances cost and speed.

Active-passive (cold standby)

Data is replicated or backed up, but the secondary has little or no running compute. During a disaster, infrastructure is deployed, often from templates, and data is restored. It has the lowest running cost and the longest RTO, which is often hours.

The following comparison recaps the strategies.

Active-active
Secondary computeFull, serving traffic
Typical RTONear zero
Relative costHighest
Operational complexityHighest
Choose when Mission-critical workloads
Warm standby
Secondary computeMinimal, running
Typical RTOMinutes
Relative costModerate
Operational complexityModerate
Choose when Important workloads with moderate RTO
Cold standby
Secondary computeNone, or stopped
Typical RTOHours
Relative costLowest
Operational complexityLower, but needs rehearsal
Choose when Workloads tolerating hours of downtime

The following diagram matches each workload to a recovery strategy in proportion to its value.

Recovery strategies in proportion to each workload's value. The e-commerce site, which must ride through a regional outage, runs active-active with Azure Front Door routing users across regions; the support system's 30-minute target fits warm standby; and the internal archive's 24 hours fits backup and restore.
The scenario is illustrative.
Sort into groups

Choose the strategy

Exam skills 3.1.1

Match each workload with a recovery strategy in proportion to its value.

Log in to try this activity Interactive activities are free with an account.

Regions and data residency

Many Azure regions are paired with another in the same geography. Some services use the pair automatically for geo-redundant replication, and during a broad outage Microsoft prioritizes recovery of one region in each pair. Planned updates are rolled out sequentially across pairs. Not all regions have a pair, however: newer regions, such as Italy North, Poland Central and Spain Central, have none, so a design must explicitly select a second region, and services such as GRS storage may not be an option or may behave differently.

A secondary region must also satisfy data residency requirements. If regulation demands that data remain in one country, and the country has one Azure region, the design may need to rely on availability zones instead. The secondary region must also offer the same services, with enough capacity. Reserving capacity in advance is the safest way to guarantee recovery of virtual machines.

True or false

Regions and pairs

Exam skills 3.1.1

Check how region pairs and residency shape a recovery design.

Log in to try this activity Interactive activities are free with an account.

Testing recovery

An untested recovery plan is only a theory. Regular exercises confirm that objectives can really be met, and reveal hidden dependencies such as a certificate or a DNS record. Azure Site Recovery test failovers and Azure Chaos Studio, which injects controlled faults, help with this. The results should feed back into the plan, and runbooks should be automated, because a disaster is a poor time to be working from memory.

Worked example

Matching strategy to objectives

A company has three workloads. An e-commerce site loses large sums for each minute of downtime and must continue through a regional outage with near-zero interruption. A customer support system must return within 30 minutes. An internal archive can return within 24 hours. Costs must be kept in proportion to each workload's value. What strategy should you recommend for each?

The e-commerce site needs active-active, with Azure Front Door routing users across regions. The support system fits warm standby: a small deployment and replicated data in a second region can be scaled up within 30 minutes. The archive fits cold standby, or simply backup restoration in another region.

Using active-active for all three would meet the objectives but ignore the instruction to keep cost in proportion. Using cold standby for the support system would risk missing its 30-minute RTO.

Check yourself

An RPO of 15 minutes is required, and backups run hourly. Is the objective met?

Show answer

No. Up to an hour of data could be lost, so copies must be made at least every 15 minutes.

Exam Tips

Remember for the exam

  • RTO is acceptable downtime; RPO is acceptable data loss.
  • Active-active is fastest and most expensive; cold standby is cheapest and slowest.
  • Newer regions may have no pair, so choose a second region deliberately.
  • High availability, disaster recovery and backup address different failures.