Skip to main content

GCP Compute Target Pool

A Google Cloud Platform (GCP) Compute Target Pool is a regional grouping of virtual machine (VM) instances that acts as the traffic target for a legacy Network Load Balancer. It determines which instances should receive TCP or UDP traffic and which health-checks should be used to verify their availability. Target pools can also point at a backup target pool for automatic fail-over.
Official documentation: https://cloud.google.com/compute/docs/load-balancing/network/target-pools

Terrafrom Mappings:

  • google_compute_target_pool.id

Supported Methods​

  • GET: Get a gcp-compute-target-pool by its "name"
  • LIST: List all gcp-compute-target-pool
  • SEARCH: Search with full ID: projects/[project]/regions/[region]/targetPools/[name] (used for terraform mapping).

gcp-compute-health-check​

A target pool references one or more health-check resources that continuously probe the member instances to decide whether they are considered healthy targets.

gcp-compute-target-pool​

A target pool can specify another target pool as its backup (fail-over) pool; this creates a link from the primary pool to the secondary pool.

gcp-compute-instance​

Each target pool contains zero or more VM instances that will actually receive traffic. These membership relationships link the pool to the individual compute instances.