Tutorial: Set up disaster recovery for Azure Public MEC using VM Flow

Important

The Azure Site Recovery (ASR) functionality for Public MEC is in preview state.

This tutorial shows you how to set up disaster recovery for Azure Site Recovery Public MEC (preview) using VM Flow. You will do this using the Azure Site Recovery portal.

In this article, you learn how to:

  • Enable replication for the Azure VMs

When you enable replication for a VM to set up disaster recovery, the Site Recovery Mobility service extension installs on the VM, and registers it with Azure Site Recovery (ASR as a service for MEC is in preview). During replication, VM disk writes are sent to a cache storage account in the source region. Data is sent from there to the target region, and recovery points are generated from the data. When you fail over a VM during disaster recovery, a recovery point is used to restore the VM in the target region. Learn more about the architecture.

If you don’t have an Azure subscription, create a Trial before you begin.

Enable replication for the Azure VMs

To enable replication to a secondary location, follow the below steps:

  1. On the Azure portal, select Virtual machines and select a VM to replicate.

  2. On the left pane, under Operations, select Disaster recovery.  Screenshot of Select Disaster Recovery option.

  3. In Basics, select the Target region or an Azure Public MEC.

    • Option 1: Public MEC to Region

      Screenshot of Option 1 Edge Zone to Region.

    • Option 2: Public MEC to Public MEC

      Screenshot of Option 2 Edge Zone to Edge Zone.

    Note

    This flow proceeds with Option 1: Public MEC to Region replication.

  4. Select Next : Advanced settings.

    Note

    Review + Start replication will appear grey at this step.

  5. In Advanced settings, select Subscription, VM resource group, Virtual network, Availability and Proximity placement group as required.

    1. Under Capacity Reservation Settings, Capacity Reservation Groups is disabled.

    2. Under Storage settings > Cache storage account, select the cache storage account associated with the vault from the dropdown. Screenshot of cache storage field.

      Screenshot of cache storage field step 2.

  6. Select Next : Review + Start replication. Screenshot of Review settings tab.

  7. In Review + Start replication, review the VM settings and select Start replication.

Next steps

See Set up disaster recovery for VMs on Azure Public MEC using Vault flow.