Prepare Azure Site Recovery resources for disaster recovery of Azure VMware Solution VMs

This tutorial describes how to prepare Azure resources and components so that you can set up disaster recovery of Azure VMware Solution virtual machines (VMs) by using the Azure Site Recovery service. Azure VMware Solution provides private clouds in Azure. These private clouds contain vSphere clusters that are built from dedicated bare-metal Azure infrastructure.

This is the first tutorial in a series that shows you how to set up disaster recovery for Azure VMware Solution VMs.

In this tutorial, you learn how to:

  • Create a Recovery Services vault. A vault holds metadata and configuration information for VMs, along with other replication components.
  • Set up an Azure virtual network. When Azure VMs are created after failover, they're joined to this network.

Note

  • Tutorials show you the simplest deployment path for a scenario. They use default options where possible, and they don't show all possible settings and paths.
  • Some of the concepts of using Azure Site Recovery for Azure VMware Solution overlap with disaster recovery of on-premises VMware VMs. Documentation is cross-referenced accordingly.

Sign in to Azure

If you don't have an Azure subscription, create a free account before you begin. Then sign in to the Azure portal.

Prerequisites

Before you begin:

If you just created your free Azure account, you're the administrator of your subscription and you have the necessary permissions. If you're not the subscription administrator, work with the administrator to assign the necessary permissions. To enable replication for a new virtual machine, you must have permission to:

  • Create a VM in the selected resource group.
  • Create a VM in the selected virtual network.
  • Write to an Azure storage account.
  • Write to an Azure managed disk.

To complete these tasks, your account should be assigned the Virtual Machine Contributor built-in role. In addition, to manage Site Recovery operations in a vault, your account should be assigned the Site Recovery Contributor built-in role.

Create a Recovery Services vault

  1. In the Azure portal, select Create a resource.

  2. Search Azure Marketplace for Recovery Services.

  3. Select Backup and Site Recovery from the search results. Then, select Create.

  4. On the Create Recovery Services vault page, on the Basics tab, do the following:

    1. For Subscription, select the subscription in which you want to create the Recovery Services vault.
    2. For Resource group, select an existing resource group or create a new one. For example, create one named contosoRG.
    3. For Vault name, enter a friendly name to identify the vault. For example, enter ContosoVMVault.
    4. For Region, select the region where the vault should be located. For example, select West Europe.
    5. Select Review + create.

    Screenshot of the basic options for creating a Recovery Services vault.

  5. On the Review + create tab, select Create.

    Tip

    To quickly access the vault from the dashboard, select Pin to dashboard.

The new vault appears on Dashboard > All resources, and on the main Recovery Services vaults page.

Set up an Azure network

Azure VMware Solution VMs are replicated to Azure managed disks. When failover occurs, Azure VMs are created from these managed disks and joined to the Azure network that you specify in this procedure.

  1. In the Azure portal, select Create a resource.

  2. Under Categories, select Networking > Virtual network.

  3. On the Create virtual network page, on the Basics tab, do the following:

    1. For Subscription, select the subscription in which to create the network.
    2. For Resource group, select the resource group in which to create the network. For this tutorial, use the existing resource group contosoRG.
    3. For Virtual network name, enter a network name. The name must be unique within the Azure resource group. For example, enter ContosoASRnet.
    4. For Region, select (Europe) West Europe. The network must be in the same region as the Recovery Services vault.

    Screenshot of basic options for creating a virtual network.

  4. On the IP addresses tab, do the following:

    1. Because there's no subnet for this network, you first delete the pre-existing address range. To do so, select the ellipsis (...) for the available IP address range, and then select Delete address space.

      Screenshot of selections for deleting an address space.

    2. Select Add an IP address space.

      Screenshot of the button for adding an IP address space.

    3. For Starting address, enter 10.0.0.

    4. For Address space size, select /24 (256 addresses).

    5. Select Add.

      Screenshot of selections for adding an IP address space for a virtual network.

    6. Select Review + create.

  5. On the Review + create tab, select Create.

The virtual network takes a few seconds to create. After it's created, it appears on the Azure portal dashboard.

Next steps

Learn more about: