Skip to main content

GCP Compute Global Forwarding Rule

A Global Forwarding Rule in Google Cloud assigns a single, anycast IP address and optional port range that accept incoming traffic from clients around the world and directs that traffic to a specific target proxy or service such as an External HTTP(S), SSL, TCP proxy load balancer or Cloud VPN gateway. It is the public-facing entry-point of many Google-managed load-balancing products and can also be used for Internal Global Load Balancing when tied to a particular VPC network.
For full details see the official documentation: https://cloud.google.com/load-balancing/docs/forwarding-rules.

Terrafrom Mappings:

  • google_compute_global_forwarding_rule.name

Supported Methods​

  • GET: Get a gcp-compute-global-forwarding-rule by its "name"
  • LIST: List all gcp-compute-global-forwarding-rule
  • SEARCH

gcp-compute-network​

If the forwarding rule is configured for Internal Global Load Balancing it is bound to a specific VPC network; this link represents that association.

ip​

Each forwarding rule reserves or references an external or internal IP address that becomes the virtual service endpoint; this link captures that IP relationship.

gcp-compute-backend-service​

Through its target proxy and URL map, a forwarding rule ultimately sends traffic to one or more backend services; this link reflects that downstream connection to the backend service resource.