Report this

What is the reason for this report?

How to transfer IP to new droplet?

Posted on September 5, 2019

I have current droplet with nice IP, but the droplet is old. I would like to setup new droplet in the same geo and keep the previous IP. How to do that?



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.

Hi @Denisdul,

I’ll suggest you to check the following Answer on a similar question asked 5 years ago here. Check the last answer of the moderator asd

Basically, that if you are trying to create a fresh droplet and want to retain the IP address, you have a few options. In the destroy tab, there is a rebuild option.

This “rebuilds” your droplet based on the selected image. It’s important to note that this will destroy all of your data on the droplet, but it will retain the same IP address.

If you need to retain the data, you can take a snapshot and destroy the old droplet to release the IP address. Then create a new droplet based on the snapshot using the same hostname as the original droplet. The system will try and retain the IP address for you, but it is not guaranteed. The sooner you launch the new droplet, the more likely it is to work.

Kind regards, Kalin

Hello there,

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

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.