Several services that I use require that I whitelist my IP address. If I need to destroy the whitelisted Droplet, I am under the impression that I may lose the IP. Is there any way to reserve the IP address and assign it to a new Droplet? (Similar to Elastic IPs in AWS)
Generally speaking, a virtual server's IP address is static and reserved for your virtual machine until you destroy it. Rebuilding a virtual server retains the same IP you had before.
Additionally our backend will automatically attempt to return an IP address that you have used in the past. So if you destroy a server and process a create soon after you will most likely receive the same IP address.
But this is not the case at all. I have destroyed my virtual machine and had recreated it many times, NOT ONCE I was assigned the same ip address. If I could use ip addresses from a selected pool of ip addresses which are allocated to me, then digitalocean would be the best !. The changing ip address is a deal breaker for me
Just for the record, I've destroyed/recreated one of my droplets about half a dozen times now, and each time I've received the same IP address.
D.O. is great like that. :)
I used the same server name and region each time, which might be important, and I recreated the droplet within about 2 minutes of destroying the old one, every time. I can pretty much guarantee that timing is an important factor.
You can use a service as DynDNS to get a domain for your droplet. If you then install ddclient on that droplet, the domain will always point to the correct IP, even if it changes after you e.g. restore the droplet from a snapshot.