Configure Network Load Balancer across VPCs

0

If VPC A and VPC B are peered. It is possible to create a NLB in VPC A that routes traffic to targets/subnets in VPC B?

AWS
已提问 5 年前4380 查看次数
1 回答
0
已接受的回答

Yes this is possible to be done. One of the blogs talks about capabilities of using IP address targets in target groups. These IP addresses does not necessarily have to be within the CIDR block of the load balancers VPC but can belong to any IPv4 address from the RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16) or the RFC 6598 range (100.64.0.0/10) for targets located outside the load balancer’s VPC (this includes Peered VPC, EC2-Classic, and on-premises targets reachable over Direct Connect or VPN). https://aws.amazon.com/blogs/aws/new-application-load-balancing-via-ip-address-to-aws-on-premises-resources/

In addition to this lets say you have connected VPCs via Transit gateway, you can apply the above as long as you have attached the VPCs to the transit gateway and setup the routing tables.

AWS
已回答 5 年前
profile picture
专家
已审核 8 个月前

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

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

回答问题的准则