How can I remove all data in my droplet?

Hello, I have a droplet with Ubuntu 14 installed (it’s a clean installation, no One-click mage) I installed apache, mysql and php on it, configured the firewall and all the initial configurations in the droplet, But now I want to “format” the droplet, return my Ubuntu installation to it’s original state, How can I achieve that?


Thank you all. You’ve just made an old man very happy. (I’m 64, I’ve just started a Masters in Cyber Security and all my experience is with OS400 on IBM mid-range systems.)

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.

In the destroy tab you choose rebuild

I have the same question. I don’t want to destroy and get a new IP address when I create a new droplet. Is there a way to keep the old IP or just erase the current instance?

The beauty of DigitalOcean is that you can just “destroy” it and create a new droplet with Ubuntu and you’re back to a fresh install in about a minute.

Well, you could do a bunch of apt-get remove’s, but you could also just destroy the droplet, and start a new one. I would do the last ;-)

thanks for the answers, I destroyed the old droplet and made a new one, thanks! :)