Questions tagged [google-cloud-load-balancer]

241 questions
0
votes
2 answers

Multiple APIs with custom domain in GCP

Imagine a use case where multiple REST APIs (pure API with no UI) are deployed using Cloud Run or Cloud Functions. Each API: is unique and for a specific outside client, which will use it for various unknown purposes. needs to be secured so that it…
0
votes
1 answer

Shutdown scripts for Google managed instance groups

I am running managed instance group in google cloud. These are behind a loadbalancer and it is working fine. The problem is when the managed instance group scales down, the loadbalancer will not notice this until after the instance has been killed…
0
votes
0 answers

How to create a LoadBalancer on GCP with two instances?

I have a situation here. I made 2 environments prod and preprod, both has two vms each (like two nodes per environment). Now i have to create a Load Balancer keeping those to nodes on the back end. Once of the nodes has SSL configured with a domain…
0
votes
1 answer

GCP HTTP/S Load Balancer Routing Rules

I'm having a hard time trying to figure out how to achieve the routing/rewriting rules I need for the application I'm trying to set up and would be very grateful for any assistance. I have a simple web app running on three Cloud Compute VM Instance…
0
votes
1 answer

Do load balancer run inside a compute engine in gcp?

I have created 2 load balancers (for http and https) and they are connected to a backend storage. Now when I check the Infrastructure summary in the monitoring tab, I could see 2 different vms running. Do the cost for load balancer is related to…
0
votes
0 answers

How to migrate GKE Ingress from TCP to External HTTPS loadbalancer

So our current situation is that we are running a GKE cluster with a TCP Proxy loadbalancer with regional IP. Many of our domains are managed externally (by customers). For quite some time we want to migrate towards a external HTTPS loadbalancer.…
0
votes
0 answers

Connection bias in Cloud Run using http/2, GCLB

Connection bias in Cloud Run using http/2, GCLB GCLB , Serverless NEG, CloudRun(http/2) is used to configure the backend. This is a chart that records access counts per container by our own log-based metrics. Request Count Clearly, the containers…
0
votes
0 answers

GCLB Connection Drainning for Cloud Run

How does GCLB connection drainning apply to Cloud Run when Cloud Run + Serverless NEG is used as a backend? Also, when using http or http/2 as a connection between LB and Cloud Run, is there any difference in behavior between the two? I am using…
0
votes
0 answers

Bitnami Wordpress with Google Cloud Load Balancer

My setup is Bitnami WordPress and Google Cloud Load Balancer. I've encountered a few issues. To use a load balancer with Bitnami WordPress, I've to use this define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/'); define('WP_HOME', 'http://' .…
0
votes
0 answers

Can you wildcard route paths to multiple backends in Google API Gateway?

I'm trying to use Google API Gateway as the entry point for multiple backend services. The services have common endpoints, like /api/data that conflict with one another. I would like to pre-pend an identifier at the API Gateway level to route…
0
votes
0 answers

Exposing gRPC service through GKE Ingress

I'm having some trouble getting GKE Ingress to work with my gRPC service. My set-up is the following: Deployment running two containers: gRPC server on port 80 and simple HTTP health checker on port 81. This is following the non-proxied example…
tskuzzy
  • 35,812
  • 14
  • 73
  • 140
0
votes
0 answers

MIG + TCP/UDP Load balances at instance group level or at instance level?

Context: I have below configuration A single Managed Instance Group creating VMs using Instance Template. A single TCP/UDP load balancer that refers to the above Managed Instance Group. (A single backend) In some examples, I've seen similar…
0
votes
0 answers

backend_connection_closed_before_data_sent_to_client while using grpc server with envoy and gce ingress

I am trying to deploy a grpc-server on GKE. The flow of request is client => gce-ingress => envoy => grpc-server. I am attaching my deployment for all the components. apiVersion: apps/v1 kind: Deployment metadata: name: envoy-deployment …
0
votes
1 answer

What is the unit of the Threshold value in Cloud Monitoring?

I am trying to wrap my head around Threshold value in the context of creating an alerting policy for an external HTTP load balancer: Resource type: https_lb_rule Metric: https/request_count The docs say the following: Enter when the value of a…
0
votes
1 answer

GCP Load balancer terraform recipe for api gateway returns 404

I have created an LB for the api gateway using google documentation and it works fine, but after creating it using the terraform recipe it gives me a 404 page not found. These are the terraform resources for my load balancer. I have added the api…