“Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers”, according to to Amazon.
All EC2 instances are sold based on hourly usage and instance type. Each instances type consists of a certain number of EC2 Compute Units (ECU) and a set RAM size. One EC2 Compute Unit (ECU) provides the equivalent CPU capacity of a 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor. Since the ECU is such a vague definition, I wanted to see some benchmarks (but couldn’t find any).
The information below is completly CPU based (using the Python Pystone test), and does not take into account any other factors.
The pricing model for Amazon EC2 looks attractive from the surface, but when you get down to it — monthly pricing for similar performing hardware can be much cheaper at a dedicated server provider like Softlayer.com. The use of EC2 is climbing, but I am concerned that many of the current uses of EC2 are better served using leased hardware.
Here are a few examples based on monthly costs, using the 28 days as the pricing point
|Instance Type||Monthly Pricing||ECU’s||Cores|
|Server Specs||Monthly Pricing||Cores|
|1×2.0Ghz Xeon 5335 4GB||$259.00||4|
|1×2.6Ghz Xeon 5430 4GB||$319.00||4|
|4×1.8Ghz AMD 8346 16GB||$899||16|
The number on the left is the pystones per second, the number on the bottom is the number of concurrent processes.
The number of concurrent processes and pystones should scale rather linearly with the number of CPU cores — And does on the dedicated hardware.
The EC2 instances are sporadic and took a number of tests to produce these results (which were the best of all results).
If you are using Amazon EC2, you may not be getting what you think you are paying for — in terms of available CPU.