For the complete documentation index, see llms.txt. This page is also available as Markdown.

Floating IPs

Floating IPs are public IP addresses that you can allocate and associate with instances. They provide external connectivity, allowing traffic from the internet to reach your instances inside a VPC.

Command: ace floating-ip Alias: ace fip

Create (Allocate) a Floating IP

Allocate a new floating IP from an external network.

ace fip create --network <external-network-id> [flags]

Flags

Flag
Required
Default
Description

--network

Yes

External network UUID to allocate from

--billing-type

No

hourly

Billing type

Example

ace fip create --network c3d4e5f6-a7b8-9012-cdef-234567890abc

Sample Output

Floating IP allocated.
  ID:              a1b2c3d4-e5f6-7890-abcd-ef1234567890
  IP Address:      45.194.47.108
  Status:          DOWN

A newly allocated floating IP has a status of DOWN until it is associated with an instance.


List Floating IPs

Alias: ace fip ls

Sample Output

JSON Output


Get Floating IP Details

Look up a single floating IP by ID or by IP address.

Examples

Sample Output


Associate a Floating IP

Associate a floating IP with an instance to make the instance reachable from the internet.

Flags

Flag
Required
Description

--ip

Yes

Floating IP address (e.g. 45.194.47.108)

--instance

Yes

Instance UUID to associate with

--fixed-ip

No

Fixed IP address (if instance has multiple NICs)

Examples

Basic association:

With a specific fixed IP (multi-NIC instance):

Sample Output


Disassociate a Floating IP

Remove the association between a floating IP and an instance. The floating IP is retained in your account but no longer routes traffic to the instance.

Flags

Flag
Required
Description

--ip

Yes

Floating IP address

--instance

Yes

Instance UUID to disassociate from

Example

Sample Output


Delete (Release) Floating IPs

Release one or more floating IPs back to the pool.

Alias: ace fip rm

Disassociate a floating IP from its instance before deleting it. Deleting a floating IP releases the address permanently -- you cannot reclaim the same IP.

Example

Sample Output


Common Patterns

Expose a Web Server

Move a Floating IP Between Instances


Command Summary

Command
Description

ace fip create

Allocate a new floating IP

ace fip list

List all floating IPs

`ace fip get <id

ip>`

ace fip associate

Associate a floating IP with an instance

ace fip disassociate

Disassociate a floating IP from an instance

ace fip delete <id>

Release floating IP(s)

Last updated