Azure Site Recovery Architecture

In this article, I’ll walk you through the architecture of Azure Site Recovery, its components, implementation methods, and best practices that’ll help protect your critical applications.

Azure Site Recovery Architecture

Azure Site Recovery is Microsoft’s service that orchestrates and automates the disaster recovery process for virtual machines. It ensures business continuity by replicating workloads from a primary location to a secondary recovery site, enabling failover during disruptions and failback when systems return to normal.

The beauty of ASR lies in its versatility. Whether you’re running workloads on-premises, in Azure, or in another cloud provider, ASR provides a unified solution for disaster recovery management.

Azure Site Recovery Architecture Diagram

Replication Process

Azure Site Recovery Architecture

In Case of Failover

Azure Site Recovery Architecture Diagram

Key Components

The ASR architecture consists of several key components working together seamlessly to provide comprehensive disaster recovery capabilities:

1. Configuration Server

For VMware or physical server scenarios, the configuration server is an on-premises component that coordinates communications between on-premises infrastructure and Azure. It includes:

  • Process Server: Handles replication data, performs caching, and manages data compression
  • Master Target Server: Handles replication data during failback from Azure

2. Mobility Service

This agent is installed on each VM or physical server you want to replicate. It captures data writes on the machine and forwards them to the process server or directly to Azure, depending on your deployment scenario.

3. Azure Resources

  • Recovery Services Vault: The central repository in Azure that stores replicated data and manages recovery points
  • Azure Storage: Stores replicated data from protected instances
  • Azure Virtual Network: Used during test failovers and actual failovers to connect failed-over VMs

Azure Site Recovery Deployment Scenarios

ASR supports multiple deployment scenarios.

Scenario 1: VMware VM to Azure Replication

This architecture enables disaster recovery of on-premises VMware VMs to Azure and involves:

  1. Setting up a configuration server as a highly available VMware VM
  2. Installing the mobility service on each source VM
  3. Establishing initial replication to Azure
  4. Configuring recovery plans for orchestrated failover

The replication flow follows this sequence:

  1. Data written to VMware VM disks
  2. Mobility service captures data, writes it, and sends it to the configuration server
  3. The configuration server processes the data and uploads it to Azure Storage
  4. Recovery points are created according to the retention policy
  5. During failover, VMs are created in Azure based on the replicated data