Cloud Run for Anthos configured as a backend in a centralized HTTP load balancer

 

Hi all,

I'm working on a scenario where the customer has a bunch of apps running as Cloud Run for Anthos instances in a GKE Enterprise cluster.

They want a solution for centralizing all these apps behind a single internal https load balancer.
They want to use an enterprise WAF solution as the frontend to inspect all external traffic before sending the requests to the internal load balancer.

The question is: Is it possible to reference a cloud run for anthos app instance as a load balancer backend service just as it's done with the Cloud Run with the serverless NEG? Would this be the best approach for this scenario?

Thanks in advance for any help provided.

2 1 96
1 REPLY 1

Hello @brunosilva311,

Welcome to Google Cloud Community!

Yes, it is possible. You can reference a Cloud Run for Anthos app instance as a backend service for an internal HTTPS load balancer in a GKE Enterprise cluster. This functionality works similarly to referencing Cloud Run with serverless Network Endpoint Groups (NEG) in Google Cloud. This approach can work, but it might not be the most optimal solution depending on your specific requirements.