Amazon EC2 pricing considerations (& how to save your money)
After a first glance at the Amazon EC2 pricing page, you might find absorbing so much information a little intimidating. In this post, we will try to break EC2 pricing down and provide strategies to not only ease the pain but also save your organization money.
First and foremost, you would need to answer the following questions regarding your project:
- Will the machine be running 24/7 (a webserver, for example) or will it be temporary (like a Dev/test machine)?
- Bandwidth considerations: where will the data be stored?
- On Amazon or on-premise (basically anywhere outside Amazon)?
- Will the machine be outside-accessible (i.e., Internet-facing) or will it just talk to machines within the cluster (like an SQL Server)?
- Is it important for the machine to maintain uninterrupted uptime or is it OK to lose it temporarily (say a data cruncher pulling from a queue)?
- Does data need to be stored on the machine?
- Do you need additional software on the machine (a prebuilt SQL Server or Red Hat OS)?
With the above answered we can now get down to the nitty-gritty details and start figuring out costs.
Amazon EC2 pricing basically follows the following formula:
EC2 Machine + Block Store + Optional Software + Bandwidth + Optional Services
Amazon EC2 Pricing Tiers
EC2 pricing can now seem pretty straightforward. With information from questions 1&3, you can use the flow chart below to pick the correct tier. First though, a quick overview of tiers:
a Basic type of virtual machine, you pay by the hour, and the machine will stay up as long as the hardware is functioning (i.e., Amazon won’t turn it off)
This machine is basically on a contract, so you’re buying it for 12/24/36 months, to run 24/7/365. This can provide significant savings, especially for longer-term contracts
These instances are much cheaper, sometimes up to 60% below On-demand instance costs. They are purchased by the hour, and as the name suggests on the spot (i.e. at the time you spin up the machine). The downside is they can be brought down by Amazon at any time, with no warning
Block Store Pricing
Block Store Pricing comes into effect when the answer to question four is yes.
There are two types of Amazon EC2 storage: Instance Level storage and EBS.
- Instance Level storage is local storage on the machine which disappears when the machine is shut down. Any data on that storage is lost.
- EBS storage is persistent, so even when a machine is shut down it stays around and can be attached to another machine.
EC2 pricing for Block Store is charged based on GB per month. There are also High performance and backup options available
EC2 Pricing: optional software
I won’t go too deeply into this topic, as it really deserves its own post. But basically, you can purchase software from the AWS marketplace to run on your machines and pay per hour of use.
Think Oracle, Windows or Red Hat.
Your answer to question two should help you with this section.
In essence, Intra-AWS transfers within the same availability zone are free (one exception is using a public IP since effectively you are going out to the internet and coming back in).
Internet inbound is free, Internet outbound costs money
Amazon offers services such as Monitoring and Load balancing, which have structures independent of Amazon EC2 pricing and are usually charged hourly in addition to the machine costs.
If you’re interested in learning more about EC2 cost saving, read this post where we show you three ways to cut your EC2 costs on Amazon Web Services (AWS).
Google Cloud Platform Certification: Preparation and Prerequisites
Google Cloud Platform (GCP) has evolved from being a niche player to a serious competitor to Amazon Web Services and Microsoft Azure. In 2019, research firm Gartner placed Google in the Leaders quadrant in its Magic Quadrant for Cloud Infrastructure as a Service for the second consecuti...
New Lab Challenges: Push Your Skills to the Next Level
Build hands-on experience using real accounts on AWS, Azure, Google Cloud Platform, and more Meaningful cloud skills require more than book knowledge. Hands-on experience is required to translate knowledge into real-world results. We see this time and time again in studies about how pe...
New on Cloud Academy: AWS Solution Architect Lab Challenge, Azure Hands-on Labs, Foundation Certificate in Cyber Security, and Much More
Now that Thanksgiving is over and the craziness of Black Friday has died down, it's now time for the busiest season of the year. Whether you're a last-minute shopper or you already have your shopping done, the holidays bring so much more excitement than any other time of year. Since our...
Understanding Enterprise Cloud Migration
What is enterprise cloud migration? Cloud migration is about moving your data, applications, and even infrastructure from your on-premises computers or infrastructure to a virtual pool of on-demand, shared resources that offer compute, storage, and network services at scale. Why d...
6 Reasons Why You Should Get an AWS Certification This Year
In the past decade, the rise of cloud computing has been undeniable. Businesses of all sizes are moving their infrastructure and applications to the cloud. This is partly because the cloud allows businesses and their employees to access important information from just about anywhere. ...
AWS Regions and Availability Zones: The Simplest Explanation You Will Ever Find Around
The basics of AWS Regions and Availability Zones We’re going to treat this article as a sort of AWS 101 — it’ll be a quick primer on AWS Regions and Availability Zones that will be useful for understanding the basics of how AWS infrastructure is organized. We’ll define each section,...
Application Load Balancer vs. Classic Load Balancer
What is an Elastic Load Balancer? This post covers basics of what an Elastic Load Balancer is, and two of its examples: Application Load Balancers and Classic Load Balancers. For additional information — including a comparison that explains Network Load Balancers — check out our post o...
Advantages and Disadvantages of Microservices Architecture
What are microservices? Let's start our discussion by setting a foundation of what microservices are. Microservices are a way of breaking large software projects into loosely coupled modules, which communicate with each other through simple Application Programming Interfaces (APIs). ...
Kubernetes Services: AWS vs. Azure vs. Google Cloud
Kubernetes is a popular open-source container orchestration platform that allows us to deploy and manage multi-container applications at scale. Businesses are rapidly adopting this revolutionary technology to modernize their applications. Cloud service providers — such as Amazon Web Ser...
AWS Internet of Things (IoT): The 3 Services You Need to Know
The Internet of Things (IoT) embeds technology into any physical thing to enable never-before-seen levels of connectivity. IoT is revolutionizing industries and creating many new market opportunities. Cloud services play an important role in enabling deployment of IoT solutions that min...
Which Certifications Should I Get?
As we mentioned in an earlier post, the old AWS slogan, “Cloud is the new normal” is indeed a reality today. Really, cloud has been the new normal for a while now and getting credentials has become an increasingly effective way to quickly showcase your abilities to recruiters and compan...
How to Go Serverless Like a Pro
So, no servers? Yeah, I checked and there are definitely no servers. Well...the cloud service providers do need servers to host and run the code, but we don’t have to worry about it. Which operating system to use, how and when to run the instances, the scalability, and all the arch...