- Create an S3 bucket and configure your DNS records, see Chris O'Sullivan's blog on how to do this.
- Add the high_voltage Ruby gem to your Rails app to help you make static pages. There are other similar gems out there but we chose this one as it's very simple to use. We also use the jquery-rails, sass-rails, coffee-rails and uglifier gems to compile our JS/CSS assets into a single file. This helps us further reduce our costs (less file read/write requests) and makes the site load faster.
- Write a simple rake task to push the site to S3 from your machine so you don't have to login to the AWS Management Console all the time. We use the wget and s3cmd command-line tools to help with this. The trick is to run Rails, use wget to download the static pages from your localhost, then upload them to S3 using s3cmd.
UPDATE 05 October 2012:
Amazon S3 has now added support for website redirects, meaning that if you want to redirect from an old page to a new page (e.g. from www.PlanForCloud.com/old to www.PlanForCloud.com/new), then you can enable a 301 redirect (permanent redirect - good for Search Engine Optimisation) through the AWS management console or API. Read more here: Amazon S3 - Support for Website Redirects
UPDATE 28 December 2012:
Amazon has added support for root domain sites being hosted on S3: "Visitors to your website can now easily and reliably access your site from their browser without specifying “www” in the web address (e.g. “example.com”)." More information here