Overview
Floating IPs provide publicly routable addresses that map to instance private IPs through NAT on the router. They can be allocated from the external IP pool, associated with any instance port, and disassociated or reassigned at any time without downtime — making them ideal for blue-green deployments, traffic failover, and elastic workloads.Prerequisites
- A router with an external gateway configured (Routers and Gateways)
- An instance with a port on a router-attached subnet
- The instance’s security group must allow the protocols you want to reach it on
Allocate a Floating IP
- Dashboard
- CLI
Navigate to Floating IPs
Log in to the Xloud Dashboard (
https://connect.<your-domain>) and navigate to
Project → Network → Floating IPs.Associate with an Instance
- Dashboard
- CLI
Associate from the Floating IPs list
Click Associate next to the allocated IP.
| Field | Value |
|---|---|
| Port to be Associated | Select the instance port (identified by instance name and fixed IP) |
If an instance has multiple ports, select the port on the network that is attached
to your router. A floating IP can only be associated with a port on a routed subnet.
Disassociate and Release
Disassociate from an Instance
- Dashboard
- CLI
Navigate to Project → Network → Floating IPs, click Disassociate next to the
active IP. The IP returns to DOWN status and is available for reassignment.
Release Back to the Pool
- Dashboard
- CLI
Navigate to Project → Network → Floating IPs, select the unassociated IP, and click
Release Floating IPs from the Actions dropdown.
Floating IP Lifecycle
Validation
After associating a floating IP, verify end-to-end connectivity:Test SSH connectivity via floating IP
Test HTTP connectivity
Successful connection confirms the floating IP is correctly associated, the router NAT
rules are in place, and the instance’s security group allows the tested protocol.
Next Steps
Network Security Groups
Ensure your security group allows inbound traffic on the ports you want to reach
Routers and Gateways
Configure the router external gateway required for floating IP NAT
Network Troubleshooting
Resolve floating IP unreachable and association failures
DNS Configuration
Associate DNS names with floating IPs for discoverable service endpoints