Change the customer gateway for an AWS Site-to-Site VPN connection
You can change the customer gateway of your Site-to-Site VPN connection by using the Amazon VPC console or a command line tool.
After you change the customer gateway, your VPN connection will be temporarily unavailable for a brief period while we provision the new endpoints.
To change the customer gateway using the console
Open the Amazon VPC console at https://console.aws.amazon.com/vpc/
. In the navigation pane, choose Site-to-Site VPN connections.
-
Select the VPN connection.
-
Choose Actions, Modify VPN connection.
-
For Target type, choose Customer gateway.
-
For Target customer gateway, choose the new customer gateway.
-
Choose Save changes.
To change the customer gateway using the command line or API
-
ModifyVpnConnection (Amazon EC2 Query API)
-
modify-vpn-connection
(AWS CLI)