Costs in the Cloud: How Much Does AWS Cost?

One of the key reasons or benefits for using the AWS cloud is its pay-as-you-go pricing model.  pay-as-you-go
As Amazon writes on their official website, “AWS pricing is similar to how you pay for utilities like water or electricity. You only pay for the services you consume, and once you stop using them, there are no additional costs or termination fees.” To break this down a bit, I’ll also mention that AWS offers a pay-as-you-go payment option for over 70 of their services. You’ll pay for them individually, as long and as much as you use them.

This model has many advantages. As a manager, you can start developing new projects with no upfront expenses for infrastructure beneath your project or application, and you can scale up or down using only the resources your business needs at any given moment. This way, you have no upfront expenses whatsoever. Paying as you go allows you to be more flexible because you can easily adapt to the ever-changing needs of your business. And, you can use these services without having to sign any long-term contracts or pay licensing fees.

In this post, we’ll show you how to get the most out of this payment model and cut your costs.
To understand what drives public cloud cost and to learn about best practices of cloud cost optimization, take a look at Cost Optimization Strategies for the Cloud Course.

Cut your AWS costs by using the RIGHT pricing model

EC2 purchasing options

Image: https://www.slideshare.net/AmazonWebServices/get-the-most-out-of-amazon-ec2-a-deep-dive-on-reserved-ondemand-and-spot-purchasing-models-64032266

One of the best ways to cut your AWS costs is to choose the right pricing models for paying for your Amazon EC2 instances.
Amazon offers four payment methods:

  • On-Demand
  • Reserved instances
  • Spot Instances
  • And Dedicated Hosts

It’s important to note that AWS frequently makes new instance types available, so it’s important that we always use the latest generation instance types, as their prices are much better optimized compared to the same instance type of the older generation.
Now, let’s take a closer look at each payment method so you can choose the one that best suits your use case.

The on-demand pricing model is the true embodiment of Amazon’s pay-as-you-go payment philosophy. You have no upfront payments, which means you’re not committing yourself over a long-term period. Amazon will charge you for the compute capacity by the hour, and you can increase or decrease usage depending on your application.

Now, if your business demands flexibility or your application has specific workloads with sudden high or low workload bursts, then this pricing model is ideal for you. You’ll not only have a low-cost solution, but you’ll also have the opportunity to test and assess your needs before going all-in. In most cases, this is best suited for businesses testing their solutions on Amazon EC2 instances for the first time.

Reserved Instances are a great way to save money because you will pay 30% less than what you’d pay for an On-Demand instance. As reserved instances are assigned to a specific Availability Zone, they allow capacity reservation, so you won’t worry whether you have enough capacity to start new instances if needed.

You may wonder why this pricing model is so much cheaper than On-Demand pricing. As the name indicates, these are instances that you reserve up front, which means that you’ll be committing to a one- to three-year period in order to significantly reduce your computing costs.

Three years is a really long period to commit in IT nowadays. A lot of things can and will change—resource demand, pricing—so it’s difficult to design an entire infrastructure for such a long period. Therefore, I generally don’t recommend signing a three-year contract.

While the biggest benefit of this pricing model is surely its lower price, we shouldn’t overlook the fact that it also provides you with a sense of safety knowing that your business has the computing resources available whenever you may need them. Of course, you have to know how your application works, because this is an ideal pricing model for applications that have a steady and predictable computing resource usage.

Here, Amazon went a step further and made this a Standard Reserved instance and added a new reserved instance type: Scheduled Reserved instances.

Scheduled Reserved instances are designed for businesses that run their most important tasks on a periodic basis. Amazon described some of the uses cases for these instances:

  • A bank or mutual fund that performs Value at Risk calculations every weekday afternoon.
  • A phone company that does a multi-day bill calculation run at the start of each month.
  • A trucking company that optimizes routes and shipments on Monday, Wednesday, and Friday mornings.
  • An animation studio that performs a detailed, compute-intensive 3D rendering every night.

With standard reserved instances, you can reserve EC2 compute capacity for a period of one to three years, and as we mentioned before, it’s always at your disposal.

What’s different with scheduled reserved instances is the fact that you can reserve instances for a one-year period but only for predefined recurring intervals with a daily, weekly, or monthly schedule. The best thing is, it will usually cost 5-10% less than what you’d pay for an equivalent On-Demand pricing model.

In the table below, we’ll compare on-demand and reserved instance pricing on an m4.large instance type example running on Linux operating system.

Instance class Pricing model 1 hr/$ Upfront price
(1-year term)
Monthly costsYearly costs
m4.large On-Demand 0.1 0 73.2 878.4
m4.large Reserved Instance No Upfront 0.062 0 45.26 543.12
m4.large Reserved Instance Partial Upfront 0.059 258 21.54 516.48
m4.large Reserved Instance All Upfront 0.058 507 0 507


NOTE: Instance costs per hour can vary depending on the AWS region.

By looking at the table, we can see that the most optimal pricing model is up front reserved instance pricing. It allows us to save more, while not having to pay for all of the expenses up front.

Spot Instances are very interesting because they entail bidding for spare EC2 computing capacity, and more importantly, you can get computing capacity up to 90% cheaper than the regular On-Demand price.

Spot instances are only for specific use cases such as for urgent computing needs, or for applications that are only feasible to run using very cheap computing capacity. This is a really great way to save on costs because you get computing resources for just a fraction of the original price.

Finally, the Dedicated Host pricing model is basically a physical EC2 server where you can use your existing server-bound software licenses. You have the option to buy it as on-demand or reserved capacity, with the reserved option being up to 70% cheaper.

Choosing the right pricing model for your business use case or application is of paramount importance, and it will allow you to cut your AWS costs significantly, even up to 90% in some cases.

Optimize to reduce costs

One of the methods for cutting AWS costs is using the Reserved Instances pricing model.

Usually, the biggest expense on AWS is for compute resources, i.e. an EC2 instance. For this reason, it’s critical to choose the most suitable instance for our workflow, as the price difference between instance families is significant. Monitoring your resource usage is important because by doing so, you’ll be able to make sure that your compute resources stay unused.

If you need compute resources for just a short period of time and there is no risk of losing your data, you can use spot instances and save up to 90% compared to on-demand instances. This would be the case if you have an application that performs image resizing and uses an EC2 instance for computing and S3 storage for storing the images.

Another way to cut your AWS costs is to simply review them on a regular basis and terminate any unused resources. Although your production instances need to be able to auto-scale to respond to demand, you can shut down your development or testing instances in off work hours or on weekends and save up to 65%.

It goes without saying that any instances you have for training or demos should be terminated after these projects are completed.

Using AWS calculators

Once you start using several AWS services, you can easily lose track of which resources are you using and how.

While there are many ways to save money by optimizing and tweaking your usage of AWS services and resources, this will be useless if you don’t have a clear plan and an overview of your AWS usage. This brings us to the AWS Total Cost of Ownership (TCO) calculator, which is a great tool for predicting and monitoring your expenses. This is an easy-to-use tool that allows you to estimate your cost savings and provides you with detailed reports.

As we mentioned before, assuming and planning your resource usage is very important. Here, you have a dynamic calculator that shows your estimated expenses and savings depending on the assumptions you enter. All you need to do is to enter your current hosting environment configuration, and the TCO calculator will provide you with a detailed cost comparison and estimated savings if you choose to migrate your applications to AWS cloud.

So how much does AWS cost?

When it comes to the AWS cloud, being knowledgeable about pricing models and how best to optimize expense optimization is essential for avoiding surprises at the end of the month.

AWS is constantly lowering the pricing of its services and resources, and we don’t expect that to change in the future. This means that AWS services and resources will be more affordable than ever.

In addition to the tips outlined in this post, I also recommend checking out some third-party tools that can help you better manage and optimize your AWS costs.

To understand what drives public cloud cost and to learn about best practices of cloud cost optimization, take a look at Cost Optimization Strategies for the Cloud Course.

Avatar

Written by

Sead Brkan

Currently working as a Business Development Associate and content writer at CWO as well as Marketing associate @WizardHealth. Interested in AWS, Cloud computing and technology in general.

Related Posts

Jeff Hyatt
Jeff Hyatt
— June 18, 2019

10 Steps for an Effective Reserved Instances Strategy

Amazon Web Services (AWS) offers three different ways to pay for EC2 Instances: On-Demand, Reserved Instances, and Spot Instances. This article will focus on effective strategies for purchasing Reserved Instances. While most of the major cloud platforms offer pre-pay and reservation dis...

Read more
  • AWS
  • EC2
Joe Nemer
Joe Nemer
— June 18, 2019

AWS Certification Practice Exam: What to Expect from Test Questions

If you’re building applications on the AWS cloud or looking to get started in cloud computing, certification is a way to build deep knowledge in key services unique to the AWS platform. AWS currently offers 11 certifications that cover major cloud roles including Solutions Architect, De...

Read more
  • AWS
  • AWS Certifications
Avatar
John Chell
— June 13, 2019

AWS Certified Solutions Architect Associate: A Study Guide

The AWS Solutions Architect - Associate Certification (or Sol Arch Associate for short) offers some clear benefits: Increases marketability to employers Provides solid credentials in a growing industry (with projected growth of as much as 70 percent in five years) Market anal...

Read more
  • AWS
  • AWS Certifications
Chris Gambino and Joe Niemiec
Chris Gambino and Joe Niemiec
— June 11, 2019

Moving Data to S3 with Apache NiFi

Moving data to the cloud is one of the cornerstones of any cloud migration. Apache NiFi is an open source tool that enables you to easily move and process data using a graphical user interface (GUI).  In this blog post, we will examine a simple way to move data to the cloud using NiFi c...

Read more
  • AWS
  • S3
Avatar
Chandan Patra
— June 11, 2019

Amazon DynamoDB: 10 Things You Should Know

Amazon DynamoDB is a managed NoSQL service with strong consistency and predictable performance that shields users from the complexities of manual setup.Whether or not you've actually used a NoSQL data store yourself, it's probably a good idea to make sure you fully understand the key ...

Read more
  • AWS
  • DynamoDB
Avatar
Andrew Larkin
— June 6, 2019

The 11 AWS Certifications: Which is Right for You and Your Team?

As companies increasingly shift workloads to the public cloud, cloud computing has moved from a nice-to-have to a core competency in the enterprise. This shift requires a new set of skills to design, deploy, and manage applications in cloud computing.As the market leader and most ma...

Read more
  • AWS
  • AWS Certifications
Sam Ghardashem
Sam Ghardashem
— May 15, 2019

Aviatrix Integration of a NextGen Firewall in AWS Transit Gateway

Learn how Aviatrix’s intelligent orchestration and control eliminates unwanted tradeoffs encountered when deploying Palo Alto Networks VM-Series Firewalls with AWS Transit Gateway.Deploying any next generation firewall in a public cloud environment is challenging, not because of the f...

Read more
  • AWS
Joe Nemer
Joe Nemer
— May 3, 2019

AWS Config Best Practices for Compliance

Use AWS Config the Right Way for Successful ComplianceIt’s well-known that AWS Config is a powerful service for monitoring all changes across your resources. As AWS Config has constantly evolved and improved over the years, it has transformed into a true powerhouse for monitoring your...

Read more
  • AWS
  • Compliance
Avatar
Francesca Vigliani
— April 30, 2019

Cloud Academy is Coming to the AWS Summits in Atlanta, London, and Chicago

Cloud Academy is a proud sponsor of the 2019 AWS Summits in Atlanta, London, and Chicago. We hope you plan to attend these free events that bring the cloud computing community together to connect, collaborate, and learn about AWS. These events are all about learning. You can learn how t...

Read more
  • AWS
  • AWS Summits
Paul Hortop
Paul Hortop
— April 2, 2019

How to Monitor Your AWS Infrastructure

The AWS cloud platform has made it easier than ever to be flexible, efficient, and cost-effective. However, monitoring your AWS infrastructure is the key to getting all of these benefits. Realizing these benefits requires that you follow AWS best practices which constantly change as AWS...

Read more
  • AWS
  • Monitoring
Joe Nemer
Joe Nemer
— April 1, 2019

AWS EC2 Instance Types Explained

Amazon Web Services’ resource offerings are constantly changing, and staying on top of their evolution can be a challenge. Elastic Cloud Compute (EC2) instances are one of their core resource offerings, and they form the backbone of most cloud deployments. EC2 instances provide you with...

Read more
  • AWS
  • EC2
Avatar
Nitheesh Poojary
— March 26, 2019

How DNS Works – the Domain Name System (Part One)

Before migrating domains to Amazon's Route53, we should first make sure we properly understand how DNS worksWhile we'll get to AWS's Route53 Domain Name System (DNS) service in the second part of this series, I thought it would be helpful to first make sure that we properly understand...

Read more
  • AWS