Quickstart: Set up disaster recovery to a secondary Azure region for an Azure VM
The Azure Site Recovery service contributes to your business continuity and disaster recovery (BCDR) strategy by keeping your business applications online during planned and unplanned outages. Site Recovery manages and orchestrates disaster recovery of on-premises machines and Azure virtual machines (VM), including replication, failover, and recovery.
Azure Site Recovery has an option of High Churn, enabling you to configure disaster recovery for Azure VMs having data churn up to 100 MB/s. This helps you to enable disaster recovery for more IO intensive workloads. Learn more.
This quickstart describes how to set up disaster recovery for an Azure VM by replicating it to a secondary Azure region. In general, default settings are used to enable replication. Learn more.
Prerequisites
To complete this tutorial, you need an Azure subscription and a VM.
- If you don't have an Azure account with an active subscription, you can create an account for free.
- A VM with a minimum 1 GB of RAM is recommended. Learn more about how to create a VM.
Sign in to Azure
Sign in to the Azure portal.
Enable replication for the Azure VM
The following steps enable VM replication to a secondary location.
On the Azure portal, from Home > Virtual machines menu, select a VM to replicate.
In Operations, select Disaster recovery.
From Basics > Target region, select the target region.
To view the replication settings, select Review + Start replication. If you need to change any defaults, select Advanced settings.
Note
Azure Site Recovery has a High Churn option that you can choose to protect VMs with high data change rate. With this, you can use a Premium Block Blob type of storage account. By default, the Normal Churn option is selected. For more information, see Azure VM Disaster Recovery - High Churn Support.
To start the job that enables VM replication, select Start replication.
Verify settings
After the replication job is complete, you can check the replication status, modify replication settings, and test the deployment.
On the Azure portal menu, select Virtual machines and select the VM that you replicated.
In Operations, select Disaster recovery.
To view the replication details from the Overview select Essentials. More details are shown in the Health and status, Failover readiness, and the Infrastructure view map.
Clean up resources
To stop replication of the VM in the primary region, you must disable replication:
- The source replication settings are cleaned up automatically.
- The Site Recovery extension installed on the VM during replication isn't removed.
- Site Recovery billing for the VM stops.
To disable replication, perform these steps:
On the Azure portal menu, select Virtual machines and select the VM that you replicated.
In Operations, select Disaster recovery.
From Overview, select Disable Replication.
To uninstall the Site Recovery extension, go to the VM's Settings > Extensions.
Next steps
In this quickstart, you replicated a single VM to a secondary region. Next, set up replication for multiple Azure VMs.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for