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

Scenario 2: Hyper-V VM to Azure Replication

For organizations using Microsoft’s Hyper-V virtualization, ASR provides streamlined replication:

  1. Azure Site Recovery Provider is installed on Hyper-V hosts
  2. VMs are replicated directly to Azure without needing additional on-premises components
  3. Data transferred over encrypted connections to Azure Storage

Scenario 3: Azure VM to Azure VM Replication

This scenario protects Azure VMs by replicating them across one or more Azure regions. The architecture is simpler because:

  1. No on-premises components are required
  2. Replication is managed entirely within Azure
  3. Source VM data is replicated directly to storage in the target region
  4. Recovery Services Vault orchestrates the replication and failover process

Failover Architecture in Azure Site Recovery

When disaster strikes, the failover process activates.

Planned Failover

In a planned scenario:

  1. Source machines are gracefully shut down
  2. Final data synchronization occurs
  3. VMs are started in the recovery site with minimal data loss

Unplanned Failover

In an unexpected outage:

  1. The most recent recovery point is used
  2. VMs are created in the recovery site based on available recovery points
  3. Some data loss may occur depending on the latest successful replication

Test Failover

For validation purposes:

  1. ASR creates a copy of VMs in an isolated network
  2. No impact on production workloads
  3. Allows verification of recovery plans without disruption

Performance Considerations

When designing your ASR implementation, consider these performance factors:

FactorRecommendation
BandwidthCalculate the required bandwidth based on the data change rate and RPO
LatencyChoose Azure regions with lower latency to your source location
Storage TypeUse Premium SSD for production workloads requiring high performance
ThrottlingBe aware of Azure throttling limits for replication traffic

Security Architecture in ASR

Security is paramount in any disaster recovery solution. ASR incorporates several security measures:

  1. Encryption in Transit: All replication data is encrypted during transfer
  2. Encryption at Rest: Data in Azure Storage is encrypted using Storage Service Encryption
  3. Role-Based Access Control: Granular permissions for ASR management
  4. Private Endpoints: Support for private connectivity to ensure replication traffic doesn’t traverse the internet

Cost Optimization Strategies

Understanding the cost structure helps optimize your ASR architecture:

  • Storage Costs: Replicated data consumes storage in the target region
  • Compute Costs: Only during test failovers or actual failovers
  • Networking Costs: Outbound data transfer from the source region
  • License Advantages: Software Assurance benefits may apply for Windows Server workloads

Conclusion

Azure Site Recovery offers a comprehensive disaster recovery solution that can be tailored to various scenarios, from on-premises to cloud workloads. Its architecture provides flexibility, scalability, and reliability for organizations of all sizes.

By understanding the components, replication processes, and architectural considerations outlined in this article, you’ll be well-equipped to implement the optimal disaster recovery strategy using Azure Site Recovery.

You may also like the following articles below

Azure Virtual Machine

DOWNLOAD FREE AZURE VIRTUAL MACHINE PDF

Download our free 25+ page Azure Virtual Machine guide and master cloud deployment today!