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

GCP cloud load balancer mapping update causes downtime

I'm changing the origin in the mapping of a Global HTTP Cloud Load Balancer on GCP and after I see the notice that the update is applied there is a period of about 1 minute where the response is a 502 served by Google. The GCP Load Balancer logs…
1
vote
2 answers

My NEGs are not connecting to my cloud run functions

https://cloud.google.com/load-balancing/docs/https/setting-up-https-serverless#setting_up_regional_routing I setup a GCE global load balancer and NEGs. What is unclear to me is how a NEG connects to a cloud run app. It looks like the Service name of…
red888
  • 27,709
  • 55
  • 204
  • 392
1
vote
2 answers

How does GCP internal load balancer + GKE service work? (It works, but I do not know why)

E.g. an istio service istio-ingressgateway LoadBalancer 10.103.19.83 10.160.32.41 15021:30943/TCP,80:32609/TCP,443:30341/TCP,3306:30682/TCP,15443:30302/TCP Which resulted in a TCP internal load balancer. The front end is ports 15021, 80,…
1
vote
3 answers

GKE Ingres and GCE Load balancer : Always get 404

I try to deploy 2 applications (behind 2 separates Deployments objects). I have 1 Service per Deployment, with type NodePort. application1_service.yaml apiVersion: v1 kind: Service metadata: name: application1-service namespace: default spec: …
1
vote
0 answers

How should I resolve 'Bad Request (400)' error after mapping domain by configuring load balancer in GCP?

I am trying to map a domain name for google cloud run service running in 'asia-south1' region. But as per cloud run domain mapping limitations it is not possible use cloud run domain mappings in 'asia-south1' region. So document suggested to set up…
1
vote
2 answers

How to close Google App Engine URL's for direct access after creating load balancer's

I have created a load balancer on my Google Cloud app engine, and also have added SSL certificates to them, but the links of the App Engines are still active and don't have any security on them. So I wanted to know how can I close or disable those…
1
vote
0 answers

websocket_handshake_failed on GCP Cloud http load balancer with 403 response

We are getting thousands of websocket_handshake_failed on our GCP load balancer. Our Environment is: App Engine Flex environment with auto-scale + Postgress cloud SQL we have a chat SaaS application so we use sockets. on the logging, I see +1000…
1
vote
0 answers

Use mulitple wildcard TLS certificates with single GCE loadbalancer

I'm trying to use two TLS certificates for two wildcard domains on single GCE loadbalancer ingress object. But It is giving me error that certificates could not found and it stops working on 443. Sample Code: apiVersion: extensions/v1beta1 kind:…
Kalpit Lad
  • 11
  • 1
1
vote
1 answer

Forward requested subdomain/host from GCP Load Balancer to Cloud Run

I have an Express app used by several companies. Each company has its own subdomain to call the app api, such as company1.mydomain.com, company2.mydomain.com. In Express we read the value of the subdomain to determine the custom operation that we…
1
vote
1 answer

GCP Load Balancing with API Gateway returning 404

I have setted up an API Gateway in GCP and now I'm trying to configure GCP's Load Balancing in front of the gateway. In order to do this, what I've done is: Setted up a internet NEG with port 443 as default and the domain name to the gateway's url…
1
vote
2 answers

How to add HTTPS load balancer for an application deployed using GKE

I have created a Play web application which is now deployed on GCP. The application works fine. I want to add https support in it to secure communication between the client and the server. I know that in GCP, there is an option to create http load…
1
vote
1 answer

HTTP is not disabled after adding allow-http configuration in Ingress

I have tried to block http and allow only https for the application which deployed in GCP. For the routing, using ningx ingress and tcp loadbalancer to route the traffic from client to the application. Even after adding the below configuration in…
1
vote
1 answer

GCP create load balancer via api

I want to create a load balancer (TCP) via a REST API or Python SDK for GCP. I haven't found any solutions so far. Example from UI :
1
vote
1 answer

Destination Port on Internal TCP Load Balancer - Google Cloud

I'm trying to configure an internal Load Balancer on Google Cloud but I'm not able to set a destination port different from the source one. If I try to create an internal LB from the GCP wizard I cannot see any place in order to set the destination…
1
vote
2 answers

GCP internal load balancer between two VMs (Compute instances)

Is it possible in GCP to create an internal load balancer that balances the traffic between two Compute Instances in different regions? Two instances (written NAT on them) are in different regions (e.g one in us-central1 and other in asia-south1)…