Questions tagged [google-cloud-url-maps]
7 questions
3
votes
1 answer
GCP url-map with cookie regex matching rule
I am setting up a GCP url map to route requests to backend services based on cookie values. Since cookies would have multiple key values, I am trying to use a regex matcher.
I need to route requests to backends based on region value from cookie.
A…

Santosh Kewat
- 522
- 6
- 19
2
votes
1 answer
How to reject requests to Google External HTTPS Load Balancer that do not have a host header?
I have a cloud run service behind an HTTPS external load balancer. I'm seeing a number of path scanning style requests (e.g. "/owa", "/admin") that are trying to find vulnerabilities. None of these are supplying a host header.
To reduce unnecessary…

James Valentine
- 93
- 1
- 4
2
votes
0 answers
GCP Load balancer URL map routing all requests to default backend service, configuration appears correct based on docs
It seems to me no matter what/how I configure my url map, the default microservice will be the one serving the request.
I have 2 containers which are node + nestjs based applications.
Auth
Public
All the routes in public have no prefix, I'm…

SebastianG
- 8,563
- 8
- 47
- 111
1
vote
2 answers
Regular expressions in GCLB Url Map
I need to create the following rules in Google cloud load balancer:
/en/example
/ar/example
/.../example
Such as the 2 letters represents a locale.
I couldn't find a way to setup regular expressions in the load-balancer url-map.
How could this be…

asker asky
- 11
- 2
0
votes
0 answers
GCP Load balaner - Fail over internet backend services
We have below isolated services deployed on different cloud providers. Each service URL a specific to the cloud provider.
Service A - https://service-a.region.cloudfunctions.net.
Service B - https://service-b.lambda-url.region.on.aws
Service C -…

Sudhakar B
- 1,465
- 9
- 16
0
votes
0 answers
GCP Load balancer URL map: Distribute traffic by header and everything non-matching via location
I am trying to set-up URL maps for GCP load balancers. I have Service C for static files and the two web application services A and B. C should get everything not starting with a certain path, the rest if the traffic should be divided by A and B…

cis
- 1,259
- 15
- 48
0
votes
1 answer
GCP - How do you create a URL Redirect path rule with gcloud url-maps?
I want to create a GCP Load Balancer path redirect rule programatically using the gcloud tool.
As a test, I created one manually through the GCP Console web interface.
For my manually created rule, gcloud compute url-maps describe my-url-map returns…

Louis Sayers
- 2,162
- 3
- 30
- 53