Floating IP
Keep a public IPv4 reserved in the project after VM or gateway delete, and attach it to another VM or gateway later.
How it works
In hostd Public Cloud, a Floating IP is a real public IPv4 assigned directly to the WAN interface of your VM or Cloud Gateway — not a separate virtual address mapped through 1:1 NAT, as in a typical OpenStack floating IP.
- The address lives on the instance itself; traffic to that IP reaches the VM or gateway without an extra overlay or proxy hop.
- Inside the guest OS you see the same public address on the network interface (for example
net0on a VM). - Floating means the IPv4 stays in your project when you delete the VM or gateway, so you can attach it to another resource later — not that the address is virtual.
Before you begin
- A public IPv4 assigned to a VM or Cloud Gateway, or already reserved in the project.
Steps
- Check the address in
Network → Public IPs. - When deleting a VM or gateway, turn off Release public IP address to keep the IP reserved in the project.
- When creating another VM or gateway, select the reserved IP instead of Auto.
- To change the public IP on the same VM: in Resize VM, turn WAN (net0) off, save, then turn WAN on again and choose Auto or another reserved address.
Watch out
- While WAN is on, you cannot swap to another address directly — turn the public interface off first.
- Changing the WAN IP does not require a VM reboot.