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
preguntada hace 5 años4374 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
respondido hace 5 años
profile picture
EXPERTO
revisado hace 8 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas