• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

health

GCP Backend Services Health Status

February 14, 2023

Here’s how to get health status of a GCP Load Balancer Backend Services.

For all load balancers except target pool.

gcloud compute backend-services get-health BACKEND_SERVICE_NAME \
--region us-central1 \
--project project-id

gcloud compute backend-services get-health BACKEND_SERVICE_NAME \ --region us-central1 \ --project project-id

For target pool load balancers, use this command.

gcloud compute target-pools get-health TARGET_POOL_NAME \
--region us-central1 \
--project project-id

gcloud compute target-pools get-health TARGET_POOL_NAME \ --region us-central1 \ --project project-id

Filed Under: Cloud Tagged With: backend-service, gcp, health, load balancer, status

  • Home
  • About
  • Archives

Copyright © 2023