Last Update: Sep 04, 2024 | Published: Jun 25, 2018
After quite a long preview, Microsoft has made Azure Site Recovery (ASR) for Azure virtual machines generally available, providing inter-region replication of IaaS workloads. This is also known as Azure to Azure Site Recovery or A2ASR.
Many people who are novices to The Cloud make two incorrect assumptions:
If an Azure region was to fail, all of your Azure virtual machines would go with it, even if you had deployed using availability sets (single compute cluster in a single building) or availability zones (workloads spread across buildings in a region).
Without A2ASR, you would have had to:
Azure and other costs would have been very high. Luckily, ASR is quite affordable!
The general availability of A2ASR should impact customers very quickly:
Even though Azure is built on the same Hyper-V that we can use, Microsoft did not use the Hyper-V Replica-based method for replicating Hyper-V virtual machines. Instead, they used the same system that is used to replicate VMware virtual machines to Azure. When you enable replication for a virtual machine, a “mobility service” extension is installed in the guest OS of the virtual machine.
At this point, the mobility service will start to communicate with recovery services in the DR site (failover region) and duplicate the contents of the disk and subsequently the changes using continuous asynchronous replication.
Watch out if you block outbound traffic to the Internet because this will break virtual machine replication to other regions. You will need to create exceptions for the mobility service communications.
As with replication from on-premises, it is the disks that are replicated to the DR site. The virtual machine is only created in the event of a test or real failover. The process of enabling replication will create things like availability sets and virtual networks/subnets but other pieces, such as network security groups, load balancers, public IP addresses, and so on will need to be created manually. Some items, such as NAT or load balancing rules, can only be created after a virtual machine is failed over. See Azure Automation being triggered by ASR recovery plans.
I used A2ASR for my own web server before I migrated to App Services. I’ve recommended and deployed A2ASR for customers. One customer has tens of millions of Euros worth of seasonal business protected by the service. The low cost insurance that the service offers has a huge value and the ease of deploying it should provide an easy adoption process.