Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Digital Ocean Floating IPs
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Digital Ocean Floating IPs

https://www.digitalocean.com/company/blog/floating-ips-start-architecting-your-applications-for-high-availability/

So am I being thick here?

In terms of "Automatic Failover" it's not actually automatic. To achieve "High Availability" I need to notice it's down and then make the switch manually. Or I need to do some scripting myself to make it happen truly automatically.

In other words its not automatic, in which case that's a bit shit.

I can see a great use for it in a development / live environment allowing you to duplicate and switch but still...

Comments

  • @Lee said:
    Or I need to do some scripting myself to make it happen truly automatically.

    Yes, and they provide hand-holding instructions for it.

    https://www.digitalocean.com/community/tutorials/how-to-set-up-highly-available-web-servers-with-keepalived-and-floating-ips-on-ubuntu-14-04

    Thanked by 1Lee
  • perennateperennate Member, Host Rep

    Floating IPs don't usually involve failover. It's usually under called load balancer. Same for AWS with elastic IP AFAIK.

  • rm_rm_ IPv6 Advocate, Veteran
    edited October 2015

    As a side effect, seems like this is a way to have 2 IPs per derplet at no extra cost? As it's only charged when detached.

  • HBAndreiHBAndrei Member, Top Host, Host Rep

    @rm_ said:
    As a side effect, seems like this is a way to have 2 IPs per derplet at no extra cost? As it's only charged when detached.

    Didn't get a chance to play with this just yet, but I hadn't thought of it this way... interesting.

    Still don't understand why DO doesn't add multiple IPs per droplet already.

  • jarjar Patron Provider, Top Host, Veteran

    Lee said: not automatic, in which case that's a bit shit

    Harsh :(

    Either way, first implementation and definitely a good time to collect feedback, see how people use it, and move from there.

  • rm_ said: per derplet

    Thanked by 1ATHK
  • A poor man's "floating IP" - https://github.com/blackdotsh/UptimeFlare

    You can code your own monitor and just call the php function cfBkup

  • @black said:
    A poor man's "floating IP" - https://github.com/blackdotsh/UptimeFlare

    You can code your own monitor and just call the php function cfBkup

    That's ur script right? Just wanna ask.

  • TheOnlyDK said: That's ur script right? Just wanna ask.

    Yep.

  • rds100rds100 Member
    edited October 2015

    @Lee just wait until third party monitoring sites like pingdom add integration for this feature and will make it truly automatic for you.

    It can't be automatic without some application layer knowledge. I.e. DO can know when your whole droplet is down / turned off, but they don't know when the web server inside your droplet is down or when the database behind that web server is down. So you will need some application specific knowledge and custom monitoring / custom failover triggering.

    Thanked by 1Lee
Sign In or Register to comment.