IaaS: EC2 vs Google Compute Engine
Arguably, Infrastructure as a Service (IaaS) is the most important cloud computing vertical. Within that, in terms of services and features, AWS enjoys the top position, while Google Cloud Platform is slowly catching up. In this post, we’ll discuss the main differences between Amazon’s EC2 and Google Compute Engine (GCE).
EC2 vs Google Compute Engine: Regions
Amazon EC2 is spread across 11 different regions: Northern Virginia, Oregon, Northern California, Ireland, Germany, Singapore, Tokyo, China, Sau Paulo, Sydney, and US GovCloud.
Google Compute Engine is spread across 3 different regions: us-central1, Europe-west1, and asia-east1. Google does not officially reveal the exact locations of these zones. However, according to this post from Gigaom, us-central1 translates to Oklahoma, and Europe-west1 is in Ireland.
EC2 vs Google Compute Engine: Compute Capacity
AWS Instance types are optimized for different types of workloads, like Compute, Storage, Memory, and GPU. Instance types are divided into different “families” like m3 (balanced), c4 (compute optimized), and t2 (baseline level). In its current form, there is a total of 28 instances types. The use of previous generation instances is not recommended due to performance limitations.
Just like AWS, Google Compute Engine also offers instances based on workload type.
Currently, GCE instances are divided into 4 types:
- Standard machine types
- High CPU machine types
- High memory machine types
- Small machine types.
GCE offers a total of 17 instance types.
|Amazon EC2||Google Compute Engine|
|Type||Minimum Computing Capacity||Maximum Computing Capacity||Minimum Computing Capacity||Maximum Computing Capacity|
|General / Standard Purpose||1vCPU/3.75GB Memory||8vCPU/30GB Memory||1vCPU/3.75GB Memory||32vCPU/120MB Memory|
|Compute Optimized / High CPU Instance Type||2vCPU/3.75GB Memory||36vCPU/60GB Memory||2vCPU/1.80GB Memory||32vCPU/28.8 Memory|
|Memory Optimized/ High Memory Instance Type||2vCPU/15.25GB Memory||32vCPU/244GB Memory||2vCPU/13GB Memory||32vCPU/208GB Memory|
|Shared Core||1vCPU/1GB Memory||2vCPU/4GB Memory||1vCPU/0.60GB Memory||1vCPU/1.70GB Memory|
|Storage Optimized||4vCPU/30.5GB Memory||32vCPU/244GB Memory||N/A||N/A|
|GPU Optimized||8vCPU/15GB Memory||N/A||N/A||N/A|
Note: This is a high-level comparison table. Instances internal might vary.
EC2 vs Google Compute Engine: Pricing
Amazon EC2 offers three types of pricing models:
- On-demand – pay for compute capacity by the hour with no long term commitments.
- Reserved instances – maximize savings by purchasing reserved instances that meet your long term business needs. Reserved instance prices are determined by 4 factors : term (1 or 3 year), operating system, region, and payment options (no upfront, partial upfront, all upfront).
- Spot instances – bid for instances using a supply and demand model.
Google Compute Engine machine types are charged for a minimum of 10 minutes’ use. After 10 minutes, instances are charged in 1-minute increments, rounded up to the nearest minute. GCE offers both on-demand and sustained usage pricing models. The sustained usage pricing model provides discounts if your instance is used for more than 25% of a month. To maximize savings, GCE also offers inferred instances, i.e., it combines multiple, non-overlapping instances of the same instance type in the same zone into a single instance for billing.
EC2 vs Google Compute Engine: Security Groups, Network ACLs, and Firewalls
As AWS instances are now provisioned within VPCs, Amazon provides the benefit of both Security Groups and Network ACLs. With Security Groups – working as whitelists – you control incoming and outgoing traffic at the instance level. Network ACLs, on the other hand, work at subnet level, and allow or deny specific IP addresses or networks.
Similarly, Google Compute Engine firewalls regulate outgoing traffic from instances using iptables. Google’s Firewall is also a whitelist service.
EC2 vs Google Compute Engine: Load Balancing
Elastic Load Balancer (ELB) allows you load balance incoming traffic among your backend instances in multiple availability zones (within a single region). This traffic distribution to backend instances happens using a weighted round robin algorithm. Apart from load balancing incoming traffic, ELB also offers session stickiness, cross-zone load balancing, and SSL termination. ELB works with AWS’s auto-scaling and supports IPv4 and IPv6 addresses, HTTP and TCP load balancing, and logging.
Google Compute Engine also offers a load balancer. In addition to distributing incoming traffic between backend instances, unlike AWS, it allows balancing between regions, supports content-based routing, and does not require pre-warming.
EC2 vs Google Compute Engine: Storage
Amazon EC2 provides Elastic Block Storage (EBS) volumes for persistent storage. These EBS volumes are offered in 3 types: Magnetic volumes, General Purpose SSD volumes, and Provisioned IOPS SSD volumes. AWS just increased the performance limits on EBS volumes to 16TB capacity with a peak of 20,000 IOPS/volume and 320 MBps max throughput/volume. EBS volumes can be attached to one instance at a time. Amazon also recently enabled encryption for EBS volumes.
Google Compute Engine offers persistent disk storage, available as both standard (HDD) and solid-state (SSD). All data written to disk in Compute Engine is encrypted on the fly and then transmitted and stored in encrypted form. GCE’s Persistent Disks (PD) can be mounted read-write by one VM or read-only by many VMs. Google persistent disk storage offers 3000 Read IOPS/volume and 15,000 Write IOPS/volume for standard disks and 10,000 Read IOPS/volume and 15,000 Write IOPS/volume for Solid-state persistent disks. Each persistent disk can be up to 10TB in size.
EC2 vs Google Compute Engine: Service Level Agreement
Amazon EC2 offers a service level agreement guaranteeing a monthly uptime percentage of 99.95%. If your actual monthly uptime percentage is less than 99.95%, but equal to or greater than 99.0%, Amazon EC2 offers 10% service credit. For less than 99.0%, you receive 30% service credit.
Google Compute Engine also offers a service level agreement ensuring at least 99.95% uptime. If your monthly uptime percentage is between 99.00% – 99.95%, 10% financial credit is received. For 95.00% – 99.00%, 25% financial credit is received. For anything less than 95.00%, you’ll receive a 50% credit.
EC2 vs Google Compute Engine: Operating System Support
Amazon EC2 supports a wide range of operating systems, including Amazon Linux, Red Hat Enterprise Linux, CentOS, Debian, SUSE, Ubuntu, Oracle Enterprise Linux, FreeBSD, and Windows (2003 R2, 2008, 2008 R2, 2012).
Google Compute Engine supports CentOS, Red Hat Enterprise Linux, Debian, SUSE, Ubuntu, and Windows Server 2008R2. Windows Server support is in beta mode.
There is obviously more to making a full feature and performance comparison of EC2 vs Google Compute Engine, but this is hopefully a good start. AWS and Google both provide plenty of documentation that will allow you to dig much deeper to answer your specific questions.
New Content: AWS, Azure, Typescript, Java, Docker, 13 New Labs, and Much More
This month, our Content Team released a whopping 13 new labs in real cloud environments! If you haven't tried out our labs, you might not understand why we think that number is so impressive. Our labs are not “simulated” experiences — they are real cloud environments using accounts on A...
Kickstart Your Tech Training With a Free Week on Cloud Academy
Are you looking to make a jump in your technical career? Want to get trained or certified on AWS, Azure, Google Cloud Platform, DevOps, Kubernetes, Python, or another in-demand skill?Then you'll want to mark your calendar. Starting Monday, June 22 at 12:00 a.m. PDT (3:00 a.m. EDT), ...
New Content: AZ-500 and AZ-400 Updates, 3 Google Professional Exam Preps, Practical ML Learning Path, C# Programming, and More
This month, our Content Team released tons of new content and labs in real cloud environments. Not only that, but we introduced our very first highly interactive "Office Hours" webinar. This webinar, Acing the AWS Solutions Architect Associate Certification, started with a quick overvie...
Azure vs. AWS: Which Certification Provides the Brighter Future?
More and more companies are using cloud services, prompting more and more people to switch their current IT position to something cloud-related. The problem is most people only have that much time after work to learn new technologies, and there are plenty of cloud services that you can ...
Blog Digest: 5 Reasons to Get AWS Certified, OWASP Top 10, Getting Started with VPCs, Top 10 Soft Skills, and More
Thank you for being a valued member of our community! We recently sent out a short survey to understand what type of content you would like us to add to Cloud Academy, and we want to thank everyone who gave us their input. If you would like to complete the survey, it's not too late. It ...
New Content: Alibaba, Azure Cert Prep: AI-100, AZ-104, AZ-204 & AZ-400, Amazon Athena Playground, Google Cloud Developer Challenge, and much more
This month, our Content Team released 8 new learning paths, 4 courses, 7 labs in real cloud environments, and 4 new knowledge check assessments. Not only that, but we introduced our very first course on Alibaba Cloud, and our expert instructors are working 'round the clock to create 6 n...
Top 5 Reasons to Get AWS Certified Right Now
Cloud computing trends are on the rise and have been for some time already. Fortunately, it’s never too late to start learning cloud computing. Skills like AWS and others associated with cloud computing are in high demand because cloud technologies have become crucial for many businesse...
Introducing Our Newest Lab Environments: Lab Playgrounds
Want to train in a real cloud environment, but feel slowed down by spinning up your own deployments? When you consider security or pricing costs, it can be costly and challenging to get up to speed quickly for self-training. To solve this problem, Cloud Academy created a new suite of la...
Blog Digest: AWS Breaking News, Azure DevOps, AWS Study Guide, 8 Ways to Prevent a Ransomware Attack, and More
New articles by topicAWS Azure Data Science Google Cloud Cloud Adoption Platform Updates & New Content Security Women in TechAWSBreaking News: All AWS Certification Exams Now Available Online As an Advanced AWS Technology Partner, C...
AWS Certified Solutions Architect Associate: A Study Guide
Want to take a really impactful step in your technical career? Explore the AWS Solutions Architect Associate certificate. Its new version (SAA-C02) was released on March 23, 2020, though you can still take SAA-C01 through July 1, 2020. This post will focus on version SAA-C02.The AWS...
New on Cloud Academy: AWS Solutions Architect Exam Prep, Azure Courses, GCP Engineer Exam Prep, Programming, and More
Free content on Cloud Academy More and more customers are relying on our technology and content to keep upskilling their people in these months, and we are doing our best to keep supporting them. While the world fights the COVID-19 pandemic, we wanted to make a small contribution to he...
Breaking News: All AWS Certification Exams Now Available Online
Remote proctoring for all AWS certifications Cloud Academy is an Advanced AWS Technology Partner, and we are happy to announce all AWS certification exams are available online! What does this mean for you? You can stay focused on your certification goal. Or you can start a certifica...