A regional outage in Azure is the loss of a region's control plane and data plane for an extended interval, beyond what zone redundancy can mask. The recovery problem is therefore cross-region by definition: the second region must already hold a usable copy of state, the network must be able to route to it, and the application tier must be runnable there. RTO is the time between the declared outage and the application accepting production traffic from the second region; RPO is the amount of data the application is willing to lose at the moment of failover. Every choice in this section reduces to which Azure primitive replicates state to the second region, what the replication latency implies for RPO, and how traffic is steered.
The default geographic boundary is the Azure region pair. A region pair is a fixed mapping (for example, East US to West US, North Europe to West Europe, Southeast Asia to East Asia, Japan East to Japan West) that the platform uses for serial updates, automatic geo-replication for services such as geo-redundant storage, and capacity reservations for paired-region failover. Pairs are still the right boundary for most PaaS continuity (Azure SQL geo-replication, Storage GRS/GZRS/RA-GRS/RA-GZRS, Service Bus Premium geo-DR), but Cosmos DB multi-region replication, Azure Site Recovery, object replication on Storage, and Front Door all let you pick any second region in the world. The architect picks the boundary based on data-residency constraints (some regulators require both regions inside one geography), latency between primary and secondary, and the recovery model the workload can tolerate.
The recovery model itself is the dimension that drives cost and complexity. Pilot light keeps minimum compute and full data replication in the second region, with infrastructure scaled out at failover via automation. Warm standby keeps a smaller production-shaped footprint always running in the second region, with data replicated and the app idle behind a closed Front Door route. Active-active runs the application in both regions simultaneously, with state-store features (multi-region writes, conflict resolution, idempotent writes) sized to handle dual writers. Pilot light minimizes spend but pushes RTO into tens of minutes because compute must be provisioned and warmed. Warm standby brings RTO under ten minutes at the cost of running idle capacity. Active-active reaches sub-minute RTO and is the only model that survives an outage with effectively zero data loss for non-relational stateful services that support multi-write geometry.
The replication primitive is what actually carries data across the boundary. Azure Site Recovery (ASR) replicates Azure VMs (or VMware, Hyper-V, physical) into a target Azure region with continuous block-level replication into managed disks; documented crash-consistent RPO is on the order of seconds for most workloads, and application-consistent recovery points are taken at a configurable cadence (default 60 minutes for VM replication). ASR is the right choice for IaaS workloads where you want a turn-key DR runbook including network mapping, recovery plans, and scriptable test failover that does not disturb production. Geo-redundant storage asynchronously replicates Storage accounts to the paired region; the published RPO objective is under 15 minutes for most account types, but customer-initiated failover (after Microsoft declares an outage, or via the customer-managed failover preview/GA per account kind) re-points the primary endpoint after replication is acknowledged at the secondary. Azure SQL auto-failover groups add a managed wrapper over geo-replication that handles DNS endpoint rewriting and failover orchestration. Cosmos DB multi-region writes let any region accept writes with conflict resolution policies and zero data loss in normal operation.
Traffic steering matters as much as data replication. Azure Front Door is a global L7 reverse proxy with health-probe-driven backend selection: when the primary backend fails probes, Front Door routes new connections to the secondary in under a minute, often within probe-interval seconds. Azure Traffic Manager is DNS-based: it returns the healthy endpoint at DNS lookup time, with TTL-driven propagation that ties the effective RTO to the lowest TTL clients honor (often 30 to 60 seconds, but caching resolvers can extend it). Azure DNS itself with weighted records, manual repointing, or programmatic record updates is the lowest-cost option but lacks active health probes. For most architectures the recommendation is Front Door for HTTP(S) traffic, Traffic Manager for non-HTTP and for routing geographically across compute pools, and DNS-only repointing only when the workload tolerates DNS TTLs and operators are willing to script failover.
# Enable Azure Site Recovery for a VM into a paired region with a recovery plan
RG_SRC="rg-prod-eus"
RG_DR="rg-dr-wus"
VAULT="rsv-dr-wus"
VM_ID=$(az vm show -g $RG_SRC -n vm-app-01 --query id -o tsv)
az backup vault create -g $RG_DR -n $VAULT -l westus
az site-recovery vault-setting create -g $RG_DR --vault-name $VAULT \
--vault-storage-account-id "/subscriptions/.../cache-stg"
az site-recovery replication-protected-item create \
-g $RG_DR --vault-name $VAULT \
--fabric-name "Azure" \
--protection-container-name "asr-a2a-default-eastus-container" \
--replicated-protected-item-name "vm-app-01-rep" \
--policy-id "/.../policies/24h-rpo-default" \
--source-vm-id $VM_ID \
--recovery-resource-group-id "/.../$RG_DR" \
--recovery-virtual-network-id "/.../vnet-dr-wus"
// Azure Front Door Standard with two backends in paired regions
// Health-probe driven failover; primary in East US, secondary in West US
resource profile 'Microsoft.Cdn/profiles@2024-09-01' = {
name: 'afd-prod'
location: 'global'
sku: { name: 'Standard_AzureFrontDoor' }
}
resource originGroup 'Microsoft.Cdn/profiles/originGroups@2024-09-01' = {
parent: profile
name: 'og-app'
properties: {
loadBalancingSettings: {
sampleSize: 4
successfulSamplesRequired: 3
}
healthProbeSettings: {
probePath: '/healthz'
probeRequestType: 'GET'
probeProtocol: 'Https'
probeIntervalInSeconds: 30
}
}
}
resource originPrimary 'Microsoft.Cdn/profiles/originGroups/origins@2024-09-01' = {
parent: originGroup
name: 'origin-eus'
properties: {
hostName: 'app-eus.azurewebsites.net'
priority: 1
weight: 1000
enabledState: 'Enabled'
}
}
resource originSecondary 'Microsoft.Cdn/profiles/originGroups/origins@2024-09-01' = {
parent: originGroup
name: 'origin-wus'
properties: {
hostName: 'app-wus.azurewebsites.net'
priority: 2
weight: 1000
enabledState: 'Enabled'
}
}
Decision Tree: Choosing the Cross-Region Recovery Pattern
💡 Exam Trap: A scenario specifies an RPO of fifteen minutes and an RTO of one hour for IaaS workloads. Geo-redundant storage alone does not satisfy IaaS recovery because there is no orchestration for VMs to be reattached and started in the secondary region. The correct recommendation pairs Azure Site Recovery (RPO seconds, RTO minutes with a recovery plan) with a steering mechanism such as Azure DNS update or Traffic Manager.
💡 Exam Trap: Read-access geo-redundant storage (RA-GRS, RA-GZRS) exposes the secondary endpoint as a read-only URL with a different host (suffix
-secondary). Applications that pin to the primary endpoint cannot read the secondary without code changes. Customer-initiated failover swaps the primary, after which the old primary becomes the new secondary and starts as locally redundant until you reconfigure replication.
📊 Limit: Azure Site Recovery supports application-consistent recovery points at intervals between 1 and 12 hours, and crash-consistent recovery points at intervals as short as a few minutes; the configured replication policy controls retention (recovery-point retention from 0 to 15 days, depending on the policy).
⚠️ Anti-Pattern: Designing DR around customer-initiated Storage account failover for a workload that also runs Azure SQL Database without a failover group. Storage failover and SQL geo-replication run independent control planes, so partial failover (one tier in region B, the other in region A) introduces unbounded latency and split-brain on connection strings. The correct pattern coordinates failover at the application layer: either both fail together, with traffic steered by Front Door, or only the application tier fails and reads cross-region against a replicated data tier.
Decision Anchor: Choose Azure Site Recovery when the workload runs on Azure VMs or virtual-machine scale sets and the team needs orchestrated, scriptable recovery with a documented runbook and test failover. Choose auto-failover groups when the data tier is Azure SQL Database or SQL Managed Instance and DNS endpoint rewriting plus managed failover is required. Choose Cosmos DB multi-region writes when sub-second RTO is non-negotiable and the application can tolerate or implement conflict resolution. Choose RA-GZRS plus Front Door for stateless web tiers fronting geo-replicated object stores, and reserve customer-initiated Storage failover for the case where Microsoft has not yet declared a region outage but business impact justifies an unplanned failover with the implicit redundancy reset.
🎯 Scenario: A retail platform runs an Azure SQL Database in East US 2, an App Service in East US 2, and Cosmos DB with East US 2 and West US 3 read regions. RTO target is 30 minutes; RPO target is 5 minutes. The design adds South Central US as the SQL geo-secondary inside an auto-failover group, deploys an App Service in South Central US that reads from a Front Door origin group with priority routing, and promotes West US 3 to a Cosmos DB write region with conflict resolution set to last-writer-wins on a custom timestamp. At failover the Front Door priority routes traffic to South Central US, the auto-failover group rewrites the SQL listener endpoint, and Cosmos DB requires no failover action because writes already succeed in both regions. The pattern meets the 5-minute RPO because SQL geo-replication is asynchronous in milliseconds for sub-second commits, and meets the 30-minute RTO with margin because Front Door re-routes inside one minute.
The architect also designs for failback. After the primary region returns to health, you reverse-replicate from the secondary back to the primary (ASR), re-establish the geo-replication direction (auto-failover groups via planned failover), and rebalance Cosmos DB write traffic. Failback is not automatic for Storage account customer-initiated failover: the storage account remains locally redundant in the new primary until you reconfigure replication, which extends the window of unprotected state. Build the failback step into the recovery plan and rehearse it.
