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.

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.

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.

  1. On the Azure portal, from Home > Virtual machines menu, select a VM to replicate.

  2. In Operations select Disaster recovery.

  3. From Basics > Target region, select the target region.

  4. To view the replication settings, select Review + Start replication. If you need to change any defaults, select Advanced settings.

  5. To start the job that enables VM replication select Start replication.

    Enable replication.

Verify settings

After the replication job finishes, you can check the replication status, modify replication settings, and test the deployment.

  1. On the Azure portal menu, select Virtual machines and select the VM that you replicated.

  2. In Operations select Disaster recovery.

  3. 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.

    Replication status.

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, do these steps:

  1. On the Azure portal menu, select Virtual machines and select the VM that you replicated.

  2. In Operations select Disaster recovery.

  3. From the Overview, select Disable Replication.

  4. To uninstall the Site Recovery extension, go to the VM's Settings > Extensions.

    Disable replication.

Next steps

In this quickstart, you replicated a single VM to a secondary region. Next, set up replication for multiple Azure VMs.