by WrtCdEvrydy · 9y ago · 0 comments
- Generate static files using Pelican
- Dump the files to S3
- Set up Route53 to point a domain at the bucket
- Set up CloudFront (Amazon's CDN) to sit in front of the S3 bucket, since I found pure S3 to be too slow
Works incredibly well.
I put my photo/video blog on S3 reasoning that it'll handle spikes better. At one point it reached the front page of HN and cost me $450. Afterward I looked at the logs and found that my single $20 linode would have handled it fine...
http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHostin...
http://docs.aws.amazon.com/AmazonS3/latest/user-guide/static...