Floating IPs: Start Architecting Your Applications for High Availability
October 20, 2015
High Availability is key to any production environment. It grants developers peace of mind knowing their application is architected to withstand failure scenarios.
Today, we are excited to announce Floating IPs. A Floating IP is an IP address that can be instantly moved from one Droplet to another Droplet in the same datacenter.
Part of a highly available infrastructure is being able to immediately point an IP address to a redundant server. This is now possible with the addition of Floating IPs.
How It Works
Single points of failure can be the downfall of any application. With Floating IPs, customers can associate an IP address with a different Droplet, with minimal downtime. This makes it possible to set up a standby Droplet, ready to receive your production traffic at a moment’s notice.
With a bit of scripting, you’re able to set up redundant load balancers that automatically fail over. If the primary load balancer goes offline, your traffic can be redirected to the secondary one with minimal application downtime.
Floating IPs aren’t just for failover situations. You can also use them for application upgrades. For example, you can spin up a new Droplet, run the upgrades on the new Droplet, and then switch the flow of traffic to the new Droplet.
Our Ruby and Go wrappers have been updated to support Floating IPs. You can also check out our API documentation.
The easiest way to start using Floating IPs is to read our Floating IPs on DigitalOcean tutorial. It covers everything you need to know about Floating IPs, and includes links to further guides that will step you through creating your own high availability setup.
Floating IPs is our first step in addressing high availability, and you can expect more in the near future.