<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Carl Mercier&#039;s blog &#187; ec2</title>
	<atom:link href="http://blog.carlmercier.com/tag/ec2/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.carlmercier.com</link>
	<description>me = entrepreneur + hacker;</description>
	<lastBuildDate>Thu, 02 Feb 2012 18:38:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>EC2 is basically one big rip-off</title>
		<link>http://blog.carlmercier.com/2012/01/05/ec2-is-basically-one-big-ripoff/</link>
		<comments>http://blog.carlmercier.com/2012/01/05/ec2-is-basically-one-big-ripoff/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 19:47:08 +0000</pubDate>
		<dc:creator>Carl Mercier</dc:creator>
				<category><![CDATA[Software development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[dedicated]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://blog.carlmercier.com/?p=468</guid>
		<description><![CDATA[First of all, let me set this straight: I LOVE Amazon Web Services. I&#8217;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&#8217;s a problem with EC2. [...]]]></description>
			<content:encoded><![CDATA[<p>First of all, let me set this straight: I <strong>LOVE</strong> Amazon Web Services. I&#8217;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.</p>
<p>However, there&#8217;s a problem with EC2. A big one: performance. Bang for your buck. My friend <a href="http://jamesgolick.com/" target="_blank">James Golick</a> (<a href="http://twitter.com/jamesgolick" target="_blank">@jamesgolick</a>) has often <a href="http://vimeo.com/12814529" target="_blank">publicly talked about how crappy performance was on EC2</a>, both in terms of CPU and IO. I knew he was right, but didn&#8217;t know how right he was really.</p>
<p>I recently found out about <a href="http://joesdatacenter.com/" target="_blank">Joe&#8217;s Data Center</a>, a low-cost dedicated hosting provider so I decided to give them a shot for a pet project I&#8217;m working on. They certainly don&#8217;t have the infrastructure of Amazon, but that&#8217;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.</p>
<p>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&#8217;s standards a pretty old and crappy CPU, but I figured it would be plenty for my needs.</p>
<p>I decided to run some benchmarks against an m1.small to see how &#8220;bad&#8221; 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&#8217;t mean much to me anymore.</p>
<p>After some Googling, I settled on UnixBench for my benchmarks. I didn&#8217;t need very precise or scientific numbers, just a ballpark to see what I was getting at Joe&#8217;s.</p>
<p>I WAS BLOWN AWAY!!! In a nutshell, my dedicated server is <strong>10 times faster</strong> than an m1.small instance. TEN TIMES!!! For the same price! IO is also about 5 times faster  than EC2&#8242;s local storage. And as a bonus, I get 4GB of Ram instead of just 1.7GB.</p>
<p>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&#8217;t cut it.</p>
<p>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.</p>
<p>Here&#8217;s a chart of my results (UnixBench index):</p>
<table width="100%" border="1" cellspacing="0" cellpadding="5">
<tbody>
<tr>
<td></td>
<td><strong>m1.small</strong></td>
<td><strong>m1.large</strong></td>
<td><strong>m1.xlarge</strong></td>
<td><strong>c1.xlarge</strong></td>
<td><strong>Joe&#8217;s Dedicated</strong></td>
<td><strong>Hetzner EX 4S</strong></td>
</tr>
<tr>
<td><strong>Monthly Price</strong></td>
<td> $65.00</td>
<td> $250.00</td>
<td> $500.00</td>
<td> $500.00</td>
<td> $65.00</td>
<td> $78.00</td>
</tr>
<tr>
<td><strong>Architecture (Ubuntu)</strong></td>
<td> 32-bit</td>
<td> 64-bit</td>
<td> 64-bit</td>
<td> 64-bit</td>
<td> 64-bit</td>
<td> 64-bit</td>
</tr>
<tr>
<td><strong>CPUs/Cores</strong></td>
<td>1</td>
<td>2</td>
<td>4</td>
<td>8</td>
<td>2</td>
<td>8</td>
</tr>
<tr>
<td><strong>RAM (GB)</strong></td>
<td>1.7</td>
<td>7.5</td>
<td>15</td>
<td>7</td>
<td>4</td>
<td>32</td>
</tr>
<tr>
<td><strong>Index (1 Thread)</strong></td>
<td>116</td>
<td>357.5</td>
<td>438.1</td>
<td>494.4</td>
<td>777.6</td>
<td>1803.3</td>
</tr>
<tr>
<td><strong>Index (2 Threads)</strong></td>
<td></td>
<td>571.5</td>
<td></td>
<td></td>
<td>1210.5</td>
<td></td>
</tr>
<tr>
<td height="15"><strong>Index (4 Threads)</strong></td>
<td></td>
<td></td>
<td>1070.5</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td><strong>Index (8 Threads)</strong></td>
<td></td>
<td></td>
<td></td>
<td>1746.3</td>
<td></td>
<td>6696.7</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>The raw numbers (including IO) can be found here: <a href="https://gist.github.com/1566734" target="_blank">https://gist.github.com/1566734</a>.</p>
<p>I&#8217;ll let you draw your own conclusions, but to me, it&#8217;s clear that Amazon needs to improve its performance. The bang-for-your-buck ratio of EC2 is completely out of whack.</p>
<p>EDIT: Title was initially &#8220;EC2 is basically one big scam&#8221;, which was a bad choice of word. I changed to word scam to rip-off, which is more appropriate I believe.</p>
<p>EDIT 2: <a href="http://www.hetzner.de/en/" target="_blank">Hetzner.de</a> has a new amazing machine, the EX 4S (Intel Core i7 2600, 32 GB, 3TB RAID 1). It&#8217;s just ~$78/month so I decided to benchmark it as well. HOLY FUCKING SHIT. Check this out: <a href="https://gist.github.com/1724957" target="_blank">Hetzner EX 4S Benchmarks</a>. I added the numbers in the table above for comparison. Looks like we have a winner!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.carlmercier.com/2012/01/05/ec2-is-basically-one-big-ripoff/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>Deploying Rails on the Cheap</title>
		<link>http://blog.carlmercier.com/2007/12/05/deploying-rails-on-the-cheap/</link>
		<comments>http://blog.carlmercier.com/2007/12/05/deploying-rails-on-the-cheap/#comments</comments>
		<pubDate>Wed, 05 Dec 2007 16:52:37 +0000</pubDate>
		<dc:creator>Carl Mercier</dc:creator>
				<category><![CDATA[Presentations]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[montrealonrails]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rubyonrails]]></category>
		<category><![CDATA[scaling]]></category>
		<category><![CDATA[shared]]></category>
		<category><![CDATA[slicehost]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://blog.carlmercier.com/2007/12/05/deploying-rails-on-the-cheap/</guid>
		<description><![CDATA[Yesterday, I presented at Montreal on Rails.  What a great crowd it was! As promised, here are my slides.  Feel free to get in touch if you have any question about my presentation.]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I presented at <a href="http://montrealonrails.com" target="_blank">Montreal on Rails</a>.  What a great crowd it was!</p>
<p>As promised, <a href="http://blog.carlmercier.com/wp-content/uploads/2007/12/mor5_deploying_rails_on_the_cheap.ppt">here are my slides</a>.  Feel free to get in touch if you have any question about my presentation.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.carlmercier.com/2007/12/05/deploying-rails-on-the-cheap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

