Update: Amazon now offers an improved cost calculator which is much easier to use.

Michael Pietroforte

Michael Pietroforte is the founder and editor in chief of 4sysops. He has more than 35 years of experience in IT management and system administration.

In my last article in this series, I discussed the storage costs for my Amazon EC2 server. Today I will focus on the bandwidth and instance costs. As we will see, things are getting a bit more expensive now.

Amazon EC2 bandwidth costs ^

Amazon-EC2-Data-Transfer-Costs One of the things I really dislike about EC2 are the bandwidth costs. One GB inbound data transfer costs $0.10 and one GB outbound traffic costs $0.17. This doesn't seem to be much. However, in my case the bandwidth costs are a significant part of the overall monthly fees. In September, I paid about $15 for data transfer, which corresponds to approximately 90GB. I enabled HTML encryption in Apache after I moved to EC2, but this didn't really help because most of my traffic comes from the screenshots. I also download backups of the database and the screenshots every day, which equals up to 15% of my monthly bandwidth costs. In my view, external backups are absolutely necessary because if someone hacks your Amazon account , then you might lose all your data even if you have backups within cloud.

If you rent a dedicated server or a VPS, 1000GB ore more are often already included in the monthly fees. This amount of traffic would cost $340 at Amazon! Of course, most users never use 1000GB, and that's exactly the reason why conventional providers can be so generous. However, it gives customers a safe feeling. Just in case a friendly hacker uses your server as a download server for his community, you are on the safe side until you recognize what's going on. Moreover, since traffic changes all the time, you always have to be vigilant and check your bandwidth costs regularly. Charging for bandwidth usage per GB is a relic of the Internet stone age, in my opinion.

Amazon EC2 instance costs ^

Amazon-EC2-On-Demand-Instance-Costs The major cost factor certainly always is the EC2 instance. These fees heavily depend on the instance type (dependent on RAM, CPU power and operating system) you use and whether you purchase a reserved instance. I am using the High-CPU-Medium Linux instance type (1.7 GB of memory, 5 EC2 Compute Units, 350 GB storage), which costs $0.20 per hour as an on-demand instance. For a reserved instance of this type, you pay $0.06 per hour. On an one year plan, the fee for reserving a High-CPU-Medium instance is $455 and on a three year term you pay $700. I chose the one year term because three years is a long time in the always evolving cloud business. Hence, the EC2 instance costs amount to $81.72 (=455/12 + 0.06*24*365/12) per month in my case. Note that reserved instances are currently not available for Windows systems.

Amazon-EC2-Reserved-Instance-Costs The hourly rates for the instance types vary between $0.03 and $0.24 for reserved instances. Therefore, choosing the optimal instance type is key in minimizing your EC2 costs. You might find this site helpful for finding the appropriate instance type for your purpose. The best method certainly is to just try them out. You can play with on-demand instances until you get a feeling for the performance and then buy the corresponding reserved instance. This is where pay-as-you-go pricing comes in handy.

Conclusion ^

Basically, there are four major factors to remember when it comes to EC2 price calculation: S3 storage, EBS storage, EC2 bandwidth, and EC2 instance type. In my case, the storage costs are negligible ($2), the bandwidth costs are significant ($15) and the EC2 instance costs are decisive ($82). I hope that this will help you to get an idea of how Amazon EC2 pricing works.

However, the most interesting part of this story is that I needed two posts to explain my case and I didn't even discuss all the factors listed in Amazon's Simple Monthly Calculator simply because they turned out to be irrelevant. Perhaps I could have made it all shorter with less babbling. But on the other hand, if I had to explain what renting a dedicated or conventional virtual server costs, one sentence would have been enough. And imagine how complicated things will get if you have to calculate the costs for moving a whole datacenter to EC2.

In my view, this relatively convoluted price structure is a major disadvantage of EC2. The pay-only-what-you-use philosophy is typical for most new information and telecommunications technologies. Once the technology matures and prices drop, providers move over to flat rates. For example, mainframe computation was charged per CPU time and home users paid for broadband Internet by the hour and/or for the data transferred in the beginning. Even though usage-based rates might seem to be the fairest pricing model, most people prefer easy-to-calculate and predictable costs. Pay-as-you-go pricing is nice-to-have as an additional feature, but those cloud providers who rely only on pay-only-what-use will lose.

Win the monthly 4sysops member prize for IT pros

0
Share
Articles in series

Amazon EC2 Pricing

7 Comments
  1. A Reader 9 years ago

    Good article.
    Amazo would do well to add some easily accessible 'real world scenarios', with pricing. At least for non-enterprise users.

    0

  2. Ahmad 7 years ago

    The prices in your pictures is way less than what I can see @ http://aws.amazon.com/ec2/

    Did amazon increase the price or you have special discount !?

    1+

  3. shobhit verma 6 years ago

    Hats off to you Michael, I am confronting myself with Amazon pricing structure from last one week and I must say "This is called the real way of marketing". No one will be able to understand without using it. Great Article, Good to understand.

    0

  4. Ryan 4 years ago

    Thanks for posting the article. This is what is essentially turning me off from continue with my EC2 instance as it's convoluted to calculate and price tiers really makes more sense for cost-savings in the long run if it can be provided when compared to hosting companies

    0

  5. BHARAT JAIN 3 years ago

    Thanks for the descriptive posts. Got an idea of how amazon aws going to steal my pocket 🙂

    1+

  6. Thanks 2 years ago

    8 years later, people (at least me) are still confused about AWS' pricing structure. The 'simple' calculator is still scary. Flat-rate services are still big no-nos.

    Anyway, thanks for the great article, very useful information!

    1+

    • Author
      Michael Pietroforte 2 years ago

      Yeah, AWS pricing still looks confusing. However, Amazon does offer "flat rates." You can book an EC2 instance for year or 3 years. Amazon calls them reserved instances. Unfortunately, this doesn't include traffic.

      0

Leave a reply

Your email address will not be published. Required fields are marked *

*

© 4sysops 2006 - 2019

CONTACT US

Please ask IT administration questions in the forums. Any other messages are welcome.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account