Report this

What is the reason for this report?

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

Posted on January 3, 2015
bill

By bill

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!



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!

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.

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.