I am a new customer thinking about migrating my VMs from Amazon EC2 to DigitalOcean. So far I’m pretty impressed with everything.
Still, I have a question on my mind. Amazon has an explicit “Elastic IP” management page where you can get your IPs and assign them to your VMs. DigitalOcean doesn’t have this.
So here’s what’s been bothering me: what happens if for some reason the host where my VM is running crashes, becomes defective and is replaced with a new one? I will of course restore my VM from a backup/snapshot and all is good - but will I get a new IP?
I’m planning on running a small web hosting, and changing the IPs of all sites because of a server crash sounds very complicated. How is this handled?
Thanks for your help.
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!
<b>“… but will I get a new IP?”</b> <br> <br>No. You can keep your old IP, under the scenario you described. <br> <br><b>“… changing the IPs of all sites because of a server crash sounds very complicated.”</b> <br> <br>While it does sound complicated, it doesn’t have to be if set up right; but, again, you will not have to assign new IPs simply b/c of a server crash.
Thank you, it’s good to know that the IP doesn’t change in this case. <br> <br>But related to your answer where you say that “it doesn’t have to be complicated” even if the IP changed: what do you mean exactly? I agree that I can use CNAMEs to point www hostnames to for my customer’s domains. But how do you handle the domain apex issue? You can’t redirect “domain.com” to a CNAME. You’d have to change those manually in the DNS. Or have you found a solution to this?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.