Question

Preserving IP address on full droplet resize

  • Posted March 3, 2013

As I understand, the only way to make a full resize of a droplet (including disk space) is to create a new one using a custom snapshot image. Is it possible to guarantee preserving of original IP address in this case? Or is there any alternative way to make full resize?

Subscribe
Share

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.

I just wanted to provide an update to this question in case anyone still stumbles across it. Since this was asked, we introduced some new features around resizing. In addition to the existing “flexible” resizing option, we now offer permanent resizing which allows you to resize your disk space as well as CPU and RAM. This makes the old snapshot and redeploy method of resizing unnecessary, and as you are not destroying your Droplet you don’t run the risk of losing your IP address.

For more info, check out this article:

What about sowtware that was bought and tied to an IP? Like control panels? <br>There should be Guaranteed way to keep an IP when resizing droplet.

One possible solution would be to not destroy your droplet. Create a new droplet with the resized space. Deploy your application to it and then modify DNS records. Once DNS conversion is complete destroy old droplet. This causes very little to no downtime and might be the best solution, plus Digital Ocean charges by the hour so it wouldn’t be very expensive.

Warning to those who come across this thread in the future: If you shut down your droplet and spin up a new one, you are NOT guaranteed to get the same IP. Tech support will NOT help you with this, as according to them they “do not have any functionality such as this in our backend controls”.

@gwilymgj: Yes. Please open up a support ticket so we can sort this out. :]

I’m interested in this as well - the “…should usually get the same IP address” answer scares me a bit as when I upsize if the IP changed my DNS upstream would break. Is there anway to guarantee getting the same IP on upsize?

@phillip: You should usually get the same IP address.

has this been updated?

@alex: Please open up a support ticket, we’ll try our best to make sure you keep your droplet’s IP address.

I am curious to know if there was a solution posted for this issue?