In this blog, I am explaining how to associate multiple virtual private gateways to single direct connect gateway in an AWS account.
Direct connect gateway gives you the option of associating multiple Virtaul Private Gateways(VGW) in an account to one direct connect gateway. When the direct connection established, it need to be consumed at AWS console either by VPG or by direct connect gateway. If you have multiple VPCs in the account and have multiple associated virtual gateways which need to be facilitated by one direct connect connection then direct connect gateway is the best option to manage this. Detailing below the steps to associate multiple VGWs to single direct connect gateway.
-
Create a Virtual Private Gateway.
-
After you create the Virtual Private Gateway, it will be in the detach state, attach it or associate it with your VPC.
-
After Virtual Gateway is attached to the VPC, create the direct connect gateway. Navigate to Direct Connect > Direct connect gateways and click on create direct connect gateways
-
Mention some name for the direct connect gateway and provide Amazon side ASN with in the given rage. This range need to define between 64512β65534
-
After direct connect gateway is created in your AWS account, it will show in the available state. Click on the gateway id and click the second tab gateway associations to associate your virtual gateway to the direct connect gateway.
-
Click on the associate gateway and attach the virtual private gateway which you have created earlier and associated with VPC.
-
Initially the page will show the status of associating and after 3β4 minutes, the state will change to associated.
As given above in the steps, you can associate multiple virtual private gateway to single direct connect gateway in an account. Please note this association can happen only with in the account and not cross-accounts.
Top comments (0)