<?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>James R J Constable &#187; ec2</title>
	<atom:link href="http://jamesconstable.co.uk/tag/ec2/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamesconstable.co.uk</link>
	<description></description>
	<lastBuildDate>Thu, 08 Jul 2010 16:16:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>Hosting Sites with Heavy Traffic on Amazon EC2</title>
		<link>http://jamesconstable.co.uk/web-development/hosting-sites-with-heavy-traffic-on-amazon-ec2/</link>
		<comments>http://jamesconstable.co.uk/web-development/hosting-sites-with-heavy-traffic-on-amazon-ec2/#comments</comments>
		<pubDate>Fri, 08 May 2009 18:53:58 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[amazon ec2]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://jamesconstable.co.uk/?p=323</guid>
		<description><![CDATA[I mentioned previously that I&#8217;d been looking at Amazon EC2 as a solution to host a site that underwent heavy bursts of traffic for only a couple of hours a week. The expected traffic bursts were 10-15k visitors in a 2 hour period and unfortunately a small EC2 instance just wasn&#8217;t enough. The next trial [...]]]></description>
			<content:encoded><![CDATA[<p>I mentioned previously that I&#8217;d been looking at Amazon EC2 as a solution to<a href="http://jamesconstable.co.uk/web-development/more-on-hosting-with-amazon-ec2/" > host a site that underwent heavy bursts of traffic</a> for only a couple of hours a week.  The expected traffic bursts were 10-15k visitors in a 2 hour period and unfortunately a small EC2 instance just wasn&#8217;t enough.  The next trial was with a large EC2 instance, with Apache tweaked to allow more simultaneous connections.  Results went better than first time but I ended up having to bounce Apache a couple of times during the time frame to get it back up and running.</p>
<p>So fast forward to this week and it was time to try again.  This time I went with an Extra Large instance running a stock 64-bit Ubuntu 8.04 and Lighttpd instead of Apache.  And this time there were no problems.  For the full 2 hours the site remained up and responsive, and because I could time the instance to come up just before the additional cost was negligible.</p>
<p>To give you an idea of the kind of traffic it had to deal with, the site took in just over 25,000 unique visitors in a 2 hour time frame.  Glad to get the problem solved and now I know what to do next time I need some heavy traffic handled.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesconstable.co.uk/web-development/hosting-sites-with-heavy-traffic-on-amazon-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More on Hosting with Amazon EC2</title>
		<link>http://jamesconstable.co.uk/web-development/more-on-hosting-with-amazon-ec2/</link>
		<comments>http://jamesconstable.co.uk/web-development/more-on-hosting-with-amazon-ec2/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 08:14:59 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[amazon ec2]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://www.jamesconstable.co.uk/?p=315</guid>
		<description><![CDATA[After moving the hosting of oceanseventy to Amazon EC2 before departing for pastures new I was fairly keen to try it out again on a site that was more than a few hundred hits a day.  I recently had call to host a single static page that would get hit about 13,000 times within the [...]]]></description>
			<content:encoded><![CDATA[<p>After moving the hosting of <a href="http://www.ocean70.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.ocean70.com');">oceanseventy</a> to <a href="http://aws.amazon.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/aws.amazon.com');">Amazon EC2</a> before departing for pastures new I was fairly keen to try it out again on a site that was more than a few hundred hits a day.  I recently had call to host a single static page that would get hit about 13,000 times within the space of a couple of hours &#8211; but do very little for the rest of the time.</p>
<p>So I set up a small instance running on EC2, running Ubuntu 8.04 and tweaked Apache2 a little to increase the MaxClients setting.</p>
<p>Unfortunately not everything went to plan.  While the server itself was rock solid the response times from Apache grew very quickly to 20+ seconds.  So I&#8217;m trying to figure out what the next plan of attack is.  Do I set up a load balancer on EC2 and share the load with a number of instances, or do I go with a larger instance for the duration of the traffic spike, upgrading to a large or extra large instance.  Are there some settings I should be tweaking on Apache?  Should I be trying out an alternate webserver like <a href="http://www.lighttpd.net/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.lighttpd.net');">Lighttpd</a>?</p>
<p>Or maybe I give up and get back to the day job <img src='http://jamesconstable.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Any advice appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesconstable.co.uk/web-development/more-on-hosting-with-amazon-ec2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hosting Migration to Amazon EC2</title>
		<link>http://jamesconstable.co.uk/web-development/hosting-migration-to-amazon-ec2/</link>
		<comments>http://jamesconstable.co.uk/web-development/hosting-migration-to-amazon-ec2/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 11:49:08 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[ebs]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[fasthosts]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://www.jamesconstable.co.uk/?p=227</guid>
		<description><![CDATA[As I mentioned previously, we (oceanseventy) decided that recently to take advantage of the slowdown around Christmas and start to migrate our hosting set up away from a Fasthosts dedicated server. For 2 years we&#8217;d been using a Fedora 6 box which had been running fine, but it was becoming difficult to keep the OS [...]]]></description>
			<content:encoded><![CDATA[<p>As I mentioned previously, we (<a href="http://www.ocean70.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.ocean70.com');">oceanseventy</a>) decided that recently to take advantage of the slowdown around Christmas and start to migrate our hosting set up away from a <a href="http://fasthosts.co.uk" >Fasthosts</a> dedicated server.</p>
<p>For 2 years we&#8217;d been using a <a href="http://fedoraproject.org/" onclick="javascript:pageTracker._trackPageview('/outbound/article/fedoraproject.org');">Fedora</a> 6 box which had been running fine, but it was becoming difficult to keep the OS up to date given Fedora&#8217;s habit of ignoring previous releases fairly quickly.  Other issues, like the fact that there was a single hd in the machine which could potentially die at any time and cause much pain, prompted the desire to move everything to something more robust, flexible and easy to backup.  Enter <a href="http://aws.amazon.com/ec2/" onclick="javascript:pageTracker._trackPageview('/outbound/article/aws.amazon.com');">Amazon EC2</a>.</p>
<p>Fedora was ditched in favour of <a href="http://www.ubuntu.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.ubuntu.com');">Ubuntu</a> 8.04 &#8211; the latest LTS release &#8211; and within an hour we had set up a small instance in the Euro availability zone.  The doc&#8217;s for EC2 are excellent and take you through the process.  An Elastic IP was attached to the instance to ensure we could maintain the ip should the server ever go down.  </p>
<p>We also attached a 120gb <a href="http://aws.amazon.com/ebs/" onclick="javascript:pageTracker._trackPageview('/outbound/article/aws.amazon.com');">Elastic Block Store</a> instance, mounted at /var/www to make it easy to take all data easily to another instance should the need arise.  Backups are handled with the  AMI and EC2 tools.  Nightly the instance is bundled and stored on <a href="http://aws.amazon.com/s3/" onclick="javascript:pageTracker._trackPageview('/outbound/article/aws.amazon.com');">S3</a> and nightly a snapshot is take of the EBS block as well.</p>
<p>So far the instance has been rock solid reliable and much faster than the old Fasthosts dedicated box we had.  EC2 is exactly what anyone hosting websites need at the moment &#8211; no tie-in to any physical hardware and the flexibility to scale your hardware as required.</p>
<p>I&#8217;ve seen a lot of criticism about hosting web sites on EC2 but almost all of the issues I&#8217;ve seen are no longer relevant as Amazon have taken steps to improve EC2 and add critical features (like persistent external IP addresses).  </p>
<p>Really glad I got the opportunity to implement this as my last act at <a href="http://www.ocean70.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.ocean70.com');">oceanseventy</a>.  I&#8217;m definitely and EC2 advocate now and hopeful the skills i&#8217;ve learned will help my in my new position at <a href="http://stv.tv" onclick="javascript:pageTracker._trackPageview('/outbound/article/stv.tv');">STV</a>.  Hopefully i&#8217;ll be able to use EC2 for my <a href="http://www.gravitylabs.net" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.gravitylabs.net');">startup project</a> as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesconstable.co.uk/web-development/hosting-migration-to-amazon-ec2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress on Amazon EC2</title>
		<link>http://jamesconstable.co.uk/jamesconstablecouk/wordpress-on-amazon-ec2/</link>
		<comments>http://jamesconstable.co.uk/jamesconstablecouk/wordpress-on-amazon-ec2/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 21:13:46 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[JamesConstable.co.uk]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[oceanseventy]]></category>

		<guid isPermaLink="false">http://www.jamesconstable.co.uk/?p=225</guid>
		<description><![CDATA[With a wee bit of time to spare over the Christmas period we took the opportunity to move our hosting infrastructure from an aging Fasthosts dedicated server to an Amazon EC2 instance.  All of our client sites are now up and running, as is my blog, which has also been freshly updated to WordPress 2.7. [...]]]></description>
			<content:encoded><![CDATA[<p>With a wee bit of time to spare over the Christmas period <a href="http://ocean70.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/ocean70.com');">we</a> took the opportunity to move our hosting infrastructure from an aging <a href="http://www.fasthosts.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.fasthosts.com');">Fasthosts</a> dedicated server to an <a href="http://aws.amazon.com/ec2/" onclick="javascript:pageTracker._trackPageview('/outbound/article/aws.amazon.com');">Amazon EC2</a> instance.  All of our client sites are now up and running, as is my blog, which has also been freshly updated to <a href="http://wordpress.org/" onclick="javascript:pageTracker._trackPageview('/outbound/article/wordpress.org');">WordPress 2.7</a>.  Anyone who&#8217;s been here before may have noticed how much faster the site is on EC2 and the same can be said for all of the <a href="http://beaumontpps.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/beaumontpps.com');">other</a> <a href="http://www.capito.co.uk" >sites</a> <a href="http://lpmonline.co.uk" >running</a> on it.</p>
<p>I&#8217;ll write more soon about our setup.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesconstable.co.uk/jamesconstablecouk/wordpress-on-amazon-ec2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
