Questions tagged [gcp-load-balancer]

Use this tag when dealing with Load balancers provided by Google Cloud Platform

The Google Cloud Load Balancer (GCLB) is a software-defined globally distributed load balancing service. This tag can be used generally for all the GCP Load balancer related questions.

159 questions
1
vote
1 answer

How to Send 103 Early Hints via GCP External HTTPS Load Balancer?

I'm using a haproxy behind an external HTTP(S) loadbalancer on GCP to send 103 interim responses for a static site. I confirmed via curl that haproxy behaves as expected but I get a 502 error going through the load balancer. Inspecting the load…
1
vote
0 answers

What is the best way to proxy / rewrite URL with gcp to hide secrets without spawning a function / service?

I have an app which calls an external provider which needs a key in the URL. For security reasons I can't include the key in the app to call the external API directly. Therefore I need to proxy this URL / rewrite URL and attach the key in the URL…
1
vote
1 answer

GCP: load balancer rewrite path

I'm setting up traffic management for a global external HTTP(S) load balancers. I have two backend Cloud Run services, serverless-lb-www-service and serverless-lb-api-service, that I want to serve from the same IP/domain. I want to configure them…
1
vote
2 answers

How to redirect traffic from port 80 to 8080 - Load balancer - Cloud DNS

I have a requirement similar to this post, Google cloud load balancer port 80, to VM instances serving port 9000 I like one of the answers (not the accepted), but how to do it ? or is there an alternate way ? " If your app is HTTP-based (looks like…
1
vote
2 answers

HTTPS Load Balancer + Cloud Run links not working

We have a load balancer with a URL map that points to back-end Cloud run services. When we just use cloud run without a load balancer all the assets load as expected. (e.g links to the cloud run service are correct. When we put the service behind a…
1
vote
1 answer

GCP load-balancer url rewrite not persistent

I'm facing a weird issue on GCP, I don't know if it's me using it wrongly or a bug on GCP side. I recently published a website and I have few redirection to do. But, once I go through the load balancer -> edit -> Host and path rules -> Advanced and…
1
vote
1 answer

Serverless API Gateway on GCP

I'm looking for a solution to have a gateway to serverless on GCP with an Authorization/ Authentication made by IAM but didn't find a perfect solution to it. The idea's to have these gateway managing endpoints from APIs on GCP Functions, Cloud Run…
1
vote
1 answer

How to auto scale sudden request spike in AWS and GCP in cost effective way?

We have SaaS application and we have thousands of customers. When our customers website get traffic then we also get same traffic as we are tracking activities of our customer's website visitors. We couldn't get at which time we get sudden spike and…
1
vote
2 answers

502 - failed_to_connect_to_backend from LB on HEALTHY target group

I have some global Load balancer on the GCP. This balancer should send requests to the instance group with two back services. And when I try to send some requests, I randomly get 502 errors failed_to_connect_to_backend from my load balancer. I can…
1
vote
1 answer

GCP VM in same region not able to Ping Internal HTTPS Load Balancer IP created with GKE internal LB ingress

I have a GKE cluster deployed with version 1.20.10-gke.1600. I have created the internal ingress with GCE and I got the internal ip assigned to my internal ingress. However, I am not able to ping to this internal ingress IP from the VM in same…
1
vote
1 answer

GCP Load balancer Frontend configuration not showing first load balancer in dropdown

I created a load balancer with https support with a bucket as a backend service to host a static web site . While configuring a second load balancer in order to redirect the http request to https I expected to see the first load balancer ip in the…
jcromanu
  • 1,171
  • 2
  • 13
  • 31
1
vote
1 answer

Create redirection host forwarding rules to a different URL with GCP load balancer?

Is there a way to create forwarding rules that redirect to a different host? For example, I want to set up a load balancer with a rule that if the host = xyz.com then forward to host = abc.com Is this type of setup possible?
fuzzi
  • 1,967
  • 9
  • 46
  • 90
1
vote
0 answers

How to log SSL/TLS Handshake details on Google Cloud Load Balancer

In order to identify what TLS version our clients are connecting with, I need to log details about the SSL/TLS handshake on a Google Cloud Load Balancer (GKE Ingress). Logging the TLS/SSL version would be a great first step. I will need to identify…
otherguy
  • 709
  • 6
  • 13
1
vote
1 answer

Use ssl certificate on the GCP load balancer

I have one load balancer on the GCP. my project uses multi-domain and it is possible that add domains on after. when I create a certificate with the google-managed certificate, I can't edit the certificate and add a domain. I know I can remove the…
1
vote
2 answers

GCP - Configure load balancer routing based on source IP address

Let's say we have two Google Cloud instances, how can we configure a load balancer to route traffic to one of these VMs, based on the client IP? As stated in the official documentation…
z3d0
  • 413
  • 5
  • 12
1 2
3
10 11