Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon EC2 Compute Unit and GCEU (Google Compute Engine Unit)

So Google now has its own IaaS solution called Google Compute Engine.

As a heavy user of cloud computing, I'm trying to figure out the difference between Amazon's EC2 Compute Unit and GCEU (Google's Compute Engine Unit) - to ascertain price-for-performance differences, etc.

Does anyone have more insight into the differences between these two?

ANSWER: Looks like 1 GCEU ~= 1 EC2 compute unit. More below at accepted answer.

like image 649
Suman Avatar asked Jun 28 '12 22:06

Suman


People also ask

What is GCP equivalent of EC2?

Google Compute Engine is the GCP equivalent of EC2. Google Compute Engine or GCE is a cloud computing service that provides virtual machines that run on Google Cloud infrastructure. It offers scale, performance, and value that allows users to easily launch large compute clusters on Google's infrastructure.

What is an EC2 compute unit?

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.

What is the difference between N1 and N2 GCP?

For example, the N1 series within the general-purpose machine family is the older version of the N2 series. Generally, generations of a machine series use a higher number to describe the newer generation. For example, the N2 series is the newer generation of the N1 series.

What is Google Compute Engine?

Google Compute Engine (GCE) is an infrastructure as a service (IaaS) offering that allows clients to run workloads on Google's physical hardware. Google Compute Engine provides a scalable number of virtual machines (VMs) to serve as large compute clusters for that purpose.


2 Answers

According to Amazon,

One EC2 Compute Unit provides the equivalent CPU capacity of a 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor. This is also the equivalent to an early-2006 1.7 GHz Xeon processor referenced in our original documentation.

According to Google,

GCEU (Google Compute Engine Unit), or GQ for short, is a unit of CPU capacity that we use to describe the compute power of our instance types. We chose 2.75 GQ’s to represent the minimum power of one logical core (a hardware hyper-thread) on our Sandy Bridge platform.

It's hard to make a 1:1 comparison with such a vague description from Google. Assuming Amazon and Google use the same CPUs, this would be as follows:

Using Amazon's Cluster Compute Eight Extra Large Instance as an example, because it defines the CPU and the CU rating.

88 EC2 Compute Units (2 x Intel Xeon E5-2670, eight-core "Sandy Bridge" architecture)

This is 32 logical cores, 2x 8 physical with hyperthreading. With Google's rating of one logical core being 2.75 GQ, this turns out to be in-line with Amazon, being 88 GQ in total.

Again, this is assuming Google and Amazon would use the same CPU (which is likely), and would be impossible to know without an official statement from Google, or a CPU-stat from a running instance.

like image 94
mctom987 Avatar answered Sep 21 '22 03:09

mctom987


The definition of 2.75 GCEUs is given in the developer documentation as the compute power given by a single processing core in the Intel's Sandy Bridge platform processors that Google has selected.

Amazon's documentation defines a single EC2 compute unit as "the equivalent CPU capacity of a 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor." In the description for one of the service levels, it defines 33 EC2 compute units as being roughly equivalent to eight cores worth of Intel's older Nehalem platform. It also defines 88 EC2 compute units as being roughly equivalent to 16 cores worth of Sandy Bridge.

Blindly assuming that Amazon and Google are using roughly the same processors in their Sandy Bridge setups (not necessarily a safe assumption), each Sandy Bridge core is about 5.5 EC2 compute units. We can now compare the two units: what happens when you divide 5.5 by 2.75? You get 2.

tl;dr: One unit of GECU is probably about two units of EC2. This is utter and complete speculation and will need to be proven by real-world testing and use.

like image 23
Charles Avatar answered Sep 18 '22 03:09

Charles