Skip to main content

GCP Compute Http Health Check

A Google Compute HTTP Health Check is a legacy, external HTTP probe used by Google Cloud Load Balancers and Managed Instance Groups to determine whether backend virtual machines are healthy. At a configurable interval it sends an HTTP GET request to the specified port and path on each instance; a response code in the range 200–399 is considered healthy, anything outside that range (or a timeout) is treated as a failure. Repeated failures mark the instance as unhealthy so that traffic will no longer be forwarded to it.
See the official documentation for full details: https://cloud.google.com/compute/docs/reference/rest/v1/httpHealthChecks

Terrafrom Mappings:

  • google_compute_http_health_check.name

Supported Methods

  • GET: Get a gcp-compute-http-health-check by its "name"
  • LIST: List all gcp-compute-http-health-check
  • SEARCH

ip

The health check ultimately probes the IP addresses of the backend instances or load-balanced endpoints. Overmind links the gcp-compute-http-health-check object to the corresponding ip items so you can trace which concrete addresses will be queried and assess any associated risks (for example, exposure of a sensitive IP).