OneQode

Floating IPs

Configure fixed public IP addresses that can move between your instances

Last updated: 2/3/2026

A Floating IP is a fixed public IP address that you can move between your OCS OneQode Cloud Services instances.

In this guide, we’ll walk through how to create a floating IP and attach it to your instance in the following steps:

  • Create a Floating IP
  • Create a network, subnet, router and interface
  • Add a port to your instance
  • Assign the Floating IP to your instance
ℹ️

This guide assumes you already have an active cloud instance.

Create a Floating IP

In the OCS navigation, head to Cloud → Floating IPs then press the ”+” button in the bottom right corner (“Create floating ip”).

Create Floating IP button

Under “Region selection”, choose the region where your instance is located, for “Network selection”, select the Public network for that region.

You can optionally add a description for your reference.

Floating IP creation form

Click “Create”.

ℹ️

Floating IPs are billed on an hourly basis. Make sure to factor this in to your budget as you plan your cloud setup.

Networks, routers and subnets are free of charge.

Create a network

Next, in the navigation, head to Cloud → Networks.

Then, in the bottom right-hand button, select “Create New Network”

Create Network button

Give your network a name (and optional description), make sure the region is the same as where your instance is located, then click “Create”.

Add a subnet to your network

Next, from the Networks page, hover over your newly-created network, and click the “Add Subnet” icon.

Add Subnet button

In the radio group, select “Enter address manually” and select a subnet address range. In this example we’ll use 192.168.81.0/24.

Leave “IPv4”, “Enable DHCP” and all other settings as-is.

Subnet configuration form

Then click “Add Subnet”.

Create a router

Next we need to create a router.

To do this, head to Cloud → Routers then click the ”+” icon at the bottom right.

Select the same region as previously, give your router a name (and optional description), and select the public network for that region.

Router creation form

Then click “Create”.

Add an interface to your router

From the Cloud → Routers page, hover over your newly-created router and select the “Add Interface” button.

Add Interface button

Next, select the subnet you created earlier, and choose an IP address within its range. For this example, we’re going to choose 192.168.81.2.

Interface configuration form

Add a port to your instance

Next, from Cloud → Instances, navigate to the instance you’d like to attach your floating IP address to.

Click on the instance to see its controls page, then head to the “Networking” tab and select “Add Port”.

Add Port button on instance

In the popup modal, select your newly-created network and subnet, and click “Add Port

Add Port modal

Assign Floating IP

Finally, select “Assign Floating IP”, and select your newly-created Floating IP and Port in the dropdowns.

Assign Floating IP modal

Then click “Associate IP”. You’ll see a message briefly appear.

Success message

That’s it! Your instance now has a Floating IP assigned to it.

ℹ️

OS configuration required

After attaching the Floating IP, you need to adjust the routing table on your instance to ensure the Floating IP is used as the public-facing IP.

ℹ️

Having trouble? Reach out to our team if you have any problems or need help.