Cloud Pricing Comparison: AWS vs. Azure vs. Google Cloud Platform in 2024

If you’re considering moving to the public cloud or optimizing the choice for your next project, picking between AWS, Azure, Google Cloud Platform, and Oracle can be a daunting task. […]

Laurent Gil Avatar
Cloud Pricing Comparison AWS vs. Azure vs. Google Cloud Platform meta

If you’re considering moving to the public cloud or optimizing the choice for your next project, picking between AWS, Azure, Google Cloud Platform, and Oracle can be a daunting task.

They all offer flexible compute, storage, and networking combined with everything engineers love about the cloud: self-service, instant provisioning, and autoscaling. 

But each provider differs in key areas that may have a massive impact on your cloud bill. 

Selecting one vendor over another comes down to knowing what your teams, applications, and workloads need. You need to fully understand your requirements before exploring the cloud landscape.

This cloud pricing comparison covers storage and compute pricing across top three cloud providers AWS, Azure, and Google Cloud, as well as Oracle to show you the nuanced differences between these cloud providers. 

Cloud landscape today: What are the unique strengths of AWS, Azure, and Google Cloud Platform?


Companies choose to build their applications on AWS because of its breadth and depth of services. The rich array of tools, including databases, analytics, management, IoT, security, and enterprise applications, makes AWS the right solution for many teams. No wonder AWS has the most significant slice of the cloud market.


Azure has slightly surpassed AWS in the percentage of enterprises using it (80% Azure vs. 77% AWS).1

Azure also offers various services for enterprises, and Microsoft’s longstanding relationship with this segment makes it an easy choice for some customers. Azure, Office 365, and Microsoft Teams enable organizations to provide employees with enterprise software while also leveraging cloud computing resources. 

Google Cloud Platform

Azure and AWS have strong machine learning capabilities. But Google Cloud Platform stands out thanks to its almost limitless internal research and expertise – the magic that has been powering the search engine giant throughout the years. 

What makes GCP different is its role in developing various open source technologies. We’re talking especially about containers and Google’s central role in building Kubernetes for orchestration and Istio service mesh, today practically industry-standard technologies. 

Google’s culture of innovation lends itself really well to startups and companies that prioritize such approaches and technologies.

See CAST AI in action

End those massive cloud bills! Learn how to cut 50%+ automatically

Billing in AWS vs. Azure vs. Google Cloud Platform

In addition to per-minute billing, AWS, Azure, and Google Cloud support per-second billing for various services. AWS first introduced per-second billing in 2017 for EC2 Linux-based instances and EBS volumes – but today, it applies to many other services. 

Per-second billing works with a minimum 60-second limit in AWS. Azure allows per-second charges on its cloud platform, but this billing model isn’t available for all instances – mostly container-based ones. 

Google Cloud followed AWS in the introduction of per-second billing and now offers it for more than just instances based on Linux. This form of billing applies to all VM-based instances.

Cloud storage pricing comparison

How do these major cloud providers differ in terms of storage pricing? 

Here’s a comparison of prices in similar regions: AWS US East (Northern Virginia), Azure East US, and Northern Virginia (us-east4) in Google Cloud Platform.

Cloud providerStorage (GB/Month)
Amazon S3$0.023 
Google Cloud Platform$0.023
Oracle Object Storage – Standard$0.0255

It’s clear that these cloud service providers compete closely with one another and have set similar price ranges for storage services, with Azure standing out as the most cost-effective alternative. However, be sure to check out other cost dimensions, such as data transfer or operations charges before picking the storage service.

Also, pay attention to the provider’s approach to pricing changes.

Google Cloud Platform recently introduced significant price increases across various core services around storage. Price hikes may affect other services and cloud providers considering the current challenges like inflation rates running high around the world and supply chain issues. 

Compute pricing comparison

Compute often ends up racking up a cloud bill, but it also presents the greatest opportunity for cost optimization. That’s why it’s an essential element in every cloud pricing comparison.

We prepared this case study to show the incredible impact optimizing compute costs can have on your bottom line.

Comparing cloud pricing – our example setup

To understand the pricing differences better, we’re going to compare virtual machines within similar regions and with the same operating system.

The services analyzed are:

  • AWS – Amazon Elastic Compute Cloud (EC2)
  • Azure – Virtual Machines
  • Google Cloud Platform – Compute Engine
  • Oracle – Virtual Machines 

Our example setup:

  • Region: AWS US East (Northern Virginia), Azure East US, and Northern Virginia (us-east4) in Google Cloud Platform.
  • Operating System: Linux. 
  • vCPUs: 4.

Types of instances/VMs we will analyze:

  • General purpose
  • Compute optimized

We picked instances with four vCPUs and similar RAM (the only exception is the compute optimized machine from Google Cloud Platform). 

Here are the instances/VMs we selected for our cloud pricing comparison:

Cloud providerInstance typevCPURAM (GB)
AWS general purposet4g.xlarge416
AWS compute optimizedc6a.xlarge48
Azure general purposeB4ms416
Azure compute optimizedF4s v248
Google Cloud Platform general purposee2-standard-4416
Google Cloud Platform compute optimizedc2-standard-4416
Oracle standardVM.Standard3.Flex416
Oracle optimizedVM.Optimized3.Flex48

AWS vs. Azure vs. Google Cloud Platform: Comparing On-Demand pricing 

Here’s the hourly On-Demand pricing of each of these cloud services across AWS, Azure, and Google Cloud Platform.

Cloud pricing based on On-Demand rates

General purpose

Cloud providerInstance typePrice
Google Cloud Platforme2-standard-4$0.150924

Compute optimized

Cloud providerInstance typePrice
AzureF4s v2$0.1690
Google Cloud Platformc2-standard-4$0.2351


  • While Azure is the most expensive choice for general purpose instances, it’s one of the most cost-effective alternatives to compute optimized instances.
  • Google Cloud Platform offers the highest price for compute optimized instances, but this machine has double the RAM of alternatives from AWS, Azure, and Oracle. 

A note about chips and processors 

Providers roll out virtual machines with different hardware and performance characteristics. As a result, you might end up with an instance type that provides strong (and expensive!) performance your teams don’t actually need. 

Benchmarking is one way to see what you’re really paying for: you can run the same workload on each machine and check its performance characteristics. 

This approach might help you discover something interesting, just like we did. The chart below shows CPU operation in AWS (t2.2xlarge with eight virtual cores) at varying times after several idle periods. Would you expect such unpredictable CPU behavior within a single cloud provider?

AWS CPU behavior

Source: CAST AI

The 2022 Cloud Report from CockroachLabs used this method to evaluate AWS, Azure, and Google Cloud machines.2 One of their conclusions was that Google performs better than AWS and Azure. GCP instances occupied 6 out of 10 spots in the top 10 instances in price-for-performance.

AWS vs. Azure vs. Google Cloud: Comparing discounted pricing with a 1-year upfront commitment

All three providers offer price discounts if you commit to using them for at least one year. This pricing model is called Reserved Instances in AWS, Reserved Savings in Azure, and Committed use discounts in Google Cloud. 

The following tables compare the discounted pricing among AWS, Azure, and Google Cloud cloud services with a one-year commitment period with an all upfront payment.   

Cloud pricing with a 1-year commitment

General purpose

Cloud providerInstance typePriceDiscount
Google Cloud Platforme2-standard-4$0.09509237%

Compute optimized

Cloud providerInstance typePriceDiscount
AzureF4s v2$0.114332%
Google Cloud Platformc2-standard-4$0.1407241%


  • General-purpose instances with a 1-year commitment receive quite similar discount rate in AWS and Azure. Still, AWS offers a cheaper alternative.
  • In both general purpose and compute optimized instances, Google Cloud Platform offers the biggest discounts – still, it’s not the cheapest option. Note: the compute optimized GCP instance we picked has 16 GB RAM, not 8 GB like the other instances.

Take a look here if you’re unsure how Reserved Instances work and whether they really bring discounts: Do AWS Reserved Instances and Savings Plans really reduce costs?

Here’s how CPU bursting can drive your costs down 

All cloud providers in question offer burstable performance instances. These instances offer you a baseline level of CPU performance with the option to burst to a higher level whenever your workload requires that.

Burstable performance instances are suitable for low-latency interactive applications, microservices, small and medium databases, or product prototypes.

Our research into AWS burstable instances showed that if you load your instance for 4 hours or more per day on average, it’s better pick a non-burstable one for cost-effectiveness. However, if you run an e-commerce business that may receive a large stream of visitors once in a while, a burstable instance is often a good match.

AWS vs. Azure vs. Google Cloud: Comparing Spot Instances/Preemptible VMs

Another way to snatch some discounts and reduce your cloud bill is to take advantage of capacity that’s currently not being used by anyone else. Cloud providers sell excess capacity at incredible discounts. AWS Spot instances offer up to 90% off the On-Demand rates, Preemptible VMs in Google can be even 80% cheaper than regular ones.

Here’s a quick overview of the potential savings you can get for these instances in the US East (Northern Virginia) region:

Cloud pricing with Spot Instances/Preemptible VMs

General purpose

Cloud providerInstance typePriceDiscount
AzureA4 v2*$0.0638~67%
Google Cloud Platforme2-standard-4$0.045272~70%
*Note that we changed the machine type to a similar one with 4 vCPU and 8 GB RAM. Why? Because Azure’s machines in Bs-series aren’t available as spot instances!

Compute optimized

Cloud providerInstance typePriceDiscount
AzureF4s v2$0.0295~82% 
Google Cloud Platformc2-standard-4$0.054~77%


  • AWS offers a great price for general-purpose machines even though the discount isn’t the highest.
  • Azure offers the greatest discounts for both compute optimized instances. The pricing of the compute optimized F4s v2 is very attractive.
  • Oracle offers Preemptible VMs at a flat 50% discount.

To take advantage of spot instances, you need to ensure that your application can handle interruptions. How? Here’s a step by step guide: Spot Instances: How to reduce AWS, Azure, and GCP costs by 90%

Optimizing cloud costs is a real-time activity

Spot instance prices may be different from one minute to the next. So we once decided to use our own platform to analyze our setup. Cloud tools can be incredibly helpful in discovering potential cost savings that don’t make you compromize on performance.

We looked for the most cost-effective spot instance alternatives for a machine with 8 CPUs and 16 GB. 

CAST AI suggested that we run our workload on an instance called INF1. But this powerful GPU instance would usually cost a lot of money. So, why did CAST AI pick it? 

We checked the pricing and got this:

Spot instance pricing history

As it turned out, at that time, INF1 just happened to be cheaper than the usual general purpose instances we used. If we just stuck to our standard practices, we would have never guessed to look in this category and missed out on this incredible gem.

This is not the kind of knowledge cloud providers share with you.

That’s why you need automation to optimize cloud costs

We hope this cloud pricing comparison helped you understand the differences between major cloud services out there.

Even if you outsource the management of your cloud expenses to DevOps or FinOps specialists, you’re probably spending twice as much as you should. It’s high time you took control of your cloud bill with an automated solution.

CAST AI is a great place to start your path towards cost-cutting if your teams work with Kubernetes. The solution automatically creates and implements tactics for guaranteed savings without any manual and repetitive work for your engineers.

You can start with free Kubernetes cost monitoring, run a cluster savings report and see the instance type and resource amount CAST AI would automatically implement if it managed your cluster.

CAST AI clients save an average of 63%
on their Kubernetes bills

Find out how much you can save on your cloud bill.

CAST AI Blog Cloud Pricing Comparison: AWS vs. Azure vs. Google Cloud Platform in 2024