Monthly Archives: February 2012

Hosting a Static Website on Amazon and Azure: Part 2-Hosting on Amazon S3

In Part 1 of this three-part series, I explained that it is simple and affordable to host an entire static website out of cloud storage services such as Amazon S3 and Windows Azure Blob Storage. I also covered what I meant by a static website (no PHP scripting), and I offered a few pointers in PHP-freeing a website, especially in the areas of mobile site redirection, contact forms, and moving a self-hosted WordPress Blog to

In this entry, I would now like to show how to get one’s feet wet with Amazon S3 and how to actually port a now-optimized website over to Amazon S3 and host the entire website right out of Amazon S3.

Hosting a Static Website on Amazon and Azure: Part 1-Site Preparations

Until recently, our company website,, was hosted with a major hosting provider’s shared hosting plan. Pricing wasn’t too bad, and our website performance was running fine, but we wondered if we could simply get a better deal with our web hosting elsewhere, especially due to the fact that we have a relatively small website without too many hits a month, and also since we consult with a few nonprofit clients who also have extremely tiny websites with few hits a month, we wanted to see if we could save them some money as well.

Another company I work for informed me of their decision to move all of their infrastructure to Amazon Web Services, and their CTO informed me that since my company website was a simple website, I could pull it off hosting it in Amazon’s Simple Storage Service, Amazon S3, dirt cheap. After much research, I found out that indeed, it would be quite easy to pull off hosting my company website itself in Amazon S3, and the pricing isn’t too bad either. Amazon S3 customers get a “free tier” for the first year as long as they don’t go over that tier, and after that, pricing would be about 14-15 cents per GB each month, possibly a few pennies more if the website got a high amount of hits that month. In addition, performance and reliability should be better running in a major datacenter service like Amazon S3 than it would be with a traditional hosting provider due to the fact that Amazon S3 has a much larger infrastructure to handle all the “big guys” for their storage needs, so serving my company’s little site up on their massive datacenters should be a piece of cake.