Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to load balance Google Cloud Run for multi-region architecture

I'm trying to create a multi-region Google Cloud Run setup and can't find any documentation.

My goal is creating an Google HTTPS Load Balancer and map the targets as my 3 Google Cloud Run instances.

https://lb.test.com/ > 

eu.test.com > Europe Cloud Run
na.test.com > North America Cloud Run
sa.test.com > South America Cloud Run

Problem is, I can't find the option of mapping my HTTPS load balancer into my Cloud Run instances.

If this is not possible yet, can I use an external DNS LB such as AWS Route 53?

Thanks!

like image 624
NOP-MOV Avatar asked Oct 15 '25 04:10

NOP-MOV


1 Answers

Mapping load balancer to cloud run is possible now. This can be achieved by creating NEGs (Network Endpoint Groups) which points to a cloud run service.

I have implemented this today, and came across this thread. To find out how to implement this follow instructions in

https://cloud.google.com/load-balancing/docs/negs/setting-up-serverless-negs#creating_the

like image 103
samlinbris Avatar answered Oct 16 '25 21:10

samlinbris