Customer gateway associations
To add your on-premises network to your global network, you associate a customer
gateway with your device, and optionally, a link. The customer gateway must already be
in your global network as part of a VPN attachment in your transit gateway. If you
specify a link, it must already be associated with the specified device.
For more information about creating a customer gateway, see Create a Customer
Gateway in the AWS Site-to-Site VPN User Guide. For more information
about creating a VPN attachment to a transit gateway, see Transit Gateway VPN Attachments
in Amazon VPC Transit Gateways.
For more information about viewing
the topology of your on-premises network in Network Manager, see Visualize transit gateway networks
/>.
You can associate a customer gateway with a device and link in one of the following
ways:
- Transit gateways page
-
To associate a customer gateway using the Transit gateways
page
Access the Network Manager console at https://console.aws.amazon.com/networkmanager/home/.
-
Under Connectivity, choose Global Networks.
-
On the Global networks page, choose the global network ID.
-
In the navigation pane, choose Transit
gateways, and then choose the ID of your transit
gateway.
-
Choose On-premises associations.
-
Select your customer gateway and choose
Associate.
-
For Device, select the ID of the device to
associate. For Link, select the ID of the link
to associate.
-
Choose Edit on-premises association.
- Devices page
-
To associate a customer gateway using the Devices page
Access the Network Manager console at https://console.aws.amazon.com/networkmanager/home/.
-
Under Connectivity, choose Global Networks.
-
On the Global networks page, choose the global network ID.
-
In the navigation pane, choose Devices, and
then choose the ID of your device.
-
Choose On-premises associations.
-
Choose Associate.
-
For Customer gateway, select the ID of the
customer gateway to associate. For Link, select
the ID of the link to associate.
-
Choose Create on-premises association.
You can disassociate a customer gateway from a device or link in one of the following
ways:
- Transit gateways page
-
To disassociate a customer gateway using the Transit gateways
page
Access the Network Manager console at https://console.aws.amazon.com/networkmanager/home/.
-
Under Connectivity, choose Global Networks.
-
On the Global networks page, choose the global network ID.
-
In the navigation pane, choose Transit
gateways, and then choose On-premises
associations.
-
Select your customer gateway and choose
Disassociate.
- Devices page
-
To disassociate a customer gateway using the Devices page
Access the Network Manager console at https://console.aws.amazon.com/networkmanager/home/.
-
Under Connectivity, choose Global Networks.
-
On the Global networks page, choose the global network ID.
-
In the navigation pane, choose Devices, and
then choose the ID of your device.
-
Choose On-premises associations.
-
Select your customer gateway and choose
Disassociate.
Working with customer gateway associations using the AWS CLI
You can work with customer gateway associations using the following
commands.