Install the NSX Agent on your Windows VM. This is the first of two steps required to enable NSX to manage your VMs. Currently, only Windows 2012 Server R2 is supported.
If you have the Quarantine Policy enabled for your compute VPC, before installing the NSX agent, assign the vm-override-sg security group to the VM to ensure that NSX Cloud does not quarantine this VM by auto-assigning the default security group to the VM. See Manage Quarantine Policy for more information.
- Find the VM’s public or private IP address so you can connect to it using RDP (or any other method you prefer):
- From the CSM dashboard, select <AWS_account_name> > >
- From the VPC section, select <Compute-VPC-Name>
- Select a Windows Server 2012 R2 VM.
- Locate either the public or private IP address of the VM.
If using a jump host, you do not need the public IP address, you can use the private IP address. This is the preferred method of accessing your workload VMs.
- Download the installation script:
- Remote log in to the VM using RDP.
- Download the installation script from
The default DNS name of PCG is nsx-gw.vmware.local. AWS Route 53 maps this name with the primary PCG IP address. The secondary CGW’s IP address, if you have one for HA, is also mapped to the same DNS name.
- Run the installation script: \nsx_install.ps1 -downloadPath <path> -operation install
The script uses the interface with the lowest index as the default interface. For a list of all script options and uninstallation instructions, see NSX Agent Install Script Options for Windows VMs.
- Verify that the required NSX Cloud and Open vSwitch services are running:
Alternatively, run sc.exe in the Windows command prompt to verify that the required services are running:
c:\> sc query nsx-agent