Cloud Platform
Public IPs
Last updated 2026-11-05
Public IPs
A public IP is an IPv4 address from the platform's pool that you hold and translate 1:1 to one private IPv4 address of a subnet: the address of an interface or one of its aliases.
How it works
- Traffic to the public address reaches that interface.
- What the interface sends to the internet leaves from the public address.
- A public IP has at most one translation, and a private address has at most one public IP.
- The translation is done on the host of the instance. When the instance moves host, the platform tells the edge router where to send the address.
States
| State | Meaning |
|---|---|
UNASSOCIATED | You hold the address, but it is not translated to anything. |
PENDING | Translated, but traffic does not reach the interface yet: the instance is not running, or the edge router has not been told yet. |
ACTIVE | Traffic to the address reaches the interface. |
Using one
- Reserve an address in a region. It takes a free address of the region from the pool. Reservation needs the organization to be in good standing and is limited by the project's
public_ipv4quota (5 by default). - Attach it: translate it to the private address of the interface you want to reach.
- Allow the traffic you want in the firewall. Incoming connections are dropped until a rule allows them.
To move the address to another interface, remove the translation and add a new one. To give it back, delete it.
Billing A public IP is billed by the hour from the moment you reserve it until you release it, whether or not it is translated. Release addresses you do not use.