

# Prepare VMware

Protect on-premises VMware virtual machines by registering a vCenter Server or a standalone ESXi host. AWS Backup uses agentless, VM-level snapshots, so you do not install an agent on each VM for backup.

## Supported versions
<a name="vmware-supported-versions"></a>


| Component | Supported versions | 
| --- | --- | 
| vCenter Server | 7.0, 8.0, 9.0, 9.1 | 
| ESXi host | 7.0, 8.0, 9.0, 9.1 | 

VMware Cloud Foundation is supported at the vSphere layer only (vCenter and ESXi, same version range). vSAN storage policies, NSX, and SDDC Manager are not in scope.

## Credentials
<a name="vmware-credentials"></a>

Provide the hostname or IP address (IPv4 or IPv6) of the vCenter Server or ESXi host, and an AWS Secrets Manager secret that contains username and password keys for the vCenter Server or ESXi host. You select the secret when you register the resource. Tag the secret with the key `aws-backup-external-appliance` and the value `true`, or the appliance can't read it. If the secret is in another account, its resource policy and the policy of the AWS KMS key that encrypts it must also allow the appliance IAM role. For details, see [Create the appliance IAM role](appliance-deploy.md#appliance-deploy-iam-role).

## Network and ports
<a name="vmware-network-ports"></a>

Your appliance initiates all connections, so you don't need inbound firewall rules. For the ports to open between the appliance, your vCenter Server and ESXi hosts, VMs you restore files to, and AWS, see [Network requirements and ports](appliance-network.md).

## Agentless backup
<a name="vmware-agentless"></a>

VMware backups are agentless and use VMware vSphere APIs with Changed Block Tracking (CBT) for efficient incremental backups. If you don't set `BackupConsistency` in the `VmwareVm` target configuration, AWS Backup uses `APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT`. Application-consistent backups need VMware Tools installed and running on the guest, because quiescing uses VMware Tools (VSS on Windows, or pre- and post-freeze scripts on Linux). File-level restore is the one VMware operation that requires a pre-installed agent on the target VM. The target VM must also have VMware Tools installed and running, because AWS Backup finds the VM's IP address through VMware Tools.

## Updating the host address
<a name="vmware-update-host"></a>

You can update the vCenter or ESXi hostname or IP address (for example, from an IP address to an FQDN) only if it still resolves to the same vCenter or ESXi instance.