Hi experts,
One of my app needs to connect to a service in some other VPC (and in few cases in other region as well). Both apps are or Google VPC.
My question is if I use ELB, how will traffic route?
Will it route via internet?
Or will it be via VPC or will ELB play smartly and create direct routes?
Thanks & Regards
Amit
Hi @amitkhosla ,
The External Load Balancer itself is not designed to span multiple VPCs or regions by default. You'll typically need to set up networking configurations to facilitate this cross-VPC or cross-region communication.
I can recommend some options that you might consider if you want to connect your app to a service in a different VPC :
1. Consider setting up VPC peering between the VPCs that host your applications. VPC peering allows private communication between instances in different VPCs.
2. Configure firewall rules to allow traffic between the VPCs. Ensure that the necessary ports and protocols are open to enable communication.
3. Assign an external IP address to your External HTTP(S) Load Balancer. You can use Google Cloud DNS or another DNS service to map a domain name to this IP address.
User | Count |
---|---|
4 | |
3 | |
2 | |
1 | |
1 |