linkon
linkon

Reputation: 31

how to create a load balancer for app engine and cloud run

I currently have two services that do the same thing but in a different way, one is in the app engine and the other in cloud run and I need to create a load balancer in which the load can be shared by a single endpoint.

example

100 requests arrive and the balancer instructs it to make 50 requests to the app engine and the remaining 50 to cloud run.

example.com/appengine/all example.com/cloudrun/todos

Upvotes: 1

Views: 1864

Answers (1)

guillaume blaquiere
guillaume blaquiere

Reputation: 75715

You can use one serverless NEG per service (1 for cloud run, 1 for App Engine) and use URL Map to route the query to the corresponding NEG

Upvotes: 4

Related Questions