Carl Mercier's blog

me = entrepreneur + hacker;
January 5, 2012

EC2 is basically one big rip-off

First of all, let me set this straight: I LOVE Amazon Web Services. I’ve been using EC2 for about 6 years and Defensio has always been entirely running on AWS. The flexibility is unparalleled and the variety of services such as EC2, ELB, EBS, S3 and CloudFront is a joy to use.

However, there’s a problem with EC2. A big one: performance. Bang for your buck. My friend James Golick (@jamesgolick) has often publicly talked about how crappy performance was on EC2, both in terms of CPU and IO. I knew he was right, but didn’t know how right he was really.

I recently found out about Joe’s Data Center, a low-cost dedicated hosting provider so I decided to give them a shot for a pet project I’m working on. They certainly don’t have the infrastructure of Amazon, but that’s a trade-off I can live with given the scope of my project. They have great reviews all over the interwebs so that made me feel at ease.

I leased one of the cheapest machines they are offering: a dual processor AMD Opteron SledgeHammer 2.2Ghz for $55/mo. I went crazy and added 2GB of Ram for an extra $10/mo. Total damage: $65. Roughly the same price as a small instance on EC2 (m1.small). The SledgeHammer is by today’s standards a pretty old and crappy CPU, but I figured it would be plenty for my needs.

I decided to run some benchmarks against an m1.small to see how “bad” the SledgeHammer really was. I stopped paying attention to CPUs the minute I bought my first Mac 6 or 7 years ago. All these fancy CPU names don’t mean much to me anymore.

After some Googling, I settled on UnixBench for my benchmarks. I didn’t need very precise or scientific numbers, just a ballpark to see what I was getting at Joe’s.

I WAS BLOWN AWAY!!! In a nutshell, my dedicated server is 10 times faster than an m1.small instance. TEN TIMES!!! For the same price! IO is also about 5 times faster  than EC2′s local storage. And as a bonus, I get 4GB of Ram instead of just 1.7GB.

After such a surprise, I decided to benchmark more expensive EC2 instance types to see how well my new best friend fares against my olf virtual friends. The results were equally surprising: my dedicated box is faster than a m1.large ($250/mo), faster than a m1.xlarge ($500/mo) and roughly as fast as a High CPU c1.xlarge ($500/mo). More explicitly, the c1.xlarge did ~50% better when running UnixBench with 8 threads, but the Opteron box is 50% faster when single threaded. Also, to get IO roughly equivalent to my dedicated box on EC2, you have to shell out $500/mo for a c1.xlarge. Even the m1.xlarge doesn’t cut it.

EDIT: Since publishing this article, I rented a EX 4S at Hetzner. It is effectively 58 times faster than an m1.small and has 32 GB of Ram. IO throughput is 29 times higher. All this for just $13 more a month.

Here’s a chart of my results (UnixBench index):

m1.small m1.large m1.xlarge c1.xlarge Joe’s Dedicated Hetzner EX 4S
Monthly Price  $65.00  $250.00  $500.00  $500.00  $65.00  $78.00
Architecture (Ubuntu)  32-bit  64-bit  64-bit  64-bit  64-bit  64-bit
CPUs/Cores 1 2 4 8 2 8
RAM (GB) 1.7 7.5 15 7 4 32
Index (1 Thread) 116 357.5 438.1 494.4 777.6 1803.3
Index (2 Threads) 571.5 1210.5
Index (4 Threads) 1070.5
Index (8 Threads) 1746.3 6696.7

 

The raw numbers (including IO) can be found here: https://gist.github.com/1566734.

I’ll let you draw your own conclusions, but to me, it’s clear that Amazon needs to improve its performance. The bang-for-your-buck ratio of EC2 is completely out of whack.

EDIT: Title was initially “EC2 is basically one big scam”, which was a bad choice of word. I changed to word scam to rip-off, which is more appropriate I believe.

EDIT 2: Hetzner.de has a new amazing machine, the EX 4S (Intel Core i7 2600, 32 GB, 3TB RAID 1). It’s just ~$78/month so I decided to benchmark it as well. HOLY FUCKING SHIT. Check this out: Hetzner EX 4S Benchmarks. I added the numbers in the table above for comparison. Looks like we have a winner!

50 comments
December 15, 2011

10 Tech Predictions for 2012

  1. The iPhone’s market share will continue to grow as users will slowly move away from Android out of frustration.
  2. The iPhone 4s will be the best selling iPhone of all time by a large margin.
  3. Apple will acquire Square.
  4. Apple will announce and possibly launch its mobile device-based payment system.
  5. Apple TV will take a whole new meaning, either with the introduction of a TV set, or through major improvements to the current device. More content will be available and the new Apple TV will be a real contenter at replacing your cable subscription.
  6. The iPad will maintain its dominance and the iPad 3 will be introduced (duh).
  7. Other tablets such as Android and Playbook will continue to underwhelm and will sell in negligible quantities. Except for one…
  8. The Kindle Fire will be a HUGE hit at Christmas 2011 and throughout 2012. It will give the iPad a run for its money.
  9. Research in Motion’s stock will continue to plunge and will drop below $10. The company will be acquired by either Microsoft or Google for its assets or worst case, they’ll file for Chapter 11. I don’t think will see a Blackberry device in 2013.
  10. Google+ will growth will cease and its users will slowly return to Facebook and Twitter.
1 comment
« Older
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.