Skip to main content

Reserved IP addresses

While resources that are accessible from the public internet, such as instances and Kubernetes cluster load balancers, get assigned public IP addresses when they are created, there are times you may wish to ensure that the IP address gets reserved to you. This allows you to change these publicly routable resources without changing their IP addresses. Reserving a static IP address allows you to reassign the address from one instance to another to build resiliency.

If you create a new instance or load balancer, you will be able to attach a reserved IP address in your account. If you select an address that is already assigned to a resource, it will be moved to the new one immediately.

If you release a reserved IP address assignment from an instance or load balancer, the address remains in your account to be assigned to other resources unless you delete it.

You can claim reserved IPs subject to your quota allowance. Reserved IPs are region-specifc, which means each one you reserve can only be used for resources within that Civo region.

Reserving a new IP address from the Dashboard

The Reserved IP section of your account allows you to claim a new IP address, or view addresses you have reserved.

Reserved IPs menu

Begin by clicking "Create a reserved IP".

The pop-up will ask you to give a name for your reserved IP. This is a label to help you to remember the purpose of the reservation.

When you confirm this name, you will see the newly-reserved IP details on the dashboard. This will also show the address is not assigned to a resource.

Unassigned reserved IP

The Actions menu for each address you reserve will allow you to either Assign the address to a running Civo instance, or Delete the address to stop it counting toward your quota and billing.

Assigning a reserved IP to a running instance from the Dashboard

You can assign a reserved IP address to a running instance through the instance's dashboard page by clicking the "Assign Reserved IP" button:

Assign reserved IP button on a running instance

If the instance was created without an assigned public IP address, you will be able to claim a random one on the resulting screen, reserve a new IP address, or pick from previously reserved addresses:

Assign reserved IP address/claim new IP address popup

Once you click "Assign" the IP address will appear as the public IP address of the instance, and will be shown on the instance dashboard:

Assigned reserved IP on an instance

Releasing an instance's reserved IP from the Dashboard

An assigned, reserved IP address can be unallocated or released from an instance by clicking the Release Reserved IP button on the instance page and confirming the IP address name.

Release IP button

Deleting a reserved IP from the Dashboard

Deleting reserved IPs is managed through the Networking/Reserved IPs section of your dashboard.

By dropping down on the Actions menu, select "Delete IP".

This will prompt you to confirm the IP address:

Confirm reserved IP address to delete

Note: You can only delete reserved IPs that are not attached to an instance or load balancer. You must release any assignment before deleting.

Reserved IP addresses and Kubernetes load balancers

IP addresses that have been reserved in your account can be assigned to Kubernetes load balancers by means of an annotation on the cluster itself. See the load balancer documentation for more details.