Question

How to "swap in" a new image for a droplet?

Posted January 3, 2015 2.1k views

I’d like to rebuild my server (updated OS, reinstall everything, restore database, yada yada).

I don’t want to take the site offline, so I would prefer to create a new droplet, build it, test it etc… and then once it’s done, take the old one offline, reconfigure the new droplet to have the same IP address.

How do I do this?

Thanks!

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.

×
2 answers

One option would be setting up everything from scratch on the new droplet, taking a snapshot, and then rebuilding the old droplet from the new droplet’s snapshot.

You can’t have the same IP on two machines, obviously.

I would recommend you to create a new Droplet, set it up as you want and, when it’s ready, edit your domain name’s destination to your new IP.

Submit an Answer