How to use site to site VPN connect to multiple different region of VPC in one VPN connection?

1

I have three resource in three region. I want to use site to site VPN to create connection between on-premise and AWS cloud. It's best for me is that create one VPN connection to one of VPCs region and it can route to another two region VPCs. Is it possible using VPC peering to archive or only transit gateway can do this? Any suggestion?

PEN
已提问 1 年前1119 查看次数
2 回答
1

What your looking for is a Hub and spoke topology. Yes you can achieve this the way you describe. Either way will work. If you want something simple, create a new VPN VPC (HUB), then peer each VPC to this central HUB VPC. In the HUB VPC setup VPN to here. Remember VPC Peering isnt transitive, only the Hub will be able too connect to the other VPCs directly.

Transit gateway will give you a full mesh and is easier to manage than peering all VPC's with each other..

Question: Do you have any CIDR overlap?

profile picture
专家
已回答 1 年前
  • so it is not possible that the 2 branches to communicate with each other ?

0

Keep in mind Transit Gateway is a regional construct, you can not attach a VPC in other region to a Transit gateway in other region.

In general, having dependency on one region for connectivity to two other regions is sort of anti-pattern, you may want to look at options to connect to three regions independently to each other from resiliency standpoint.

Enter image description here

Reference: https://docs.aws.amazon.com/whitepapers/latest/aws-vpc-connectivity-options/aws-transit-gateway-vpn.html

profile pictureAWS
专家
已回答 1 年前
  • Why use a 3rd party piece of software when you can use transit gateway peering to peer another TG in another region and build your multi region transit gateway deployment.

  • I removed that particular comment of using 3rd party appliance. TGW inter-region peering will work however there is still dependency on that one TGW for connectivity to three regions. Also, TGW peering only supports Static routing today, no dynamic routing over peering connection.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则