Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to create Serverless NEG

Hi,

I am trying to use cloudrun along with HTTPS load balancer. I have two different services(Django and wordpress) running as cloudrun instances. I intend to use the loadbalancer to distribute the traffic based on the URL. I was able to create one backend service with a Serverless NEG as backend. However when I proceed to create the second backend service, I am not getting an option to create a new serverless NEG for this new backend as mentioned in the tutorial (https://cloud.google.com/load-balancing/docs/https/setting-up-https-serverless). 
 2021-11-15_17-01.png

0 1 469
1 REPLY 1

Hi,

Are you using different region for WordPress and Django or same? I asking this because as per this documentation "If a back-end service contains several NEGs, the load balancer balances traffic by forwarding requests to the serverless NEG in the closest available region. However, backend services can only contain one serverless NEG per region."[1]

[1] https://cloud.google.com/load-balancing/docs/https/setting-up-https-serverless#multi_region_lb