What happens when load balancer is destroyed?

  • Posted July 12, 2013

How do you handle the situation where you want to switch your load balancer node? Once the old one is destroyed you lose the IP address, DNS propagation of the new IP address can take several hours (or days even), so there will be an interruption in service for some users.

Am I missing something?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I don’t have a setup yet, I’m just thinking about how it would work before I start. Thanks for your help.

What kind of load-balancing setup do you have? <br> <br>Couldn’t you deploy the new node; but b/f destroying the other node, you remove the DNS record for the node that you’re retiring. Wait 72 hours, and then destroy the node?

Yes, but it will have a different IP address, so when you switch over you’re relying on DNS propagation. Having 2 load balancers running at the same time for 2 days before and after the DNS change is made would work I suppose, seems a bit haphazard though. <br> <br>It would be much better if DO could provide some kind of dynamic external to internal IP mapping system, then a switchover could be almost instant.

You can (and probably should, for the reasons you cited) create the replacement droplet first; and get it up and running b/f destroying any of your current load-balancer nodes.