What exactly is a floating IP and how does it work?

vn flag

I am setting up a high availability load balancer. I found this tutorial from Digital Ocean which says that two load balancers can share a common floating IP.

What is this floating IP and how does it work?

Can one set it up by one's self (without using Digital Ocean)

eg flag
Uhm. Maybe this is only DigitalOcean-related. Also, maybe tags should reflect this.
ng flag

to answer your question:

DigitalOcean describes a Floating IP as

a publicly-accessible static IP address that can be assigned to one of your Droplet.

So basically it is an IP within Digital oceans' infrastructure that you can assign to your resources, so they are reachable from the public internet, and I do not believe these can be set-up without digital ocean, since they are part of Digital Ocean Network fabric.

vn flag
Thanks, but how is it highly available?
alrashid villanueva avatar
ng flag
I believe the correlation with it being a "floating IP" and "Highly available" is that it is not static, meaning in this case, if one of the LoadBalancers that has this IP assigned to it fails, the IP does not go down with the failing LoadBalancer. Rather, it will get assigned to an Up and running LoadBalancer to ensure high availability on your system.
vn flag
Thank you Rashid, if that's the case then I don't need a load balancer for fail over implementations. Just use a floating IP

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.