Amazon’s Elastic Cloud Computing (EC2) has revolutionized our industry. Distilled down to its most basic components, provisioning a new server is as simple as selecting an instance configuration and then waiting for a minute or two while AWS creates and deploys a new instance for you.

It is in the determination of the right configuration for your EC2 instance that the process becomes complicated. Between processing power, memory, storage, deployed region, and other options, your instance configuration is one of over 24,000 possible combinations, each with differing costs.

Previously, I wrote an article about different factors you should consider when selecting your EC2 configuration, but often the most critical factor which affects instance type selection is the cost.

EC2 Instance Pricing

Let’s take a quick look at the factors which contribute to determining the price of an EC2 instance. AWS provides different families of instance types based on different needs. Some families support general-purpose computing, while others are optimized for processing, memory, storage, and other purposes.

Within each family, different sizes of instances offer increasing levels of processing power, available memory, storage capacity, and networking bandwidth.

Finally, AWS pricing is generally quoted for On-Demand Instances. Users may also elect to use Spot Instances or Reserved Instances. Spot Instances allow users to take advantage of unused capacity within Amazon data centers. A user may be able to use an m4.xlarge instance for the price of an m4.small; however, Spot Instances may be terminated at any time, following a 10s warning.

Reserved Instances allow users to reserve capacity ahead of time at a discounted rate. The catch with Reserved Instances is that the user is contractually obligated to pay for the capacity whether or not it is used, and with terms ranging from one to three years, this can have disastrous financial implications if the needs of the organization change within that period.

Option 1: Manually Determining the Price of an Instance

You can determine the hourly price of an instance without using a tool if you visit the AWS EC2 Pricing page. Selecting the Operating System and AWS Region will provide you with a list of matching instance types, organized by instance family and type. The hourly price is shown in the right-most column for each instance configuration.

Fig. 1 Using the AWS EC2 Pricing Page

This approach requires you to know what you’re looking for, and be aware of the options and additional costs which might be associated with each instance.

Option 2: Pricing Calculators from AWS

Of the three pricing calculators I reviewed, the new calculator from AWS was the most comprehensive tool of the three. As thorough as the calculator is, I found that it required familiarity with AWS services, and it took me a few tries before I was able to generate a quote. Once I received the quote, I observed the lowest-cost instance for my desired specification, and I could experiment with different pricing models, attached EBS storage, and see the total monthly cost.

From the AWS Pricing Calculator home page, I clicked on the Create Estimate button and then selected my region. A new quote is shown, to which you can add different services. This calculator includes services in addition to EC2, such as Amazon Athena and AWS Storage Gateway. After selecting Amazon EC2, I then clicked on Configure.

A Quick estimate process and an Advanced estimate process are available. Then, the user is prompted to select an operating system, instance count, and instance characteristics. What I liked about this tool was the functionality that allowed me to see different pricing options, and the ability to create a comprehensive estimate with different AWS services. I would have liked to have the ability to compare different instance types within a comparable price range and with similar capabilities.

Fig. 2 An Estimate with the New AWS Pricing Calculator

Source: calculator.aws

Option 3: PromptCloud Pricing Calculator

Moving from the AWS Pricing Calculator to the Pricing Tool available from PromptCloud, the most apparent contrast was how simple and easy to use the PromptCloud tool was. A toggle option allows the user to select the operating system, and drop-down selection boxes enable you to choose the region, category, instance family and instance type.

Sliders allow the user to select the number of days for the estimate, and the number of hours the instance will be in use each day. The tool is designed to compare On-Demand pricing with Reserved Instance pricing, and it accomplished this goal very well. Selecting similar criteria as the AWS calculator, I was able to build the comparison below, with significantly more ease than the AWS tool.

Fig. 3 A Comparison of On-Demand vs. Reserved Pricing for a t2.large instance.

Source: promptcloud.com

One glaring problem arose when I tried to create a comparison using the same criteria for the quote I built using the AWS Calculator — the newer T3 instance family was not available. This omission indicated that as much as I liked this calculator, it didn’t appear to be receiving regular updates. Unfortunately, this is a problem common with many free calculators that are available online.

Conclusions

Building a user-friendly pricing tool that meets the needs of all users is a tough task, and you have to find a balance between displaying all the options for a specific instance type, and displaying just enough information for the user to make the decisions they are responsible for making.

Which tool is the best depends on why you need a pricing tool.

Mike Mackrory
Mike Mackrory
Cloud
August 15 2023Virtana Insight
Maximizing Efficiency and Savings: Explore Virtana’s Latest Innovations to IPM and Cloud Cost Management
In today’s rapidly evolving business landscape, where IT infrastructure and cloud costs pla...
Read More
Capacity Management
May 30 2023Marc Bachmeier
Infrastructure is Fundamental: Learn Your Hybrid Cloud ABCs
In 21st-century business, computing is what makes daily operations, competitive advantage, ...
Read More
Cloud
May 15 2023Jon Cyr
Digital Business Transformation Never Ends—Can Your Infrastructure Keep Up?
Digital transformation—and its intended benefits, including flexibility, scalability, agili...
Read More