Overview
An IP Set reserves a static public IP address per GVC location, preventing the address from changing when a workload is redeployed or infrastructure is updated.To prevent ongoing charges, IP addresses must be explicitly released once they are no longer needed.
IP Sets and Egress Traffic
An IP Set applies to inbound (ingress) traffic only. It sets the address that clients connect to through a direct load balancer or a dedicated load balancer. Outbound (egress) traffic from a workload does not use the IP Set’s address. It leaves through the NAT gateway IPs of the location the workload runs in. To let an external service allowlist your outbound traffic, use the location’s egress IP addresses.Binding
An IP Set can be linked to a workload or a GVC through itsspec.link property. Linking requires configuration on both the IP Set and the target resource — each must reference the other for the binding to take effect.
Workload
To link an IP Set to a workload, the workload must have the direct load balancer enabled.- YAML
- JSON
1. Configure the IP Set — set 2. Configure the Workload — set
spec.link to point to the target workload:loadBalancer.direct.ipSet to reference the IP Set:GVC
To link an IP Set to a GVC, the GVC must have the dedicated load balancer enabled.- YAML
- JSON
1. Configure the IP Set — set 2. Configure the GVC — set
spec.link to point to the target GVC:loadBalancer.ipSet to reference the IP Set:Releasing
To release an IP address from a location, set theretentionPolicy for that location to "free".
An IP address will not be released unless it is no longer in use (no workload linked, GVC location not active, etc.)
- YAML
- JSON