It is a best practice to verify that all components are up and running, before deploying in a production environment.

Verify whether NSX Agent is connected to CGW

To verify that the NSX Agent on your workload VM is connected to CGW, do the following:

  1. Type the nsxcli command to open NSX-T CLI.

  2. Type the following command to get the gateway connection status:

    get gateway connection status
    Public Cloud Gateway  : nsx-gw.vmware.com:5555
    Connection Status 	: ESTABLISHED 

Verify the VM’s Interface/Network Mode

The VM on which the NSX agent is installed, can have one of two switch modes -- overlay or non-overlay. Verify as follows:

  1. Type the nsxcli command to open NSX-T CLI.

  2. Type the command to view the switch mode.

    get vm-network-mode
    VM-Network-Mode : overlay
    Interface : eth0
    
    

The nsx:network key must have the value default (non-overlay) or <logical_switch_ID_from_NSX-T> for the overlay Logical Switch ID.

Verify VM Interface Tag in AWS

The Windows and Ubuntu VMs must have the correct tags to connect to CGW.

  1. Log in to the AWS console.

  2. Verify the VM eth0 or interface tag.