Migrate workloads to Amazon EVS using VMware HCX
After Amazon EVS is deployed, you can deploy VMware HCX with private or public internet connectivity to facilitate migration of workloads to Amazon EVS.
For more information, see Getting Started with VMware HCX
Important
HCX internet-based migration is generally not recommended for:
-
Applications sensitive to network jitter or latency.
-
Time-critical vMotion operations.
-
Large-scale migrations with strict performance requirements.
For these scenarios, we recommend using HCX private connectivity. A private dedicated connection offers more reliable performance compared to internet-based connections.
Note
The workload migration process has been tested and verified with VMware Cloud Foundation (VCF) 5.2.1 and VMware HCX 4.10.
HCX connectivity options
You can migrate workloads to Amazon EVS using private connectivity with AWS Direct Connect or Site-to-Site VPN connection, or using public connectivity.
Depending on your situation and connectivity options, you may prefer to use public or private connectivity with HCX. For example, some sites may have private connectivity with greater performance consistency, but lower throughput due to VPN encryption or limited link speeds. Likewise, you may have high throughput public internet connectivity that has more variance in performance. With Amazon EVS, you have the choice to use whichever connectivity option works best for you.
The following table compares the differences between HCX private and public connectivity.
Private connectivity | Public connectivity |
---|---|
Overview |
Overview |
Uses only private connections within the VPC. You can optionally use AWS Direct Connect or Site-to-Site VPN with a transit gateway for external network connectivity. |
Uses public internet connectivity with Elastic IP addresses, enabling migrations without a dedicated private connection. |
Best suited for |
Best suited for |
|
|
Key benefits |
Key benefits |
|
|
Key considerations |
Key considerations |
|
|
HCX private connectivity architecture
The HCX private connectivity solution integrates several components:
-
Amazon EVS network components
-
Uses only private VLAN subnets for secure communication, including a private HCX VLAN.
-
Supports network ACLs for traffic control.
-
Supports dynamic BGP propagation of routes through a private VPC route server.
-
-
AWS managed network transit options for on-premises connectivity
-
AWS Direct Connect + AWS Transit Gateway enables you to connect your on-premises network to Amazon EVS over a private dedicated connection. For more information, see AWS Direct Connect + AWS Transit Gateway.
-
AWS Site-to-Site VPN + AWS Transit Gateway provides the option of creating an IPsec VPN connection between your remote network and the transit gateway over the internet. For more information, see AWS Transit Gateway + AWS Site-to-Site VPN.
-
Note
Amazon EVS does not support connectivity via an AWS Direct Connect private virtual interface (VIF), or via an AWS Site-to-Site VPN connection that terminates directly into the underlay VPC.
The following diagram illustrates the HCX private connectivity architecture, showing how you can use AWS Direct Connect and Site-to-Site VPN with the transit gateway to enable secure workload migration through a private dedicated connection.

HCX internet connectivity architecture
The HCX internet connectivity solution consists of several components working together:
-
Amazon EVS network components
-
Uses an isolated public HCX VLAN subnet to enable internet connectvity between Amazon EVS and your on-premises HCX appliances.
-
Supports network ACLs for traffic control.
-
Supports dynamic BGP propagation of routes through a public VPC route server.
-
-
IPAM and public IP management
-
Amazon VPC IP Address Manager (IPAM) manages public IPv4 address allocation from the Amazon-owned public IPAM pool.
-
Secondary VPC CIDR block (/28) is allocated from the IPAM pool, creating an isolated public subnet separate from the main VPC CIDR.
-
For more information, see Configure HCX public internet connectivity.
The following diagram illustrates the HCX internet connectivity architecture.

HCX migration setup
This tutorial describes how to configure VMware HCX to migrate your workloads to Amazon EVS.
Prerequisites
Before using VMware HCX with Amazon EVS, ensure that HCX prerequisites have been met. For more information, see VMware HCX prerequisites.
Important
Amazon EVS has unique requirements for HCX public internet connectivity.
If you need HCX public connectivity, you must meet the following requirements:
-
Create an IPAM and a public IPv4 IPAM pool with CIDR that has a a minimum netmask length of /28.
-
Allocate at least two Elastic IP addresses (EIPs) from the IPAM pool for the HCX Manager and HCX Interconnect (HCX-IX) appliances. Allocate an additional Elastic IP address for each HCX network appliance that you need to deploy.
-
Add the public IPv4 CIDR block as an additional CIDR to your VPC.
For more information, see HCX internet connectivity setup.
Check the status of the HCX VLAN subnet
A VLAN is created for HCX as a part of the standard Amazon EVS deployment. Follow these steps to check that the HCX VLAN subnet is properly configured.
Check that the HCX VLAN subnet is associated with a network ACL
Follow these steps to check that the HCX VLAN subnet is associated with a network ACL. For more information about network ACL association, see Create a network ACL to control Amazon EVS VLAN subnet traffic.
Important
If you are connecting over the internet, associating an Elastic IP address with a VLAN provides direct internet access to all resources on that VLAN. Ensure that you have appropriate network access control lists configured to restrict access as needed for your security requirements.
Important
EC2 security groups do not function on elastic network interfaces that are attached to Amazon EVS VLAN subnets. To control traffic to and from Amazon EVS VLAN subnets, you must use a network access control list (ACL).
Check that EVS VLAN subnets are explicitly associated with a route table
Amazon EVS requires that all of the EVS VLAN subnets be explicitly associated with a route table in your VPC. For HCX internet connectivity, your HCX public VLAN subnet must be explicitly associated with a public route table in your VPC that routes to an internet gateway. Follow these steps to check the explicit route table association.
(For HCX internet connectivity) Check that EIPs are associated with the HCX VLAN subnet
For each HCX network appliance that you deploy, you must have an EIP from the IPAM pool associated with an HCX public VLAN subnet. You are required to associate at least two EIPs with the HCX public VLAN subnet for the HCX Manager and HCX Interconnect (HCX-IX) appliances. Follow these steps to check that the necessary EIP associations exist.
Important
HCX public internet connectivity fails if you do not associate at least two EIPs from the IPAM pool with an HCX public VLAN subnet.
Note
You cannot associate the first two EIPs or the last EIP from the public IPAM CIDR block with a VLAN subnet. These EIPs are reserved as network,default gateway, and broadcast addresses. Amazon EVS throws a validation error if you attempt to associate these EIPs with a VLAN subnet.
Create a distributed port group with the HCX public uplink VLAN ID
Go to the vSphere Client interface and follow the steps in Add a Distributed Port Group
When configuring failback within the vSphere Client interface, ensure that uplink1 is an active uplink and uplink2 is a standby uplink to enable Active/Standby failover. For the VLAN setting in the vSphere Client interface, enter the HCX VLAN ID that you previously identified.
(Optional) Set up HCX WAN Optimization
The HCX WAN Optimization service (HCX-WO) improves the performance characteristics of private lines or internet path by applying WAN optimization techniques like data reduction and WAN path conditioning.
The HCX WAN Optimization service is recommended on deployments that are not able to dedicate 10Gbit paths for migrations.
In 10Gbit, low latency deployments, using WAN Optimization may not yield improved migration performance.
For more information, see VMware HCX Deployment Considerations and Best Practices
The HCX WAN Optimization service is deployed in conjunction with the HCX WAN Interconnect service appliance (HCX-IX). HCX-IX is responsible for data replication between the enterprise environment and the Amazon EVS environment.
To use the HCX WAN Optimization service with Amazon EVS, you need to use a distributed port group on the HCX VLAN subnet. Use the distributed port group that was created in the earlier step.
(Optional) Enable HCX Mobility Optimized Networking
HCX Mobility Optimized Networking (MON) is a feature of the HCX Network Extension Service.
MON-enabled network extensions improve traffic flows for migrated virtual machines by enabling selective routing within your Amazon EVS environment.
MON allows you to configure the optimal path for migrating workload traffic to Amazon EVS when stretching Layer 2 networks, avoiding a long round-trip network path through the source gateway.
This feature is available for all Amazon EVS deployments.
For more information, see Configuring Mobility Optimized Networking
Important
Before you enable HCX MON, read the following limitations and unsupported configurations for HCX Network Extension.
Restrictions and Limitations for Network Extension
Restrictions and Limitations for Mobility Optimized Networking Topologies
Important
Before you enable HCX MON, make sure that in the NSX interface you’ve configured route redistribution for the destination network CIDR.
For more information, see Configure BGP and Route Redistribution
Verify HCX connectivity
VMware HCX includes built-in diagnostic tools that can be used to test connectivity.
For more information, see VMware HCX Troubleshooting