Question

Can I reload the droplet but keep my IP?

Is there any way I can re-install my droplet (ubuntu 18.14) with the current Ubuntu 20.04?
Basically erase the entire contents and start over?
What I wish to do is KEEP my ip address. 68.183.96.24
The contents can be completely destroyed/overwritten.


Submit an answer
Answer a question...

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.

KFSys
Site Moderator
Site Moderator badge
December 8, 2022
Accepted Answer

Hi @tonyqking,

It is possible :)

Instead of destroying the droplets you will instead navigate to the destroy page in the control panel but use the rebuild option. The drop-down menu will display all disk images you have available (make sure the snapshot you have is available in all regions you’ll need it in from the Images page first). Select your snapshot from the dropdown and choose “Rebuild from Image”.

Your droplet will be rebuilt using your snapshot image, permanently destroying anything currently on the droplet, but keeping the IP address.

alexdo
Site Moderator
Site Moderator badge
December 12, 2022

Hello @tonyqking

When you destroy a Droplet, its IP address is released back into the datacenter’s pool of available IPs. These are assigned randomly, so it’s very unlikely you’ll get that IP address back. However, when you rebuild a Droplet, the IP address is retained.

You can find more information here:

https://docs.digitalocean.com/products/droplets/how-to/rebuild/

Regards

Rajkishore J
DigitalOcean Employee
DigitalOcean Employee badge
December 8, 2022

Hi @tonyqking,

You can assign a floating IP to the droplet so that even if the droplet is destroyed, you can assign the Floating IP to another droplet.

To learn more about the floating IPs, you can check this guide: https://docs.digitalocean.com/products/networking/floating-ips/

I hope this helps!

Regards, Rajkishore