Configure Arc-enabled VMware vSphere

Completed

Use the vCenter helper script for an on-premises deployment. It deploys an Azure Arc resource bridge appliance in vSphere and installs the VMware cluster extension on the bridge. For an Azure VMware Solution (AVS) private cloud, use the AVS procedure below instead; it associates the resources with the managed private cloud.

Prepare your on-premises environment

  • Azure: Choose a supported region and a target resource group. Assign Azure Arc VMware Private Clouds Onboarding on that group, or use an existing Contributor or Owner assignment there. If providers aren't registered, someone with the provider's /register/action at subscription scope must register them. A resource-group role alone can't do that.
  • vSphere: Use vCenter Server version 8. The bridge appliance minimum is 4 vCPUs and 8 GB RAM. When preparing the resource pool, the VMware quickstart calls for a reservation of 4 vCPUs and at least 16 GB RAM. Plan for at least 200 GB of free datastore space, or 400 GB for a high-availability deployment. Use supported hybrid storage (flash and HDD) or all-flash storage (SSDs or NVMe); available capacity alone doesn't establish a supported storage configuration. Check the requirements for your chosen topology before reserving capacity.
  • Account: Use a dedicated vSphere account that can read the inventory and deploy and update VMs on the resource pools or clusters, networks, and templates you intend to use. The bridge requires noninteractive credentials and can't use a vSphere account that requires multifactor authentication. This restriction doesn't remove MFA requirements for administrators signing in to Azure. Credentials are encrypted locally as Kubernetes secrets. The appliance deployment/upgrade account and the VMware cluster extension account are stored separately, even when they use the same username. When rotating that account's password, update both credential sets: use az arcappliance update-infracredentials vmware for the appliance and az connectedvmware vcenter connect for the VMware extension, supplying the parameters for your existing deployment.
  • Management workstation: Run the helper on a Windows or Linux machine with 64-bit Azure CLI, internal and external DNS resolution, and connectivity to vCenter, the ESXi host backing the target datastore, and the required Azure endpoints. The workstation must also reach the appliance IPs and control plane directly on TCP 22 and 6443, bypassing proxies. The bridge needs connectivity to vCenter (normally TCP 443). Appliance peers also need TCP 6443, 2379, 2380, 10250, 10257, and 10259 for upgrades. Build the complete allow list from the current bridge network requirements and VMware support matrix; these local ports don't replace the required outbound Azure and download endpoints.

For a standard bridge, reserve three unused static IP addresses on one subnet: two for the appliance pool, including its upgrade address, and one outside the pool for the control plane. DHCP isn't supported on VMware. Don't overlap the bridge's reserved pod or service ranges. For new deployments using bridge version 1.8.0 or later, these are 10.244.0.0/16 and 10.96.0.0/24; check the version-specific requirements for an existing bridge. The following example assumes the subnet is available at your site:

Setting Example What to enter
Subnet 192.168.0.0/24 The network prefix, not an address to assign to the router.
Gateway 192.168.0.1 The actual router address on that subnet.
Appliance pool 192.168.0.10 through 192.168.0.11 Allow the required traffic from both addresses so upgrades work.
Control plane 192.168.0.12 A distinct static address on the same subnet.
DNS Your DNS server addresses Resolve both the internal vCenter name and external Azure endpoints.

Choose these settings for the bridge's lifetime. Changing its DNS configuration requires the supported recovery procedure, and in-place network migration of the appliance isn't supported. Don't treat the bridge like an ordinary VM that you can move to another subnet or restore from a VM backup. The prescribed recovery procedure can deploy a replacement bridge on a new network while preserving the vCenter and custom-location associations.

Connect an on-premises vCenter

  1. In the Azure portal, open Azure Arc > Supported environments > VMware vCenter > Add. Select Create a new resource bridge, then Next: Basics.
  2. Enter the bridge name, subscription, resource group, and region. Name the custom location for the datacenter; users select this location when placing a new VM. Keep the same subscription and resource group for this example, then name the vCenter resource in Azure.
  3. Continue to Tags, then Download and run script. If Register appears, complete provider registration with a subscription-authorized account. Download the PowerShell or Bash script for your management workstation.
  4. Run the downloaded helper on the workstation. On Windows, use an elevated PowerShell terminal, not PowerShell ISE, and run Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass before invoking the downloaded script. This changes execution policy only for that PowerShell process. On Linux, run the downloaded Bash script with bash. Sign in to Azure when prompted. Enter the vCenter address and credentials, then select the datacenter, network, resource pool, datastore, and VM folder. For the appliance, select a user-created resource pool or a default cluster resource pool. Default host resource pools aren't offered by the helper; don't deploy the appliance in a host resource pool, where a host failure leaves it without high availability.
  5. Supply the static IP settings, DNS, and any required explicit proxy and bypass list. For an SSL proxy, supply a single Base-64-encoded X.509 .CER certificate for the appliance, not a certificate bundle. The appliance proxy endpoint can't use a .local domain. These requirements don't mean you should disable certificate validation or replace the workstation's trusted certificate store. Allow about 30 to 60 minutes for onboarding.
  6. In Azure, confirm that the bridge is Running, vCenter is Connected, and the expected inventory appears. Securely retain the generated resource, appliance, and infrastructure YAML files and kubeconfig for maintenance and recovery. Don't place them in source control.

You don't need a workload Kubernetes cluster or a custom-location namespace change to manage VMware VMs. The resource bridge hosts the management components; deploying a separate application platform isn't part of VMware onboarding.

Connect an Azure VMware Solution private cloud

  1. Use the same resource group as the AVS private cloud for the onboarding resources. You need Owner or Contributor access there. Confirm regional support. Have a subscription-authorized identity register Microsoft.ConnectedVMwarevSphere, Microsoft.ExtendedLocation, Microsoft.KubernetesConfiguration, Microsoft.ResourceConnector, and Microsoft.AVS if needed. Wait until each provider is Registered before running the AVS script; resource-group access alone doesn't grant registration permission.
  2. For this example, use an x64 Windows management VM with Windows PowerShell 5.1 or later and local administrative elevation for the helper's setup actions. Verify access to vCenter, NSX Manager, and required download and Azure endpoints. Allow management-VM access to the appliance pool and control-plane addresses on TCP 22 and 6443 without a proxy; allow appliance access to vCenter on TCP 443 and peer-upgrade traffic on TCP 6443, 2379, 2380, 10250, 10257, and 10259. Configure internal/external DNS and required outbound endpoints for all appliance pool addresses, including upgrade addresses, not just the management VM. Start with working NSX routing and DNS. Plan an unused static segment whose CIDR doesn't overlap existing networks or the bridge's reserved ranges; the script can add the appliance segment to that prepared environment.
  3. Extract the current Arc for AVS release on the management VM. Open its src directory and edit the config_avs.json from that release. Enter the subscription ID, private cloud resource group and name, static segment details, and any required credentials or proxy settings. Keep the file private. For an SSL proxy, applianceProxyDetails.certificateFilePath must identify a single Base-64-encoded X.509 .CER certificate, not a certificate bundle; the appliance proxy endpoint can't use a .local domain. Supply all four optional address settings together: top-level applianceControlPlaneIpAddress, plus gatewayIPAddress, k8sNodeIPPoolStart, and k8sNodeIPPoolEnd under staticIpNetworkDetails. In this explicit mode, the address before / in networkCIDRForApplianceVM must equal gatewayIPAddress. Use a pool of at least two unused addresses within the segment for deployment and upgrades. Reserve a separate unused control-plane address in the same segment, outside the pool and distinct from the gateway; don't include the gateway in the pool either. Alternatively, omit all four keys entirely, rather than leaving empty values, and use a /28. In that default mode, use the first usable gateway address with its prefix, for example 10.14.10.1/28, not 10.14.10.0/28. In both modes this field describes the segment gateway and prefix, unlike the subnet-prefix input in the on-premises example.
  4. Open an elevated Windows PowerShell terminal and run the release's onboarding script from that src directory, where the script and configuration file are located. First run Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass, then .\run.ps1 -Operation onboard -FilePath .\config_avs.json in the same session. Sign in to Azure when prompted.
  5. Open the private cloud in the Azure portal. Under Operations > Azure Arc, check that the state is Configured. Retain the three generated bridge YAML files together and kubeconfig securely. Release 2.0.29 writes the YAML files under src\.temp and attempts to copy kubeconfig to src; if that copy is absent, check src\.temp. Check the output locations for the release you use.

Keep the resource bridge operational

The bridge is an ongoing management dependency, not just an installer. If it becomes unavailable, Azure-based inventory and virtual hardware management are affected, but the existing VMware VMs continue running. Configure a resource health alert so that an unavailable bridge is investigated promptly.

For Arc-enabled VMware, you're responsible for keeping the bridge on a supported version. Check current release notes for the supported versions and any exceptions. Plan manual upgrades at least every six months and sooner when the supported-version window requires it; supplementary Microsoft-managed upgrades don't replace this responsibility. An offline period longer than 45 days risks certificate expiry and can require recovery. Before upgrading, check the documented capacity, credentials, network connectivity, and resource-lock prerequisites. Afterwards, confirm Running and provisioning state Succeeded, then compare the installed appliance version with the supported releases. A manual upgrade can advance to the next version rather than the newest; repeat the supported upgrade process if necessary. Successful operation status alone doesn't establish that the bridge is on a supported version.

If deployment or maintenance fails, use the bridge troubleshooting guidance to identify the failed prerequisite or operation. For recovery, follow the VMware recovery procedure, rather than restoring an appliance backup or deleting its Azure resource independently. Recovery is a coordinated replacement of the bridge, not removal of the connected vCenter environment.

Onboard discovered inventory

  1. Open vCenter Server Inventory from the connected vCenter or AVS private cloud. Select the resources to manage, then Manage Arc onboarding. Choose the destination subscription and resource group carefully: moving VMware vCenter resources between groups or subscriptions isn't supported.
  2. For networks, datastores, templates, and placement resources, select Onboard to create their Azure representations. This operation doesn't change the underlying vSphere resources or install an agent. VMware Tools must be installed in a VM template for the portal to onboard it. Prepare templates without an existing Arc connection or copied Arc identity. The agent package can be preinstalled without connecting it. When guest management is required, connect each new VM after cloning so it gets its own Azure resource identity; cloning an already-connected template makes multiple agents report as the same resource.
  3. For existing VMs, choose Virtual hardware management only or Arc agent with virtual hardware management, then select Onboard. Only the second choice installs the guest agent and requires guest credentials. The next unit covers this path.

Delegate permissions and provision a VM

The person granting access needs Microsoft.Authorization/roleAssignments/write at each assignment scope, for example through Role Based Access Control Administrator, User Access Administrator, or Owner. Contributor and the VMware management roles don't grant role-assignment rights. Use Access control (IAM) > Add > Add role assignment on the relevant resource or group, select the role and team, and select Review + assign.

Task Built-in role Scope
Onboard vCenter Azure Arc VMware Private Clouds Onboarding Target resource group or subscription.
Administer the VMware environment through Arc Azure Arc VMware Administrator role Group or subscription containing the vCenter resource.
Use infrastructure for VM provisioning Azure Arc VMware Private Cloud User Selected resource pool, cluster or host; datastore; network; VM template; and custom location, or a group containing them.
Browse the shared vCenter in the portal Reader The vCenter Azure resource, if this access isn't already inherited.
Create the VM resource Azure Arc VMware VM Contributor Destination resource group or subscription.
Operate an existing VM Azure Arc VMware VM Contributor VM, its resource group, or subscription.

For self-service provisioning, grant both the right to use the infrastructure and the right to create the VM in its destination group. For example, if the application team already has VM Contributor in rg-app, give it Private Cloud User on the shared template, network, datastore, placement resource, and custom location it may use, plus Reader on the vCenter for portal navigation. A role on a resource pool doesn't grant access to a separate custom location in another group. The Private Cloud User role includes the custom-location read and deploy actions; assign it at a scope that includes that location. Don't grant Contributor on the whole private cloud merely to make the wizard work.

To use those permissions, open the vCenter's Virtual machines inventory and select Add. Choose the destination group, custom location, VMware VM kind, placement resource, datastore, and template. Review the guest management choice, credentials, disks, and network. Select Review + create > Create, then open the VM in Azure to check its power state.