mikebridge
mikebridge

Reputation: 4585

Can I route traffic to Google App Engine with Load Balancer/URL Mapper or...?

I moved several legacy services onto Google App Engine with the intention of proxying traffic to them. In fact, I had hoped that I could split routes via the Url Mapper, for example:

example.org/route1 => appengine-service1
example.ort/route2 => appengine-service2
example.org/route3 => storage-backend
example.org/route4 => compute-engine1

... etc.

However, it looks like I can only attach GCE backends or Cloud Storage backends to a Load Balancer and URL Mapper. Is there no way to attach a Google App Engine as a backend to a Load Balancer? Do I really need to set up my own reverse proxy, or else have the thing directly connected directly to the internet with a real custom hostname (registered with Webmaster Central, and all that)?

Upvotes: 0

Views: 581

Answers (3)

Jijo John
Jijo John

Reputation: 1684

Yes, You can achieve this by Serverless NEG with HTTPS load balancer. See Serverless NEG release status in https://stackoverflow.com/a/62660953/4185100. I will update that post when it is in GA.

Upvotes: 1

John Hanley
John Hanley

Reputation: 81464

At this time Google HTTP Load Balancers do not support services such as App Engine in GA.

There is an Alpha program that you might be able to sign up for to preview these features (Cloud Run, Cloud Functions, App Engine (Standard and Flex)). Contact your account manager for more details.

Upvotes: 3

You dont have to register a hostname to use it.

You can tell GC that you are the owner of certain domain by verifying it, like they teach here. You shoud configure both on Webmaster Central and Google Cloud.

Just follow the tutorial and you would see it becomes available after a few hours (24h). Then you would be able to route it to app engine, cloud run or any other service. Let me know if you have any problem

Upvotes: 0

Related Questions