Associate or disassociate Amazon Direct Connect virtual private gateways - Amazon Direct Connect
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Associate or disassociate Amazon Direct Connect virtual private gateways

You can associate or disassociate a virtual private gateway and Direct Connect gateway using either the Amazon Direct Connect console or using the command line or API. The account owner of the virtual private gateway performs these operations.

To associate a virtual private gateway
  1. Open the Amazon Direct Connect console at https://console.amazonaws.cn/directconnect/v2/home.

  2. In the navigation pane, choose Direct Connect gateways and then choose the Direct Connect gateway.

  3. Choose View details.

  4. Choose Gateway associations, and then choose Associate gateway.

  5. For Gateways, choose the virtual private gateways to associate, and then choose Associate gateway.

You can view all of the virtual private gateways that are associated with the Direct Connect gateway by choosing Gateway associations.

To disassociate a virtual private gateway
  1. Open the Amazon Direct Connect console at https://console.amazonaws.cn/directconnect/v2/home.

  2. In the navigation pane, choose Direct Connect Gateways and then select the Direct Connect gateway.

  3. Choose View details.

  4. Choose Gateway associations and then select the virtual private gateway.

  5. Choose Disassociate.

To associate a virtual private gateway using the command line or API
To view the virtual private gateways associated with a Direct Connect gateway using the command line or API
To disassociate a virtual private gateway using the command line or API