Skip to content

Floating IPs

A floating IP is a public IPv4 address you can attach to an instance or load balancer to make it reachable from the internet, and move between resources as needed.

Allocate and attach

  1. Under Network → Floating IPs, allocate an address.
  2. Attach it to an instance (or load balancer) from its detail page.
  3. Allow the relevant inbound ports in the resource's security group.
bash
fm network floating-ip allocate --region sweden
fm network floating-ip attach <ip> --instance web-1

Move and release

Detaching a floating IP frees it from the resource while keeping it allocated to your project, so you can re-attach it elsewhere. Release it when you no longer need it. An allocated floating IP may be billed while it is reserved.

TIP

After attaching a floating IP, it may take a few moments to appear on the instance. Reload the instance detail page if it isn't shown immediately.