Backend disappeared from HTTPS load balancer which is missing in IAP

Hi everyone! Does anyone know why backend can suddenly disappear from HTTPS load balancer? Also, load balancer itself disappeared from IAP. Nothing was removed by my hand, maybe I changed settings too often... And when I am trying to add backend back to the load balancer it just says the task is done, but I don't see any changes.

d_vazome_0-1638289021851.png

d_vazome_1-1638289126928.png

 

 

1 2 1,301
2 REPLIES 2

Hi,

Can you check Cloud logging [1] using the name of the backend service to see when and what deleted it? You can also check the activity menu in your console (Right beside dashboard tab) and can try to identify any operations that caused deletion of the backend service. Another thing you can try, in the Load Balancer Menu switch to “Advanced menu” and go to the “Backend Services” tab. The backend service may still exist but is not attached to the Load Balancer. Additionally in case if you are running any automated tasks it is possible that they have caused deletion of backend services. If nothing indicates what deleted the backend service it might be a UI issue.                                                               

You can use the below command [2] to list all the backends in your project:           

 gcloud compute backend-services list

To see the details of a backend service[3] if it is a global backend service use below command:

gcloud compute backend-services describe <backend-service-name> –global

If it is a regional backend use below command:

gcloud compute backend-services describe <backend-service-name>  –region=<backend-service-region>

Once you find the backend service in question either via GCP console or gcloud commands, you can try to attach it to the HTTP(S) load balancer as explained in [4] and see it shows up in your “Identity Aware Proxy” menu.

Hope this will help you.

[1] https://cloud.google.com/run/docs/logging#viewing-logs-cloud-logging

[2] https://cloud.google.com/sdk/gcloud/reference/compute/backend-services/list

[3] https://cloud.google.com/sdk/gcloud/reference/compute/backend-services

[4] https://cloud.google.com/iap/docs/load-balancer-howto#load-balancer

It happened because I have selected "Redirect the client to different host/path", not the "Route traffic to a single backend"

So it caused missing backend.