r/cloudcomputing • u/tastefulpreacher • Nov 24 '16
Availability of Preemptible VMs in Google Cloud?
Hi, does anybody have experience with preemptive VMs and their availability? We are at the moment evaluating if GCP would be a better fit for our company, but we are heavily dependent on the cheap prices that AWS offers on their spot instances. We would typically use machines in the range of n1-standard-32 or n1-highmem-32. Best regards
7
Upvotes
3
u/[deleted] Nov 25 '16
There's no problem with availability, but I've only tried it with a very small project so I don't know what it would be like with -32's in significant quantities.
Note that preemptible VMs have a fixed hourly price set by Google rather than fluctuating with market forces like AWS spot instances. The VMs are also stopped automatically after at most 24 hours (or sooner if preempted), but you can promptly restart them.
Note that spot instances on AWS are terminated (i.e., the virtual machine goes away, and only a virtual storage drive is optionally left behind, which can later be mounted on a new virtual machine), whereas preemptible VMs on Google Cloud are merely stopped (i.e., the virtual machine gets shut down but you can reboot it).
I think the AWS c4 instances run on a faster processor (2.9 GHz) than the Google Cloud VMs, so that's something to take into consideration when comparing the pricing for a CPU bound application.