Preserving IP address on full droplet resize

Posted March 3, 2013 17.5k views
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?

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.

Submit an Answer
13 answers

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:

I don't believe there is a guaranteed way to do it. They do their best to give you back the same ip -- to help the process they expect you to use the same exact same hostname as before, but sometimes it's still not possible.

I understand the annoyance of the process, but you might want to look at creating a script to call up the API, grab the IP address and then reconfigure all your apps for you.
We are updating the resize code which preserves the IP, if there is a particular resize that isn't available it is true that you would be required to take a snapshot and then create a new droplet from the snapshot with the droplet size you like.

We do attempt to return a previously used IP to you so if you destroy a droplet and create a new one often the same IP is returned if the interval between the destroy and create is small.
  • Hey @moisey, you mentioned back in March 2013 that you were updating the code which preserves the IP. Any update on that? Or is it still the same situation as before - most likely will be preserved if interval between destroy and create is small?

If I have a droplet in production, then what would you say is the best way to migrate to a larger droplet with limited downtime? I understand that a resize requires a reboot, but the IP switch could easily cause tons of issues. How do I know if it will switch, and if it does, the DNS takes time to update, leaving my site potentially down for many users.
I am curious to know if there was a solution posted for this issue?
@alex: Please open up a support ticket, we'll try our best to make sure you keep your droplet's IP address.
has this been updated?
@phillip: You should usually get the same IP address.
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?
@gwilymgj: Yes. Please open up a support ticket so we can sort this out. :]
Previous 1 2 Next