Tutorials Floating IP addresses

Floating IP addresses

Due to changes in the network configurations coming with the SDN update, new floating IP assignments are on hold until further notice. Existing floating IPs will continue to work as usual.

We offer the functionality of a transferable IP address called a floating IP, which can provide advanced availability and redundancy. Floating IP is a static public or private IPv4 address assigned to your cloud servers in a specific network group. It directs traffic to one server at the time and can be moved between multiple servers within the same network group in a blink of an eye.

Floating IP

Floating IPs can be useful in multiple ways, for example, you could perform upgrades to a copy of your production server without interrupting the service, and then transferring the floating IP to the new server when everything is ready and working. Floating IP can also be used for redundancy in case of a system fault on your main server, or for automated load balancing between multiple cloud hosts.

Getting started

To take advantage of a floating IP you’ll need to deploy a minimum of two servers to one of UpCloud’s data centres. Depending on your intended use case, you may wish to clone your existing server, you can find details about creating custom server images at its own article. The other option is to just create a new one with a similar configuration. The operating system that your servers are going to run on doesn’t pose restrictions, but for your convenience, we recommend using the same OS between the servers sharing a floating IP.

Once you have your servers configured contact UpCloud Support with a request of adding a floating IP and the UUIDs of the servers you wish the IP assigned to.

Include in your request at least the following:

  • Your account name
  • Whether you want a public or private floating IP
  • UUID of the first server
  • UUID of the second server

Note that the servers must be shut down while a new floating IP is being assigned.

Using a floating IP requires that the servers are in the same network group. If a server you wish to use the floating IP with has an IP address from a different network it will need to be changed when the floating IP is added. You can request moving existing servers to a different network group if you wish to use the same floating IP with them, as long as the servers are within the same data centre.

Configuring your servers

When you get a confirmation from the UpCloud Support that the floating IP has been added, you can find it attached to one of the servers you listed in the support request. Go to your UpCloud control panel and either Public or Private network tab to check this. Continue on with our guides for CentOS, Debian, Ubuntu, CoreOS or Windows on how to configure the floating IP on your servers.

2 thoughts on “Floating IP addresses

  1. Hey,

    if one server goes down, the second one will automatically up or we have to manually bring it up.

    Thanks
    Prabhat Sharma

    1. Hi Prabhat, thanks for the question. The floating IP has no failover logic by itself. To accomplish automation, you will need to use server monitoring software e.g. Heartbeat

Leave a Reply

Your email address will not be published. Required fields are marked *

Locations

Helsinki (HQ)

In the capital city of Finland, you will find our headquarters, and our first data centre. This is where we handle most of our development and innovation.

London

London was our second office to open, and a important step in introducing UpCloud to the world. Here our amazing staff can help you with both sales and support, in addition to host tons of interesting meetups.

Seattle

Seattle is our 4th and latest office to be opened, and our way to reach out across the pond to our many users in the Americas.

Singapore

Singapore was our 3rd office to be opened, and enjoys one of most engaged and fastest growing user bases we have ever seen.