Questions tagged [google-cloud-load-balancer]

241 questions
15
votes
3 answers

Error: Server Error The server encountered a temporary error and could not complete your request. Please try again in 30 seconds.(GCP)

I've configured a HTTP(S) Load balancer as per the documentation on https://cloud.google.com/compute/docs/load-balancing/http/ When I try to access the site via the Public IP address associated with the Load balancer. I'm getting a 502 response with…
10
votes
2 answers

How to verify if a Cloud CDN response was a cache hit (or comes from CDN)

I have a backend GCS bucket behind a Google Cloud HTTP(S) load balancer with Cloud CDN enabled. I'm trying to answer these questions based on response headers: was this response served from CDN if so which location/region was this a cache…
9
votes
2 answers

Use same GCP Load Balancer to route between GCS bucket and GKE

I’ve been looking around trying to figure out if it would be possible to have a static React app hosted in a Google Cloud Storage bucket and use Google Cloud CDN and a single Google Cloud Load Balancer to route cache misses to the bucket, manage…
8
votes
1 answer

Google Cloud Load Balancer - Subdomain redirection to specific folder in the bucket

Currently we have below requirement: Each user can have their own subdomain and folder under the Google Storage Bucket with content that should be served via this subdomain, for example: [domain] user1.example.com -> [bucket]…
8
votes
2 answers

Google Cloud Load balancer URL Rewrite not working

I'm trying to setup google cloud load-balancer with HTTPS proxy. The rewrite rules doesn't seem to work. I've attached a screenshot of the same. Any help is appreciated. Basically I'm trying to access /api/ping on /ping. Not sure…
7
votes
0 answers

Using Custom domain, URL mask with CloudRun services and a NEG

I am having issue using the Serverless NEG and URL Masks with Custom domains. Here is some background: I have multiple services deployed as CloudRun services (login service, search service, feedback service). I am trying to setup a custom domain…
6
votes
4 answers

Serving react app via Google Cloud Storage and loadbalancer, mapping any urls to index?

I'm setting up React app frontend with Google Cloud Storage and Loadbalancer. During build, index.html and javascript file is uploaded into cloud storage. Loadbalancer points to backend bucket. I can now access react app if I go to…
Kazuki
  • 1,462
  • 14
  • 34
6
votes
1 answer

GCP Load Balancer - Host and path rules not working

I have a VM that has 3 applications hosted on it. All the apps are working fine with the VM's public IP and port (e.g. 34.44.55.66:{port}) React JS website 1 (port 3001) React JS website 2 (port 3002) Express JS API 1 (port 3003) I now want to…
Sahil Khanna
  • 4,262
  • 8
  • 47
  • 72
6
votes
4 answers

How to use Cloud Armor with GAE Flex?

I wonder if it is possible to use Cloud Armor with GAE Flex? Because in Cloud Armor's documentation, it says that you have to use an HTTPS Load Balancer. Since GAE Flex doesn't have a load balancer, how can we use Cloud Armor with GAE Flex? We have…
5
votes
1 answer

Automatic redirection to static error site if web server is unavailable

I was reading an article about warm recoverable web server with Compute Engine and Cloud Storage. Normal scenario: Failover: Documentation states that: In an outage, you update the external HTTP(S) Load Balancing configuration and fail over to a…
Sam Carlson
  • 1,891
  • 1
  • 17
  • 44
5
votes
2 answers

How can I clear the cache on a static Cloud Storage website after bucket file changes?

I have a static website that I'm serving through Google Cloud. This is done by storing the static files in a publicly-accessible bucket, and using that bucket as the backend for an HTTPS load balancer. (The CDN option for the load balancer is NOT…
4
votes
2 answers

Is it possible to delete "classic" ssl certificates from a target-https-proxy?

I recently updated a target-https-proxy to use a certificate map: $ gcloud compute target-https-proxies list NAME SSL_CERTIFICATES URL_MAP …
4
votes
1 answer

GCP - Regional GKE cluster with Network endpoint group NEG (with HTTP LoadBalancer and Cloud Armor)

thanks to Gabriel Hodoroaga and his tutorial we have config with this flow in GCP: Internet > HTTP Load Balancer > Network Endpoint Groups > GKE in one zone > ingress-nginx But we need to switch GKE from zonal to regional. So I rebuild this config…
4
votes
1 answer

Google cloud load balancer create backend service for Firebase Hosting to serve microservices & frontend SPA from the same domain via load balancer?

Our application is currently focus around one single domain, let's call it: mydomain.com Currently, we have separate docker containers via cloud run serving microservices from nested path, such as: mydomain.com/auth -> auth microservice cloud run…
SebastianG
  • 8,563
  • 8
  • 47
  • 111
4
votes
1 answer

Use Cloud Armor with Cloud Run and avoid bypass

Quoting https://cloud.google.com/load-balancing/docs/https/setting-up-https-serverless#enabling While Google Cloud Armor can be configured for backend services with Cloud Run (fully managed), Cloud Functions, and App Engine backends, there are…
1
2 3
15 16