Install the NSX Agent on your Linux VM. This is the first of two steps required to enable NSX to manage your VMs. Currently, only Ubuntu 14.04.05 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.
NSX Agent installation on Ubuntu VMs requires internet access for downloading dependencies while installing NSX packages. Make sure your Ubuntu VM has a public IP address.
- Get the VM’s IP address so you can log in to it using SSH:
- From the CSM dashboard, select <AWS_account_name> > >
- From the VPC section, select <Compute-VPC-Name>
- Select an Ubuntu 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 with root privileges.
- Download the installation script from the PCG:
The default DNS name of PCG is nsx-gw.vmware.local. AWS Route 53 maps this name with the primary PCG's IP address. The secondary PCG’s IP address, if you have one for HA, is also mapped to the same DNS name.
- If required, change permissions on the installation script to make it executable, and run it:
- chmod +x install_nsx_vm_agent.sh
- sudo ./install_nsx_vm_agent.sh
The script uses eth0 as the default interface. For a list of script options and uninstallation instructions, see NSX Agent Install Script Options for Linux VMs.