My static photo album hosted on S3

Hooray!

I just created my static photo album photo.hanswang.info

It is using Amazon Web Service S3, serving all content as static page.

Since its whole purpose is an photo album for family, S3 server is perfect for serving this content as CDN.

See the official reference from AWS S3 develop Guide.

Here is how I did it.

  1. Create a s3 bucket named “photo.hanswang.info”, and make it public. By setting the policy, and endpoint url. Detail see AWS S3 doc ref
  2. Change DNS record for photo.hanswang.info to be CNAME to bucket public url
  3. Build the index.html inside the bucket root dir, and all other associated resources, such as sprited icons, aggregated css, and most importantly the relative urls for photos
  4. Deploy and integrate the index.html page with jQuery Masonry. Done and Enjoy!