CLIFloating IPs
hudl fip associate <ip> --to <vm>
Bind a floating IP to a virtual machine port.
Bind a floating IP to a virtual machine port. Once associated, the instance becomes reachable at the floating IP address from the public internet.
Usage
hudl fip associate <ip> --to <vm> [flags]Flags
| Flag | Description |
|---|---|
--to <instance-id> | Required. The ID of the instance to bind this floating IP to. |
Common flags
| Flag | Description |
|---|---|
--region <code> | Override the active region for this call only. |
--workspace <slug> | Override the active workspace for this call only. |
-o, --output | Output format: table (default), json, yaml, wide, name. |
--idempotency-key <key> | Attach an idempotency key so retries are safe. |
Examples
Associate a floating IP with an instance:
hudl fip associate 203.0.113.42 \
--to 9b8a7c6d-5e4f-3a2b-1c0d-ef9876543210Associate with an idempotency key:
hudl fip associate 203.0.113.42 \
--to 9b8a7c6d-5e4f-3a2b-1c0d-ef9876543210 \
--idempotency-key bind-fip-web-001API reference
This command calls POST /floating-ips/{id}/associate under the hood. See the full request and response schema in the API reference.