Azure VMware Solution: The Complete Guide

Azure VMware Solution: The Complete Guide

A friendly, in-depth tour of Microsoft's service that runs VMware's virtualization software on dedicated hardware inside Azure datacenters. Learn how it works, how it connects to your office network and to other Azure services, how workloads are moved in, and how to run it safely and affordably.

Imagine a company that has run its own warehouse for twenty years. The shelves are arranged in a special way, the staff know every aisle, the forklifts are trained for the building, and the barcode system is built around the layout. Now the lease on the warehouse is ending. The company could rebuild its entire operation inside a brand-new style of building, but that would mean retraining everyone, redrawing every aisle, and rewriting the barcode software. Or it could find a modern building where the shelves, aisles, and systems are arranged exactly the same way, and simply move the goods across.

Many companies face this choice with their servers. Over many years they built their computing around VMware, a very popular family of software for running many virtual servers on a few physical machines. Their people, tools, and procedures all speak VMware. Azure VMware Solution, often shortened to AVS, is Microsoft’s answer: a ready-built VMware environment that runs inside Azure datacenters, so that the same shelves and aisles exist in a new building. In this guide you will learn what AVS is, why it exists, how its parts fit together, how networking and storage work, how workloads are moved in, how it is secured and monitored, and how to avoid common mistakes. Every new word is explained when it first appears, and every big idea comes with an everyday comparison.

Same tools
Keep using familiar VMware management tools
Dedicated
Runs on bare-metal hosts reserved for your private cloud
Connected
Sits next to native Azure services on a fast private network

1What Is Azure VMware Solution?

A managed service that gives you a complete VMware environment, running on dedicated servers in Azure, operated jointly by Microsoft and you.

Starting with the word “virtualization”

A physical server is a real machine in a rack. Virtualization is a technique that lets one physical machine behave like many separate computers at once. Each of these pretend computers is a virtual machine, or VM. It has its own operating system, its own programs, and its own settings, yet it shares the real hardware with its neighbors. The software that makes this possible is called a hypervisor.

Who is VMware?

VMware is a company whose software became the standard way to run virtual machines in company datacenters. Its main hypervisor is called ESXi. Its management console is vCenter, which lets administrators create, move, and monitor thousands of VMs. Its network virtualization software is NSX, and its storage virtualization software is vSAN. Together with other pieces, these form what is often called the VMware software-defined datacenter. Millions of VMs around the world run on this stack.

What AVS adds

Azure VMware Solution deploys that same VMware stack on bare-metal servers, which are physical machines with no other software layer underneath, inside Azure datacenters. Microsoft builds and operates the physical hosts, networking, and the lifecycle of the VMware software. You get a VMware environment called a private cloud with its own vCenter, NSX, and vSAN. You then run your existing VMs, using the same tools and skills as before.

!
Licensing and offers are changing

The VMware software industry has seen large changes in ownership and licensing in recent years, and the way VMware software is licensed and bundled with Azure VMware Solution, along with host types, regional availability, and prices, has been changing. This guide teaches the lasting architecture and concepts. Always confirm the current licensing arrangement, available hosts, and terms in Microsoft’s documentation and with your account team before making commitments.

Everyday analogy

AVS is like renting a fully furnished office floor in a new tower, where the furniture, wiring, and room layout are identical to your old office. The building owner maintains the lifts, power, and air conditioning, and you walk in and carry on working as before.

Familiar

Same VMware stack

vSphere, vCenter, NSX, and vSAN, so existing skills, scripts, and tools keep working.

Dedicated

Bare-metal hosts

Physical servers reserved for your private cloud, not shared with other customers.

Managed

Microsoft runs the platform

Hardware, host software updates, and the platform lifecycle are handled for you.

Connected

Close to Azure services

Private, high-speed links to Azure networks, storage, databases, and security tools.

2Why AVS Exists: The Problems It Solves

Understanding the situation of the customer makes the product make sense.

Problem one: the datacenter lease or hardware is ending

Companies often face a hard deadline: a datacenter contract ends, servers reach end of life, or a building must be vacated. Rebuilding hundreds of applications for the cloud in a few months is rarely possible. Moving the VMs as they are can be done much faster.

Problem two: rewriting everything is expensive and risky

There are many ways to move to the cloud. At one end, you can rehost, moving the system as it is. At the other, you can rebuild, redesigning the application to use cloud-native services. Rebuilding gives the biggest long-term benefits but takes time, money, and skill. Many applications are old, poorly documented, or supplied by vendors who will not change them. AVS supports a “move first, modernize later” approach.

Problem three: retraining and process change

Operations teams have spent years learning VMware. Their monitoring, backup, security, and change processes are built around it. Moving to a very different platform means new skills and new processes on top of the migration itself. AVS keeps the operational model familiar.

Problem four: capacity on demand

A company may need extra capacity for a few months for a project, a disaster recovery site, or a seasonal peak. Buying hardware for that is wasteful. In AVS, hosts can be added or removed from a cluster, within limits and commitment terms.

Problem five: disaster recovery

Building a second datacenter just for emergencies is costly. A cloud-based VMware environment can serve as the recovery site, with replication from the primary location.

Reason to choose AVSWhat it replacesWhy it helps
Datacenter exitMonths of redesign workMove VMs unchanged to meet the deadline
Skill continuityRetraining everyoneSame consoles, same concepts
Burst or temporary capacityBuying idle hardwareAdd hosts when needed
Disaster recovery siteA second owned datacenterRecovery environment hosted in Azure
Gradual modernizationBig-bang rewriteNeighboring Azure services reachable from moved VMs
Everyday analogy

If your lease ends in three months, you first move the furniture to the new building as it is. Redecorating the rooms and buying new furniture can happen afterward, one room at a time, without the pressure of moving day.

3The VMware Stack in Plain Words

Four VMware building blocks appear throughout AVS. Learn them as a team.

ESXi: the hypervisor

ESXi is installed directly on each physical host. It divides the host’s processors, memory, and devices among the VMs. Think of it as the building’s floor plan manager who decides how much of the floor each tenant receives.

vCenter: the control tower

vCenter Server is the central management system. From one console, an administrator can see all hosts and VMs, create new VMs, move VMs between hosts, set resource rules, schedule tasks, and watch performance. It is the main place you work in AVS.

vSAN: shared storage from local disks

vSAN pools the disks inside all hosts of a cluster into one shared storage system. VM data is copied across different hosts according to policies, so if a host or disk fails, the data survives. This removes the need for an external storage array.

NSX: virtual networking and security

NSX creates networks in software. It provides virtual switches called segments, virtual routers called gateways, firewalls, load balancing, and connections to the outside. Networks can be created in seconds without touching physical cables.

Clusters and vSphere features

A cluster is a group of hosts managed as one pool of resources. Features such as vMotion (moving a running VM from one host to another without stopping it), HA (restarting VMs automatically on other hosts after a host failure), and DRS (balancing load across hosts) operate at the cluster level.

flowchart TD
    VC["vCenter: management and control"] --> CL["Cluster: group of hosts"]
    CL --> H1["ESXi host 1"]
    CL --> H2["ESXi host 2"]
    CL --> H3["ESXi host 3"]
    H1 --> VSAN["vSAN: shared storage from local disks"]
    H2 --> VSAN
    H3 --> VSAN
    NSX["NSX: virtual networks and firewalls"] --> VM["Virtual machines"]
    VSAN --> VM
    H1 --> VM
    H2 --> VM
    H3 --> VM
    
FIG 3.1 — How vCenter, hosts, vSAN, NSX, and VMs relate
ComponentJobEveryday comparison
ESXiRuns VMs on a physical hostThe floor manager of one building floor
vCenterManages all hosts and VMsThe property management office
vSANShared storage from local disksA common storeroom filled from every floor
NSXNetworking and firewalls in softwareCorridors, doors, and guards that can be rearranged instantly
vMotionLive-moves a running VMMoving a tenant between offices without interrupting their phone call
HARestarts VMs after host failureSpare staff taking over a desk when someone is suddenly absent
Everyday analogy

These four pieces are like the four systems of a smart office tower: floor management (ESXi), the control office (vCenter), the shared warehouse (vSAN), and the programmable corridors and security doors (NSX). Together they make the building usable.

4Architecture: Private Clouds, Clusters, and Hosts

The shape of what you actually create in Azure.

The private cloud

The top-level object you create in the Azure portal is an AVS private cloud. It lives in an Azure subscription and region, and it contains the VMware components: vCenter, NSX, and one or more clusters of hosts. It is private in the sense that it is dedicated to you and sits on its own isolated network.

Clusters and hosts

A private cloud has at least one cluster. A cluster needs a minimum number of hosts, commonly three, so that data can be safely copied and failures tolerated, and it has a maximum number per cluster. A private cloud can also have several clusters, up to a limit. Hosts are available in different hardware types with different amounts of processor, memory, and storage. Exact host models, sizes, and limits are updated regularly, so look up the current list for your region.

The management components

When the private cloud is created, the management components are deployed automatically. They include vCenter, the NSX managers, and supporting systems such as HCX (explained later). These consume some of the capacity of the first cluster. You get access to them through a management network that Microsoft provisions for you.

flowchart TD
    SUB["Azure subscription"] --> PC["AVS private cloud in a region"]
    PC --> MGMT["Management: vCenter, NSX manager, HCX"]
    PC --> C1["Cluster 1: hosts with vSAN"]
    PC --> C2["Cluster 2: optional, more hosts"]
    PC --> NET["Isolated private network and ExpressRoute circuit"]
    NET --> VNET["Your Azure virtual network"]
    NET --> ONP["On-premises network"]
    
FIG 4.1 — The structure of an AVS private cloud

Scaling

You can add hosts to a cluster to increase capacity, add clusters, or remove hosts when demand falls, within the minimum cluster size and your commitment terms. Adding a host typically takes a short time compared to buying and installing a physical server. Compute and storage scale together, since the host provides both, unless you attach external storage (explained in the storage chapter).

Who operates what

LayerMicrosoftYou
Datacenter, power, physical hosts and networkOperates and replaces failed partsNothing to do
Host software, vCenter, NSX lifecycleInstalls and manages updates and platform healthPlans around maintenance, follows guidance
Cluster sizing and scalingProvides the capabilityDecides how many hosts and clusters
Virtual machines, guest operating systems, applicationsNot responsibleFully yours
Network design, firewall rules, segmentsProvides the NSX platformDesigns and configures
Data protection, backup, compliance of workloadsProvides platform servicesImplements and proves
Everyday analogy

It is like an apartment in a serviced building. The management company fixes the lifts, plumbing, and roof. You decide who lives in the apartment, how the furniture is arranged, and who gets a key.

i
Understand your limits

Because Microsoft manages the platform, you receive a restricted administrator role in vCenter and NSX rather than full root control. Some low-level changes are not allowed. If a third-party tool needs deep privileges, check that it supports AVS.

5Networking: Connecting AVS to Everything

Networking is the part of AVS that most projects spend the most time on. Understand the roads before you move the cargo.

The private cloud network block

When creating a private cloud, you provide a private address range, commonly a /22 block, which AVS divides into smaller ranges for its management, vMotion, storage, and uplink networks. This range must not overlap with anything else in your Azure networks or your on-premises network. Picking it carefully at the start avoids painful redesign.

ExpressRoute inside Azure

ExpressRoute is Azure’s private connection service. Each AVS private cloud comes with an internal ExpressRoute circuit that links it to an Azure virtual network, using an ExpressRoute gateway. Through this link, VMs in AVS can reach Azure VMs, databases, storage, and other services over Microsoft’s private backbone, without crossing the public internet.

Connecting to your office or datacenter

There are two main ways to link your existing environment to AVS.

  • ExpressRoute Global Reach: connects your on-premises ExpressRoute circuit directly to the AVS circuit, so traffic flows between your site and AVS without passing through your Azure virtual network.
  • Through a virtual network and gateway or virtual WAN: traffic travels from on-premises to a hub network in Azure and onward to AVS, which allows central firewalls and routing.
flowchart LR
    ONP["On-premises datacenter"] -->|"ExpressRoute or VPN"| HUB["Azure hub virtual network"]
    ONP -.->|"Global Reach direct path"| AVS["AVS private cloud"]
    HUB -->|"ExpressRoute gateway"| AVS
    HUB --> SPOKE["Azure workloads: databases, apps, storage"]
    AVS --> SEG["NSX segments for VMs"]
    AVS -->|"internet via NSX or Azure"| NET["Internet"]
    
FIG 5.1 — Typical network connections of an AVS private cloud

NSX inside the private cloud

Within AVS, workload networks are built in NSX. The main concepts are:

  • Segment: a virtual network, similar to a VLAN, where VMs attach.
  • Tier-1 gateway: a virtual router for a group of segments, often one per tenant or application group.
  • Tier-0 gateway: the virtual router that connects the private cloud to the outside, handled by the platform.
  • Distributed firewall: rules that apply at each VM’s virtual network card, allowing micro-segmentation without hardware appliances.

Internet access

AVS offers options for outbound and inbound internet access. Options include using a managed internet service that provides outbound access and public IP addresses through NSX, or routing internet traffic through a firewall in an Azure virtual network for central inspection. Many organizations choose to send traffic through a security appliance in Azure so rules are consistent. Check the current options and their limits.

!
Address overlap is the classic mistake

If the private cloud range overlaps with any network you must connect, routing becomes impossible without rebuilding. Create an address plan across on-premises, Azure, and AVS before creating anything.

Everyday analogy

Think of road connections between cities. ExpressRoute is a private motorway, Global Reach is a direct bypass between your home town and the new city, and NSX is the internal street map of the new city. Two cities that give different houses the same address will never get mail delivered correctly.

DNS and time: the quiet essentials

Two small services cause a surprising number of migration problems. The first is DNS, the system that turns names into addresses. Moved VMs must be able to find domain controllers, databases, and each other by name, from AVS as well as from on-premises and Azure. Decide where the authoritative DNS servers live, set forwarders so that AVS can resolve names in other networks, and make sure the other networks can resolve names for AVS. The second is time synchronization. Many security and clustering features break when clocks drift apart, so all VMs and hosts should follow a trusted time source. Test both with a pilot VM long before any production move.

Also think about the path that administrators use to reach management consoles. A common design is a small jump host inside the Azure hub network, reachable only through secure remote access, from which administrators open vCenter and NSX. This avoids exposing management interfaces to wide networks and gives a single place to record who connected and when.

6Storage: vSAN and External Options

Where the data of your virtual machines lives, and how to add capacity without adding hosts.

vSAN: the default storage

Each host contains fast local disks, which vSAN combines into one pool for the cluster. VM disks are stored as objects, and storage policies decide how they are protected. A policy can request, for example, that every piece of data be stored in two or three copies on different hosts, or encoded with parity to save space. The policy you choose trades protection, performance, and usable capacity. Heavier protection uses more raw space.

Protection ideaWhat it meansTrade-off
Mirroring (several copies)Full copies on different hostsFast and resilient but uses more space
Erasure coding (parity)Data plus calculated recovery piecesSaves space, needs more hosts and some performance cost
Failures to tolerate settingHow many host failures are survivableMore tolerance means more space used

Capacity and the slack space rule

vSAN needs free space to heal after failures and to move data around. A common practice is to keep a good margin of free capacity, rather than filling the datastore to the brim. Watch utilization closely and plan to add hosts or external storage before the pool becomes very full.

The “storage-heavy” problem and external storage

Some workloads need a lot of storage but only moderate compute, such as file servers or archives. Adding hosts just for disk space is expensive. AVS therefore supports attaching external storage from Azure services to the hosts as additional datastores, such as Azure NetApp Files or Azure Elastic SAN, depending on current support. This lets storage grow independently of compute. Check which options are supported in your region and which performance tiers are available.

flowchart TD
    VM["Virtual machine disks"] --> DS1["vSAN datastore: fast local pool"]
    VM --> DS2["External datastore from Azure storage service"]
    DS1 --> POL["Storage policy: copies or parity"]
    DS2 --> NETP["Private network path to storage"]
    HOSTS["Cluster hosts"] --> DS1
    HOSTS --> DS2
    
FIG 6.1 — vSAN and optional external datastores
Everyday analogy

vSAN is the cupboard built into every apartment, combined into one building-wide storeroom. If you suddenly own many books, building another apartment just to get shelf space is silly. Renting extra storage rooms in the basement (external storage) is cheaper.

i
Match data to the right tier

Put latency-sensitive databases on vSAN, and put bulk or archive data on external storage. Review actual performance numbers before and after moving to avoid surprises.

7Getting Started: Planning and Deployment

What you decide and do before the first VM moves.

Before you deploy

  • Quota and availability: host capacity in AVS is requested from Microsoft, and availability varies by region and host type. Request it early.
  • Subscription and permissions: choose the subscription, resource group, and the people who can create and manage the private cloud.
  • Address plan: reserve the private cloud block and check for overlap.
  • Hub network: prepare an Azure virtual network with an ExpressRoute gateway.
  • Sizing: estimate hosts from inventory and utilization data of your current VMs.
1

Discover and assess

Inventory your VMs with their processors, memory, storage, and dependencies. Azure Migrate can collect this data and estimate AVS sizing.

2

Design

Choose region, host type and count, networking model, identity, security, backup, and monitoring.

3

Request capacity

Obtain quota for the hosts in your chosen region.

4

Deploy the private cloud

Create it in the portal or through automation. Provisioning takes a period of hours, as hosts and components are prepared.

5

Connect

Link to the Azure virtual network and to on-premises, and test connectivity.

6

Configure the platform

Set up identity, NSX segments and rules, DNS, storage policies, monitoring, and backups.

7

Migrate in waves

Move pilot workloads first, then larger groups, with testing between waves.

Identity and access

After deployment you receive credentials for a built-in administrator role, often called CloudAdmin, in vCenter and NSX. Rather than sharing this account, connect vCenter to your directory service so that individuals sign in with their own identities and groups are mapped to roles. This supports auditing and least privilege.

Everyday analogy

Opening a new branch office means checking the lease, ordering the phone line, drawing the seating plan, hiring a security guard, and moving staff gradually, not on a single Monday morning.

8Migrating Workloads with HCX

HCX is the moving crew that carries virtual machines from your old VMware environment into AVS.

What is HCX?

VMware HCX is a mobility tool that connects two VMware environments and moves workloads between them. In AVS, HCX is available as an add-on that you enable in the portal. You install a matching component at your source site, pair the two, and build a secure link between them. HCX can also extend networks across the two sites, so that a VM can move without changing its IP address.

Migration methods

MethodHow it worksDowntimeGood for
HCX vMotionLive-moves one running VM at a time over the linkAlmost noneSmall numbers of important VMs, when the network is good
Bulk migrationReplicates the VM in the background and then switches over, restarting it at the targetA short reboot at switchoverLarge groups of VMs
Cold migrationCopies a powered-off VMWhole move timeTest systems and non-critical machines
Replication-assisted vMotionCombines background replication with live move for several VMs at onceAlmost noneMany VMs with minimal interruption
OS-assisted migrationMoves VMs from non-VMware hypervisors with help from an agentShort outageEstates that include other virtualization platforms

Network extension

With Layer 2 extension, a network segment in your old site is stretched to AVS, so that a moved VM keeps its address and still sees its neighbors. This makes it possible to move applications piece by piece instead of all at once. The stretch is temporary: after the last VM of a network has moved, you cut over the network itself and remove the extension. During the extension, traffic between the sites passes through the link, so latency and bandwidth matter.

sequenceDiagram
    participant S as Source VMware site
    participant H as HCX link
    participant A as AVS private cloud
    participant T as Migration team
    T->>H: Pair source and AVS and create service mesh
    T->>S: Select group of VMs to migrate
    S->>A: Replicate disks in the background
    S->>A: Keep sending changes
    T->>A: Schedule switchover window
    S->>A: Final sync and stop source VM
    A->>A: Start VM at the new site
    T->>A: Test application
    T->>S: Keep source VM for rollback period
    
FIG 8.1 — A bulk migration from the old site to AVS

Planning migration waves

  1. Group VMs by application, because an application’s parts should move together or be arranged so cross-site latency does not hurt.
  2. Start with low-risk systems to practice and build confidence.
  3. Move the most interdependent or critical systems last, with the best rehearsed plan.
  4. Define success checks and a rollback plan for each wave.
!
Version compatibility matters

The source environment needs a supported version of vSphere and HCX. Old or unusual versions can complicate migration, so check compatibility early and plan upgrades if needed.

Everyday analogy

HCX is a moving company with a built-in bridge between the two buildings. For fragile furniture, it carries the item across while the office is working (vMotion). For many ordinary desks, it packs them overnight (bulk). The hallway between the buildings (network extension) lets staff keep their old desk numbers until the full move is done.

Cutover day, in detail

A well-run switchover is boring because everything was rehearsed. A few days before, the team confirms that replication is healthy and the target networks and firewall rules exist. On the day, the team follows a runbook: announce the window, stop the application at the source in the agreed order, let the final replication finish, start the VMs at the new site in dependency order (databases before application servers, application servers before web servers), update DNS or load balancer entries if addresses change, and run a prepared set of tests. Business testers then confirm key transactions. A named person has the authority to call a rollback if success criteria are not met by a fixed time. After success, the old VMs are powered off but kept for a hold period, and are only deleted after sign-off.

After each wave, hold a short review. What took longer than expected? Which firewall rule was forgotten? Which application needed a special start order? Feeding those lessons into the next wave is how the migration gets faster and safer as it proceeds.

9Data Flow: From On-Premises to Azure Services

How traffic travels once your workloads live in AVS.

flowchart LR
    U["Users"] --> FW["Central firewall or security appliance"]
    FW --> VM["VM in AVS segment"]
    VM -->|"through NSX gateway"| ER["ExpressRoute circuit"]
    ER --> HUB["Azure hub network"]
    HUB --> DB["Azure database service"]
    HUB --> ST["Azure storage"]
    HUB --> ONP["On-premises systems"]
    VM --> MON["Monitoring and backup services"]
    
FIG 9.1 — Traffic paths between users, AVS VMs, and Azure services

Traffic categories

  • East-west traffic moves between VMs inside AVS. It stays within NSX and is controlled by the distributed firewall.
  • North-south traffic enters or leaves the private cloud, toward users, the internet, Azure, or on-premises.
  • Management traffic reaches vCenter, NSX, HCX, and the platform, and should be restricted to administrators.
  • Migration traffic flows between the old site and AVS during moves.

A request, step by step

1

User connects

A user reaches the application through a load balancer, a published address, or through the corporate network.

2

Security inspection

Traffic passes the firewall, which may sit in Azure or in NSX, and rules decide whether it is allowed.

3

Application tier

The web server VM in an NSX segment receives it, and calls the application server in another segment, with firewall rules applying at each step.

4

Data tier

The application reads a database, either a VM in AVS or a native Azure database reached over the private link.

5

Response returns

The answer travels back along the same path, and logs of each step go to monitoring.

Why latency still matters

Traffic between AVS and Azure services is fast, because they sit in the same cloud. Traffic between AVS and your old datacenter, however, has real distance. If an application tier is moved to AVS but its database stays on-premises, every query crosses that distance. This split-brain arrangement can make a system painfully slow. Plan so that tightly coupled components move together.

Everyday analogy

If a restaurant moves its kitchen to a new city but leaves the pantry behind, every order needs a long trip for ingredients. Move the kitchen and pantry together, or deliver ingredients on a fast route.

10Integration with Native Azure Services

A big advantage of AVS is that moved VMs gain Azure neighbors that can be adopted step by step.

Data

Azure databases

Move databases to managed services over time, while application VMs stay in AVS, reducing database administration.

Storage

Blob, files, and NetApp Files

Use Azure storage for backups, archives, file shares, or extra datastores.

Web

Application Gateway and Front Door

Publish applications securely with web firewalls and load balancing.

Identity

Microsoft Entra ID

Central identity for administrators and for applications.

Operations

Azure Monitor and Log Analytics

Collect metrics and logs from the platform and the VMs.

Security

Defender for Cloud and Sentinel

Posture checks, threat detection, and security analytics for the hybrid estate.

Protect

Azure Backup and Site Recovery options

Cloud-based backup and disaster recovery solutions for VMs, where supported.

Automate

Templates and automation tools

Describe private clouds and settings as code for repeatable environments.

The modernization ladder

AVS is often the first rung of a ladder, not the final destination. Teams typically move VMs first, and then replace pieces step by step.

1

Rehost in AVS

Move VMs unchanged to meet the deadline.

2

Connect to Azure services

Use Azure monitoring, backup, identity, and storage.

3

Replace components

Swap self-managed databases or web servers for managed Azure services.

4

Rebuild selectively

Re-architect the applications that benefit most, and retire the rest.

i
Keep an exit path

Because moving to AVS carries commitment terms, keep a roadmap that shows which workloads will leave AVS and when, so that you do not pay for hosts that no longer have a purpose.

Everyday analogy

After moving to the new building, you can start using the shared services around it: a cafeteria downstairs, a courier service, a conference center. You use them when they are better than doing the same thing in your own office.

11Security and Compliance

Security in AVS is shared: Microsoft protects the platform, and you protect what runs on it.

flowchart TD
    A["Physical: Microsoft datacenter and hosts"] --> B["Platform: lifecycle and isolation by Microsoft"]
    B --> C["Network: NSX segments, gateway firewall, distributed firewall"]
    C --> D["Access: identity, roles, privileged access"]
    D --> E["Workloads: guest operating systems and applications"]
    E --> F["Data: encryption and backups"]
    F --> G["Monitoring: logs, alerts, threat detection"]
    
FIG 11.1 — Layers of security in an AVS environment

Network security

  • Micro-segmentation: use the NSX distributed firewall to allow only the traffic each VM needs, even between VMs in the same segment.
  • Gateway firewalls: control traffic leaving or entering the private cloud.
  • Central inspection: route internet and cross-site traffic through a firewall in an Azure hub network for consistent policy and logging.
  • Protect management interfaces: allow vCenter, NSX, and HCX only from administrator networks.

Identity and privileged access

Connect vCenter and NSX to your directory. Grant roles to groups according to job duties. Protect the built-in administrator credentials in a vault, restrict their use to emergencies, and rotate them. Require multi-factor sign-in for the portal and for jump hosts used to reach management consoles.

Data protection

vSAN data at rest is encrypted by default using platform-managed keys, with options for customer-managed keys in supported setups. Traffic between sites should use encrypted links. Remember that encryption does not replace backup: a deleted or corrupted VM must be restored from a backup copy.

Compliance

AVS is built on Azure infrastructure that has been assessed against many industry and regional standards, but the compliance of your workloads depends on your configuration and processes. Review Microsoft’s current compliance documentation for the specific standards you must meet, and keep evidence such as access reviews, patch records, and firewall rule justifications.

Workload security basics

  • Keep guest operating systems patched; the platform does not patch your VMs.
  • Run endpoint protection and monitoring inside the VMs.
  • Scan for vulnerabilities and unusual behavior using cloud security tools that support AVS workloads.
  • Isolate sensitive systems in their own segments with strict rules.

Strong signs

  • Micro-segmentation with deny-by-default rules
  • Named admin accounts through directory groups
  • Central logging and alerts
  • Tested restores
  • Documented network and address plan

Warning signs

  • Everything allowed inside the private cloud
  • Shared admin password
  • Management consoles open to wide networks
  • Unpatched guest systems
  • Backups never tested
Everyday analogy

The tower owner provides locks on the building entrance and guards in the lobby. Each tenant still decides whether to lock the office door, who gets a key, and what to leave on the desk overnight.

12Backup, Disaster Recovery, and High Availability

Three different questions: what if a host fails, what if I delete something by mistake, and what if a whole site is lost?

High availability within the cluster

vSphere HA restarts VMs automatically on other hosts if a host fails. vSAN keeps data copies on different hosts. The platform also replaces failed hosts according to service terms. For this to work, keep enough spare capacity in the cluster so that the remaining hosts can carry the load when one is lost.

Backup

Backup answers the question “what if data is deleted or corrupted?” Because VM snapshots on the same storage are not backups, use a real backup product that stores copies outside the cluster. Options include Azure-based backup services that support AVS, and third-party backup tools that integrate with VMware. Define how often to back up, how long to keep copies, and how quickly each system must be restored. Test restores regularly.

Disaster recovery

Disaster recovery answers “what if the entire site or region fails?” Typical designs include replication to another AVS private cloud in a different region, replication to an on-premises site, or replication to native Azure services. The right design depends on the recovery objectives of each application.

NeedTypical mechanismProtects against
Host failurevSphere HA and vSAN copiesHardware failure
Accidental deletion or corruptionBackup with retentionHuman error, malware
Site or region failureReplication to a second locationLarge-scale outage
Planned maintenanceCluster capacity and vMotionRolling updates without downtime
flowchart LR
    PRIM["AVS in primary region"] -->|"replicate"| SEC["Recovery site: AVS in second region or on-premises"]
    PRIM -->|"scheduled backups"| BK["Backup storage outside the cluster"]
    PRIM --> HA["Cluster HA: restart on other hosts"]
    SEC --> RUN["Recovery plan: order, networks, tests"]
    
FIG 12.1 — Three layers of resilience: cluster, backup, and second site
!
Snapshots are not backups

A snapshot is a short-term bookmark stored on the same system as the VM. If the storage is lost or corrupted, the snapshot goes with it. Long-lived snapshots also slow down VMs. Use them for quick rollbacks before a change, and then delete them.

Everyday analogy

A spare tire handles a flat (HA). A photocopy of your passport in a drawer handles a lost document (backup). A second home in another city handles a flood in the first (disaster recovery). Each answers a different risk.

Setting recovery targets that people understand

Two simple numbers guide every protection design. The recovery time objective is how long an application may be unavailable after a failure. The recovery point objective is how much recent data may be lost. A payroll report that can wait a day and lose a day of changes needs far simpler protection than an order system that must be back within minutes with almost no lost orders. Agree these numbers with the business owners for each application, group applications into a few tiers, and design one protection pattern per tier. This keeps the design understandable and the bill fair, because only the applications that truly need expensive protection receive it.

Finally, write down the order of recovery. Directory services and DNS must come back first, then databases, then application servers, then web tiers. A recovery plan that lists steps, owners, and expected times is worth far more than a diagram on its own, and it must be tested at least once or twice a year because systems change and plans decay.

13Monitoring, Operations, and Maintenance

Running AVS day after day, and understanding what Microsoft does behind the scenes.

What to monitor

Capacity

CPU, memory, and storage use

Watch cluster-level utilization and plan to add hosts before saturation.

Storage

vSAN capacity and health

Free space, rebuild activity, and disk health. Keep a margin of free space.

Network

Bandwidth and latency

ExpressRoute utilization, NSX edge load, and latency to dependent systems.

Platform

Service health notices

Alerts and notifications about maintenance, incidents, and host replacements.

VM

Guest-level health

Performance, errors, and application metrics from inside the VMs.

Security

Logs and alerts

Firewall logs, sign-in records, configuration changes, and threat alerts.

Where monitoring data goes

Metrics and logs can be sent to Azure Monitor and Log Analytics, and syslog from NSX and vCenter can be forwarded to a central logging system. Many organizations also keep their existing VMware monitoring tools, which continue to work against vCenter.

Platform maintenance

Microsoft keeps the VMware software and host firmware up to date within supported versions. Upgrades are rolled out in stages and are designed to be non-disruptive through vMotion and cluster capacity. You receive advance notices through Azure service health. To keep upgrades smooth, leave spare capacity in the cluster and avoid configurations that block host evacuation, such as VMs pinned to a specific host.

Operations you still own

  • Patching and managing guest operating systems and applications.
  • Managing VM lifecycle: creation, sizing, decommissioning.
  • Right-sizing VMs to avoid wasting host capacity.
  • Managing templates, firewall rules, DNS, and time settings.
  • Reviewing alerts and handling incidents.

Troubleshooting basics

SymptomLikely causeWhat to check
Cannot reach vCenterRouting, DNS, or firewall between your network and AVSExpressRoute status, route advertisements, DNS resolution of management names
VM cannot reach Azure servicesMissing route or firewall ruleNSX gateway rules, route tables in Azure, network security rules
Migration is slowLink bandwidth or latency, or busy sourceHCX link health, network throughput, source load
Storage nearly fullToo little free space for protection policyvSAN capacity, large snapshots, thin provisioning growth
Application slow after moveCross-site dependency or under-sized VMLatency to database, CPU ready time, memory pressure
DNS names do not resolveForwarders not set for private zonesDNS service configuration in AVS and in Azure
Everyday analogy

In a managed building, the owner services the lifts at night in sections so that people can still reach their floors. Tenants help by not blocking the corridors with boxes during that work.

14Sizing, Performance, and Cost

AVS is billed by the host, so sizing decides the bill.

How sizing works

Start with data from your current environment: CPU use, memory use, storage consumed, and storage input and output rates for each VM. Tools such as Azure Migrate can analyze and suggest a number of hosts. Then adjust for storage protection policy, spare capacity for failures and maintenance, and growth. Hosts that are limited by storage but not by compute are a sign that external storage may save money.

Cost drivers

DriverWhy it mattersHow to manage it
Number and type of hostsMain cost; billed whether VMs are busy or idleRight-size VMs, consolidate, remove unneeded hosts within terms
Commitment termLonger reservations usually reduce the hourly priceCommit only to the baseline you are sure to need
Software licensingGuest operating systems and databases need licensesUse eligible license benefits and plan license mobility carefully
NetworkExpressRoute, gateways, and data transfer between regionsChoose circuit sizes from measurements
Storage extrasExternal datastores and backup storageTier data by access need
Backup and DR toolingThird-party licenses or replication targetsAlign protection level to business value

Performance considerations

  • Over-commitment: VMs often share CPU cores, but too much sharing causes waiting. Watch CPU ready time.
  • Memory: avoid memory shortages that cause the hypervisor to compress or swap.
  • Storage: match policies to workload needs. Heavy random writes with erasure coding can be slower than mirroring.
  • Network paths: keep chatty components close together, and check bandwidth of the ExpressRoute circuit.
!
Check prices and terms on the day

Host prices, reservation discounts, license rules, and offers change. Use official pricing and discuss terms with Microsoft before building a business case. Do not base long-term decisions on numbers remembered from articles.

Everyday analogy

Renting floors in a tower is priced by the floor, not by how many people sit at desks. A half-empty floor costs as much as a full one, so filling floors efficiently, and giving back unused floors where the lease allows, is how you control the bill.

A worked sizing story in words

Suppose a company has four hundred VMs. Measurements show that, at their busiest, they use about the equivalent of three hundred virtual processors’ worth of real work, a bit over four terabytes of memory in active use, and around ninety terabytes of stored data. A first estimate based on compute alone suggests a modest number of hosts. But storing ninety terabytes with a protection policy that makes extra copies needs far more raw disk than the data itself, and that storage need pushes the host count up sharply. The team notices that sixty terabytes of the data are file shares and old archives that are rarely read. By placing that data on an external datastore from an Azure storage service, the number of hosts needed drops significantly. The lesson is that the limiting resource is not always the one you expect, and that looking at compute, memory, and storage separately reveals savings.

Add the safety margins last: capacity to survive a host failure and to allow rolling maintenance, and a growth allowance for the first year. Then compare the final plan with the cost of other options, such as converting suitable VMs to native Azure virtual machines, so that the decision rests on numbers rather than habit.

15Governance, Automation, and Operating Model

Technology works better when people know who decides what.

Governance basics

  • Ownership: name who owns the private cloud, the network, the security rules, and each application.
  • Change control: record changes to firewall rules, networks, and cluster sizes, with review for risky ones.
  • Tagging and naming: label resources with owner, environment, and cost center so bills and responsibility are clear.
  • Policy: use Azure Policy and role-based access for the Azure side, and consistent rules for the VMware side.
  • Lifecycle: rules for how long test VMs live and when unused VMs are removed.

Automation

Anything done more than a couple of times should be automated. The Azure side can be created from templates and automation tools. On the VMware side, existing scripts, orchestration tools, and APIs continue to work within the permissions you hold. AVS also provides a way to run approved administrative commands as part of the managed experience, since you do not have full root control. Store automation definitions in version control, review changes, and test them in a small environment first.

A sensible operating model

TeamTypical responsibilities
Platform teamPrivate cloud, clusters, network connectivity, capacity planning, platform monitoring
Network and security teamAddress plan, firewalls, segmentation rules, threat monitoring
Application teamsTheir VMs, patching, performance, and migration testing
Finance or cloud officeBudgets, commitments, tagging, and cost reviews
Service ownerRoadmap: which workloads stay, modernize, or leave AVS
flowchart TD
    OWN["Service owner: roadmap and budget"] --> PLAT["Platform team: private cloud and capacity"]
    OWN --> SEC["Security team: rules and monitoring"]
    PLAT --> APPT["Application teams: VMs and migration"]
    SEC --> APPT
    PLAT --> FIN["Cloud finance: cost and commitments"]
    APPT --> FIN
    
FIG 15.1 — Who works with whom in a well-run AVS environment
Everyday analogy

A shared office tower works when there is a floor manager, a security desk, tenants who follow rules, and an accountant who sees who uses what. Without clear roles, small problems drift between departments.

16Design Patterns and Anti-Patterns

Approaches that successful teams repeat, and traps they learned to avoid.

Pattern: hub and spoke with AVS as a spoke

Place shared services, firewalls, and gateways in an Azure hub network. Connect AVS, native Azure workloads, and on-premises as spokes. Traffic is inspected centrally and rules are consistent.

Pattern: land, then optimize

Move quickly to meet the deadline, then spend the following months reducing cost and risk: right-size VMs, use external storage, replace components with Azure services.

Pattern: landing zone first

Prepare identity, networking, monitoring, policy, and security before migrating. A well-prepared landing zone makes every wave faster and safer.

Pattern: AVS as disaster recovery site

Use a private cloud with a small baseline of hosts as the recovery location for an on-premises VMware environment, scaling up the cluster during a real failover or a rehearsal where terms allow.

flowchart TD
    HUB["Azure hub: firewall, DNS, gateways, monitoring"] --> AVSS["Spoke: AVS private cloud"]
    HUB --> AZS["Spoke: native Azure workloads"]
    HUB --> ONPS["Connection to on-premises"]
    AVSS --> AZS
    
FIG 16.1 — Hub and spoke layout with AVS as one spoke

Anti-patterns

Do this

  • Plan addresses and landing zone first
  • Migrate in tested waves
  • Move dependent systems together
  • Keep spare cluster capacity
  • Keep a modernization roadmap

Avoid this

  • Treating AVS as a permanent parking lot for old systems
  • Splitting tightly coupled tiers across sites
  • Running clusters at full capacity
  • Relying on snapshots as backups
  • Leaving network extensions in place forever
ADR-01Accepted
Decision: use AVS to exit the datacenter by the lease end date, then modernize in phases

Context: The datacenter lease ends in nine months. Several hundred VMs run on VMware, many from vendors that cannot be changed quickly.

Decision: Deploy an AVS private cloud connected to an Azure hub, migrate in waves using HCX, and review each application for modernization after cutover.

Consequences: The deadline is met with limited change risk. The company pays for dedicated hosts during the transition and must follow the roadmap to avoid carrying idle capacity long term.

The best AVS projects are not the ones that move fastest. They are the ones that know what they will do after they land.

17Best Practices and Common Mistakes

A practical checklist and a list of avoidable errors.

Best practices

1

Assess with real data

Use measured utilization, not nameplate specifications, and map application dependencies.

2

Secure capacity early

Request host quota in advance, since supply varies by region and type.

3

Plan the network first

Create an address plan, choose connection methods, and test routing before migrating.

4

Apply least privilege

Use directory groups, restricted roles, and separate emergency accounts.

5

Protect and test

Implement real backups and a disaster recovery plan, and rehearse restores and failovers.

6

Migrate in waves

Pilot, learn, adjust, then scale. Keep rollback options during a hold period.

7

Watch capacity and cost monthly

Track utilization and right-size, using external storage or scaling hosts when it pays off.

8

Keep a modernization roadmap

Decide which workloads will move to native services, and when.

Common mistakes

MistakeWhat happensBetter approach
Overlapping address rangesConnectivity cannot be completedMake an address plan across all environments
Splitting an application across sitesLatency and slow performanceGroup by application and move together
Sizing from peak specs, not usePaying for too many hostsSize from measured usage with a growth margin
Filling clusters to the limitNo room to tolerate failures or maintenanceKeep spare capacity
Using snapshots instead of backupsData loss when storage failsUse real backup with offsite copies
One shared admin accountNo accountability and big breach riskIndividual identities with limited roles
Assuming full root controlTools or scripts fail due to restricted permissionsVerify tool support and use approved administrative methods
Never modernizingPermanent cost with no improvementRoadmap with dates and owners
Ignoring licensing detailsSurprise costs or compliance issuesReview current license terms with Microsoft and vendors
!
The surprise bill

Because hosts are billed continuously, leaving a large test cluster running over a quiet month can cost as much as a busy production month. Set budgets and alerts, and review them often.

18Real-World Scenarios

These are composite examples that show typical situations. They are illustrations, not reports about specific companies.

Scenario 1: Datacenter exit on a deadline

Situation: A manufacturing company must leave its datacenter within a year. It runs hundreds of VMs on VMware, including vendor-supported applications that cannot be changed.

Solution: The team builds a landing zone, deploys AVS, uses HCX to move applications in waves, and cuts over networks after each wave.

Result: The deadline is met with limited application changes, and the roadmap lists which systems will later move to native services.

Scenario 2: Disaster recovery for a regional hospital group

Situation: A healthcare provider needs a recovery site for its clinical systems but cannot justify a second datacenter.

Solution: A small AVS private cloud receives replicated VMs. Recovery plans define start order and networks, and the team rehearses failover twice a year.

Result: Clear recovery times that the board can approve, at lower cost than a second owned site.

Scenario 3: Seasonal capacity for a retailer

Situation: A retailer needs much more capacity from October to January for its stores’ back-office systems.

Solution: The company keeps a baseline cluster in AVS and scales out hosts before the season, within the terms of its agreement, then scales back.

Result: No purchase of hardware that sits idle for most of the year.

Scenario 4: Gradual modernization of an ERP system

Situation: A company runs a large business application with its database on a VM, and wants to reduce database administration without a risky rewrite.

Solution: The application servers move to AVS first. Later, the database is migrated to a managed Azure database service reached over the private network, while the application servers stay in place.

Result: Fewer operational tasks and a step toward a full modern design, without a big-bang change.

Scenario 5: Acquisition and merging environments

Situation: Two companies merge, each with its own VMware environment and datacenter.

Solution: Both move to a shared AVS private cloud with separate segments and firewall rules, then consolidate duplicate systems over time.

Result: A faster path to one platform, and one connection point to shared Azure services.

19AVS Compared with Other Options

AVS is one choice among several ways of moving workloads.

OptionWhat it isBest forTrade-off
Azure VMware SolutionDedicated VMware stack in AzureFast exit with minimal change, VMware skill reuse, disaster recoveryDedicated host cost and VMware licensing considerations
Azure virtual machines (rehost)Convert VMs to native Azure VMsLong-term cost efficiency and native managementConversion effort, testing, and tooling changes
Azure managed services (replatform)Use managed databases, web hosting, and so onReducing administrationApplication changes and testing
Rebuild (cloud-native)Redesign for containers and serverlessMaximum agility and scaleLongest time and highest cost
Stay on-premisesRenew hardware and datacenterStrict control or latency needsCapital cost and ongoing maintenance
Other VMware-based cloudsVMware stack hosted by other providersMulti-cloud strategiesDifferent integration and support
flowchart TD
    Q["Start: workloads on VMware"] --> A{"Hard deadline and little time to change apps"}
    A -->|"yes"| AVSX["Azure VMware Solution first, then modernize"]
    A -->|"no"| B{"Applications can run on native Azure VMs"}
    B -->|"yes"| NAT["Move to native Azure VMs or managed services"]
    B -->|"no"| C{"Strong need to keep VMware tooling"}
    C -->|"yes"| AVSX
    C -->|"no"| REB["Rebuild or retire"]
    
FIG 19.1 — A simple way to think about the choice
i
Compare total cost over several years

AVS often wins on time and risk, while native services often win on long-term cost and operations. Many companies use both: AVS for what must move fast, native Azure for what can be improved. Build your comparison with current prices and your own measured data.

20Frequently Asked Questions

Q1What is Azure VMware Solution in one sentence?

It is a service that runs the VMware virtualization stack on dedicated hosts in Azure datacenters, so you can move VMware workloads to the cloud without rebuilding them.

Q2Who manages what?

Microsoft operates the physical infrastructure and manages the lifecycle of the platform software. You manage your VMs, guest systems, applications, network design, and data protection.

Q3Is it the same as running Windows VMs in Azure?

No. Native Azure VMs run on Azure’s own hypervisor and tools. AVS runs the VMware stack, so VMs keep their VMware format and management tools.

Q4How do I move VMs in?

Usually with VMware HCX, which supports live moves, bulk moves, and network extension. Other tools and methods also exist.

Q5How many hosts do I need?

A cluster has a minimum number of hosts, commonly three. The number you need depends on measured CPU, memory, and storage use, plus spare capacity. Check current minimums and limits.

Q6Can I connect it to my existing network?

Yes. Common methods are ExpressRoute Global Reach and routing through an Azure hub network with an ExpressRoute or virtual WAN connection.

Q7Can my VMs use Azure services?

Yes. The private cloud is connected to Azure networks, so VMs can reach Azure databases, storage, monitoring, and security services over private paths.

Q8Do I get full administrator rights?

No. You receive a powerful but restricted role, because Microsoft manages the platform. Some low-level changes are not allowed.

Q9How is it billed?

Mainly per host per hour, with discounts for commitment terms, plus charges for extras like networking and storage. Check current pricing and licensing terms.

Q10What happens during maintenance?

Microsoft updates hosts and software in stages, using live migration and cluster spare capacity to avoid downtime. You are notified in advance through service health.

Q11Do I still need backups?

Yes. Platform resilience protects against hardware failures, not accidental deletion, corruption, or ransomware. Use a real backup solution and test restores.

Q12Can I add storage without adding hosts?

In many cases yes, by attaching supported external datastores from Azure storage services. Check supported options for your region.

Q13Is AVS a permanent solution?

It can be, but many organizations use it as a stepping stone. Keep a roadmap that states which workloads will remain, modernize, or leave.

Q14What about VMware licensing?

The licensing and bundling arrangements in the VMware ecosystem have been changing. Confirm the current terms with Microsoft and your account team before committing.

Q15Where should a beginner start?

Learn the VMware basics (vCenter, ESXi, vSAN, NSX), then study how AVS connects to Azure networks. Run a discovery and assessment of your VMs, and plan a pilot wave with a low-risk application.

21Summary and Key Takeaways

AVS lets you move the warehouse without rearranging the shelves.

We began with a company that had to leave its old warehouse and had to choose between rebuilding everything and moving into a building arranged in exactly the same way. Azure VMware Solution is the second choice. It gives you a VMware private cloud on dedicated Azure hosts, with vCenter, vSAN, and NSX that your team already knows, while Microsoft runs the physical platform and its lifecycle. HCX carries workloads across, ExpressRoute connects the networks, and native Azure services sit next door, ready to be used when you are.

The deeper lesson is that AVS is a bridge, and bridges work best when you know where you are going. Good projects plan addresses and networks first, move related systems together, protect data with real backups and tested recovery, watch capacity and cost closely, and keep a roadmap for modernizing after the move.

Key Takeaways

  • Azure VMware Solution runs the VMware stack (ESXi, vCenter, vSAN, NSX) on dedicated bare-metal hosts in Azure, managed jointly by Microsoft and you.
  • It is ideal for fast datacenter exits, disaster recovery, burst capacity, and teams that want to keep VMware skills and tools.
  • Networking is the heart of the design: plan non-overlapping address ranges, use ExpressRoute and Global Reach or a hub network, and build NSX segments and firewall rules.
  • HCX migrates VMs by live move, bulk replication, or cold copy, with temporary network extension; migrate in tested waves and keep related tiers together.
  • Security is shared: use directory-based access, micro-segmentation, central logging, patched guest systems, and real backups with tested restores.
  • Billing is by host, so size from measured data, keep spare capacity, consider external storage for storage-heavy workloads, and watch commitments.
  • Treat AVS as a step in a roadmap, and confirm current host types, limits, licensing, and prices in Microsoft’s documentation.