Using S3 to host your website

In the process (nar shall be completed) of plumping wookets.com (and link wookets.com) to amazon’s s3 webhosting bucket featurette.

Standard references apply. This means go look at the reference link for the step-by-step. Time to go watch Judge Dredd. Holy stone sly, are they making a remake? http://www.imdb.com/title/tt1343727/

Update: handling www.

www.wookets.com (or your own www.website.com) can be accommodated by making another bucket (ie www.wookets.com) and then using a simple html redirect.

ala - <meta HTTP-EQUIV=“REFRESH” content=“0; url=http://wookets.com"/>

Update: auto ‘make public’

You can use the following bucket policy to make ALL files in the public ALWAYS public readable.


{

Statement:[{
Sid:AllowPublicRead,
Effect:Allow,
Principal: {
AWS:

},
Action:[s3:GetObject],
Resource:[arn:aws:s3:::bucket/*
]
}
]
}


http://ariejan.net/2010/12/24/public-readable-amazon-s3-bucket-policy


References:

Verner Wogels - http://www.allthingsdistributed.com/2011/02/weblog_in_amazon_s3.html

http://www.labnol.org/internet/web-hosting-with-amazon-s3/18742/

http://tftb.net/2011/02/26/using-amazon-s3-to-host-files/

http://ariejan.net/2010/12/24/public-readable-amazon-s3-bucket-policy

Published by and tagged Code using 121 words.