What happens when load balancer is destroyed?

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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.