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

  • Posted on January 3, 2015
  • billAsked 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?


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.

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.