Compute Engine Preemptible VMs Are Now Generally Available
googlecloudplatform.blogspot.com
googlecloudplatform.blogspot.com
[1] http://googlecloudplatform.blogspot.ca/2015/05/Introducing-P...
[2] https://cloud.google.com/compute/docs/instances/preemptible
Disclaimer: I worked on Preemptible VMs.
Cloud Storage considers retrieving an object through its HTTP url is considered a class B XML request type which is priced at $0.01/10,000 ops. This is 1.3x-2.5x more expensive than cloudfront and s3 respectively
Can you get somone who works on Cloud Storage to take a look at the pricing please? :) It seems like an anomaly since Google Cloud is usually at par or cheaper than AWS equivalents.
Also, the pricing on this page https://cloud.google.com/storage/pricing#operations-pricing specifies only XML API pricing. I didn't expect HTTP GET requests to be counted as XML API requests and that caused me some trouble. We moved from cloudfront to Cloud Storage and the bill increased
The pricing difference has been a long battle...
For those that are curious we have a $300 free trial for 60 days, as well as a $100,000 startups program for those that qualify (https://cloud.google.com/developers/startups/)
If you're interested we explained some of this in an interview on InfoQ: http://www.infoq.com/news/2015/05/google-preemptible-vm
The distinction though is that these are from our spare capacity, so it's not a replacement for a 24x7 anything (whether that's our regular VMs or a DO droplet). But if you're prepared for disruptions, come and play!
If you're looking to checkpoint and save state though, you can mount your persistent disks separately and store whatever you need. You can also start your shot VM back up later when capacity is available again.
https://aws.amazon.com/blogs/aws/new-ec2-spot-instance-termi...
But basically if you're getting preempted it's often because some regular VM is trying to land on the box and needs to be kicked off. Our goal here is to make sure we don't impact even our 95th-percentile VM creation time for regular VMs. We create and boot VMs so much faster (I think even p90 is 36s right now) that "2 minutes" is more than it sounds like.
Finally, one of the things we tracked carefully during Beta is how quickly people actually shut down. Median on Linux was something like 5 seconds. Even the 90th percentile was something like 10 or 15 seconds. There might be people avoiding the product because they "need" more time, but honestly most of those use cases aren't really prepared for preemption and should probably stick with a different solution.
I really have to say it, and I'm sorry to say so, but its things like this that keep people on AWS. Google Compute still has the feel of an experiment versus a business, and you don't want your critical infrastructure on someone's experiment.
2 minutes is provided by AWS to give you time to checkpoint your process(es), get logs off the box, and to remove from an ELB if its attached to one. Doesn't matter if you get a new VM for me spun up fast if I can't finish up housekeeping on the ones being terminated.