Trevor Lazarus
Trevor Lazarus

Reputation: 159

How to setup Google Cloud Load Balancer for Cloud Run App, while maintaining the <xxxxxx>.a.run.app URL

I would like to know how to go about setting up a Google Cloud Load Balancer for a Cloud Run App and would like to retain/use the same Cloud Run - .a.run.app URL

Is this possible? Could someone point me in the direction of some documentation. What I find in the GCP seems to only document use cases when a custom domain is setup for the load balancer, In my case I would like to stick to the run.app URL.

Thanks

Upvotes: 1

Views: 856

Answers (1)

John Hanley
John Hanley

Reputation: 81386

The Cloud Run URL is controlled/managed by Google Cloud. This URL maps to the Google Frontend (GFE). You have no ability to redirect that mapping to an HTTP(S) Load Balancer.

Once you have configured the load balancer you can configure a new custom domain, but you will not be able to remap the existing URL to point to the load balancer.

Upvotes: 2

Related Questions