As of today, there is only one US region with two zones available for GCE in RightScale. In that region, in each of its zones, I kicked off one of each GCE instance type that comes with local disk storage, for a total of 24 VMs. As with AWS, I ran on RightScale’s CentOS 6.4 images. One note: GCE makes life simpler than AWS in terms of pricing, as you don’t have to deal with choosing and allocating reserved instances, and GCE bills in minute increments, not hour increments. That said, because AWS is the industry leader, when I compare GCE to AWS, I will calculate both the most expensive and cheapest pricing that AWS can provide.
GCE Instance Comparisons
Here are the main takeaways that I have from comparing instance types across GCE:
• Performance is consistent across both GCE zones, regardless of instance type (except that you should expect the performance of the f1-micro to fluctuate). This is good, although with only two US zones, it’s hard to really compare GCE to AWS.
• The best price-per-performance comes with the f1-micro (which is subject to more serious fluctuations in performance; your mileage will vary at any given moment), although both the g1-small and n1-standard-1 are fairly close.
• GCE also has consistent performance across VMs as far as the single-threaded UnixBench results go. If you’re just going to hit a single CPU (and don’t have particularly high memory requirements), you should probably look at either the g1-small or the n1-standard-1, both of which get the best price-per-performance in this particular comparison.
• Keeping with the consistency theme, when GCE gives you two, four, or eight cores, you get pretty similar performance across each of the types with that number of cores (“standard,” “high memory,” or “high cpu”), with “high cpu” doing a little bit better (2-8% better in my tests), but priced significantly less than the “standard” instances with that same number of cores. So n1-highcpu-8 only outperforms n1-standard-8 by 8%, but it’s around 60% of the price.
(Note: The prices here are based on the “-d” instance types, which are no longer available post-beta, but are decent approximations of what it would cost to buy both the instance type and persistent storage volumes that you’ll need with GCE).
Next: GCE-AWS Comparison