Tutorial: Deploy an Azure VMware Solution private cloud in Azure

Azure VMware Solution gives you the ability to deploy a vSphere cluster in Azure. The minimum initial deployment is three hosts. Additional hosts can be added one at a time, up to a maximum of 16 hosts per cluster.

Because Azure VMware Solution doesn't allow you to manage your private cloud with your on-premises vCenter at launch, additional configuration is needed. These procedures and related prerequisites are covered in this tutorial.

In this tutorial, you'll learn how to:

  • Create an Azure VMware Solution private cloud
  • Verify the private cloud deployed

Prerequisites

Register the resource provider

To use Azure VMware Solution, you must first register the resource provider with your subscription.

az provider register -n Microsoft.AVS --subscription <your subscription ID>

Tip

Alternatively, you can use the GUI to register the Microsoft.AVS resource provider. For more information, see the Register resource provider and types article.

Create a Private Cloud

You can create an Azure VMware Solution private cloud by using the Azure portal or by using the Azure CLI.

Azure portal

  1. Sign in to the Azure portal.

  2. Select Create a new resource. In the Search the Marketplace text box type Azure VMware Solution, and select Azure VMware Solution from the list. On the Azure VMware Solution window, select Create.

  3. On the Basics tab, enter values for the fields. The following table lists the properties for the fields.

    Field Value
    Subscription The subscription you plan to use for the deployment.
    Resource group The resource group for your private cloud resources.
    Location Select a location, such as east us.
    Resource name The name of your Azure VMware Solution private cloud.
    SKU Select the following SKU value: AV36
    Hosts The number of hosts to add to the private cloud cluster. The default value is 3, which can be raised or lowered after deployment.
    vCenter admin password Enter a cloud administrator password.
    NSX-T manager password Enter an NSX-T administrator password.
    Address block Enter an IP address block for the CIDR network for the private cloud, for example, 10.175.0.0/22.
    Virtual Network Select a Virtual Network or create a new one for the Azure VMware Solution private cloud.

    On the Basics tab, enter values for the fields.

  4. Once finished, select Review + Create. On the next screen, verify the information entered. If the information is all correct, select Create.

    Note

    This step takes roughly two hours.

  5. Verify that the deployment was successful. Navigate to the resource group you created and select your private cloud. You'll see the status of Succeeded when the deployment has completed.

    Verify that the deployment was successful.

Azure CLI

Instead of the Azure portal to create an Azure VMware Solution private cloud, you can use the Azure CLI using the Azure Cloud Shell. For a list of commands you can use with Azure VMware Solution, see Azure VMware commands.

Open Azure Cloud Shell

Select Try it from the upper right corner of a code block. You can also launch Cloud Shell in a separate browser tab by going to https://shell.azure.com/bash. Select Copy to copy the blocks of code, paste it into the Cloud Shell, and press Enter to run it.

Create a resource group

Create a resource group with the [az group create](/cli/azure/group) command. An Azure resource group is a logical container into which Azure resources are deployed and managed. The following example creates a resource group named myResourceGroup in the eastus location:


az group create --name myResourceGroup --location eastus

Create a private cloud

Provide a name for the resource group and the private cloud, a location, and the size of the cluster.

Property Description
-g (Resource Group name) The name of the resource group for your private cloud resources.
-n (Private Cloud name) The name of your Azure VMware Solution private cloud.
--location The location used for your private cloud.
--cluster-size The size of the cluster. The minimum value is 3.
--network-block The CIDR IP address network block to use for your private cloud. The address block shouldn't overlap with address blocks used in other virtual networks that are in your subscription and on-premises networks.
--sku The SKU value: AV36
az vmware private-cloud create -g myResourceGroup -n myPrivateCloudName --location eastus --cluster-size 3 --network-block xx.xx.xx.xx/22 --sku AV36

Delete an Azure VMware Solution private cloud

If you have an Azure VMware Solution private cloud that you no longer need, you can delete it. An Azure VMware Solution private cloud includes an isolated network domain, one or more provisioned vSphere clusters on dedicated server hosts, and several virtual machines. When a private cloud is deleted, all of the virtual machines, their data, and clusters are deleted. The dedicated bare-metal hosts are securely wiped and returned to the free pool. The network domain provisioned for the customer is deleted.

Caution

Deleting the private cloud is an irreversible operation. Once the private cloud is deleted, the data cannot be recovered, as it terminates all running workloads and components and destroys all private cloud data and configuration settings, including public IP addresses.

Prerequisites

Once a private cloud is deleted, there's no way to recover the virtual machines and their data. If the virtual machine data will be required later, the admin must first back up all of the data before deleting the private cloud.

Steps to delete an Azure VMware Solution private cloud

  1. Access the Azure VMware Solutions page in the Azure portal.

  2. Select the private cloud to be deleted.

  3. Enter the name of the private cloud and select Yes. In a few hours, the deletion process completes.

Azure VMware commands

For a list of commands you can use with Azure VMware Solution, see Azure VMware commands.

Next steps

In this tutorial, you've learned how to:

  • Create an Azure VMware Solution private cloud
  • Verify the private cloud deployed
  • Delete an Azure VMware Solution private cloud

Continue to the next tutorial to learn how to create a jump box. You use the jump box to connect to your environment so that you can manage your private cloud locally.