Open johnbender opened 11 years ago
I would like this as well -
What are your thoughts on how this would be used - I can think of various scenarios:
Beware that restoring from a snapshot offers no guarantee that you will get the same IP address, or even CPU type specifications. I don't think the snapshot feature of Digital Ocean is a good analog for suspended local VMs in VirtualBox or VMWare.
what variations are there on CPU type?
I worded that poorly... CPU type will stay the same, but the specs may not as there is no guarantee your new droplet will be on the same KVM host. On their FAQ page, they talk about the differences (not specifically to restoring from images):
We use server-grade Intel Hexcore processors between 2.0 GHz and 3.0 GHz. To view the clock speed and other details of the CPU on the hypervisor you are assigned, run this command on the command line: cat /proc/cpuinfo
This appears to be possible as long as the snapshot id is available from the API. Then it's simply a call to the restore endpoint.