A web developing, photo taking, Muay Thai fighting man.

More on Hosting with Amazon EC2

Posted: April 17th, 2009 | Author: James | Filed under: Web Development | Tags: , , , | 1 Comment »

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 space of a couple of hours – but do very little for the rest of the time.

So I set up a small instance running on EC2, running Ubuntu 8.04 and tweaked Apache2 a little to increase the MaxClients setting.

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’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 Lighttpd?

Or maybe I give up and get back to the day job :)  Any advice appreciated.

Share/Save/Bookmark


One Comment on “More on Hosting with Amazon EC2”

  1. 1 Hosting Sites with Heavy Traffic on Amazon EC2 | The Life and Times of James R J Constable said at 6:54 pm on May 8th, 2009:

    [...] mentioned previously that I’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 [...]


Leave a Reply