You can connect to an NSX server on VMware Cloud on AWS by using the Connect-NsxVmcServer cmdlet.

Prerequisites

  • Verify that you have a valid API token from VMware Cloud services.
  • Verify that you know the name of the SDDC, in which the server you want to connect to resides.

Procedure

  1. Create a variable with the VMware Cloud on AWS server connection.
    $vmcServer = Connect-VmcServer -ApiToken $apiToken
  2. Create a variable with the SDDC name.
    $sddc = Get-VmcSddc -Name $sddcName
  3. Connect to the NSX server on VMware Cloud on AWS.
    Connect-NsxVmcServer -VmcConnection $vmcServer -VmcSddc $sddc