| title | Set up disaster recovery when creating a VM |
|---|---|
| description | Learn how to set up disaster recovery for Virtual machines on Azure Extended Zones using VM Flow. |
| author | Jeronika-MS |
| ms.service | azure-site-recovery |
| ms.topic | tutorial |
| ms.date | 01/09/2025 |
| ms.author | v-gajeronika |
| ms.custom | sfi-image-nochange |
Important
The Azure Site Recovery (ASR) functionality for Extended Zones is in preview state.
This tutorial shows you how to set up disaster recovery for Azure Site Recovery Extended Zones (preview) using VM Flow. You will do this using the Azure Site Recovery portal.
In this article, you learn how to:
[!div class="checklist"]
- 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 Azure Extended Zones 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 free account before you begin.
To enable replication to a secondary location, follow the below steps:
-
On the Azure portal, select Virtual machines and select a VM to replicate.
-
On the left pane, under Backup + disaster recovery, select Disaster recovery. :::image type="content" source="./media/disaster-recovery-for-edge-zone-vm-flow-tutorial/disaster-recovery.png" alt-text=" Screenshot of Select Disaster Recovery option."lightbox="./media/disaster-recovery-for-edge-zone-vm-flow-tutorial/disaster-recovery.png":::
-
In Basics, select the Target region or an Azure Extended Zones.
:::image type="content" source="./media/disaster-recovery-for-edge-zone-vm-flow-tutorial/edge-zone-to-region.png" alt-text="Screenshot of Option 1 Edge Zone to Region."lightbox="./media/disaster-recovery-for-edge-zone-vm-flow-tutorial/edge-zone-to-region.png":::
[!Note] This flow proceeds with Option 1: Extended Zones to Region replication.
-
Select Next : Advanced settings.
[!Note] Review + Start replication will appear grey at this step.
-
In Advanced settings, select Subscription, VM resource group, Virtual network, Availability and Proximity placement group as required.
-
Under Capacity Reservation Settings, Capacity Reservation Groups is disabled.
-
Under Storage settings > Cache storage account, select the cache storage account associated with the vault from the dropdown. :::image type="content" source="./media/disaster-recovery-for-edge-zone-vm-flow-tutorial/cache-storage.png" alt-text="Screenshot of cache storage field."lightbox="./media/disaster-recovery-for-edge-zone-vm-flow-tutorial/cache-storage.png":::
:::image type="content" source="./media/disaster-recovery-for-edge-zone-vm-flow-tutorial/cache-storage-2.png" alt-text="Screenshot of cache storage field step 2."lightbox="./media/disaster-recovery-for-edge-zone-vm-flow-tutorial/cache-storage-2.png":::
-
-
Select Next : Review + Start replication. :::image type="content" source="./media/disaster-recovery-for-edge-zone-vm-flow-tutorial/review.png" alt-text="Screenshot of Review settings tab."lightbox="./media/disaster-recovery-for-edge-zone-vm-flow-tutorial/review-expanded.png":::
-
In Review + Start replication, review the VM settings and select Start replication.
See Set up disaster recovery for VMs on Azure Extended Zones using Vault flow.