Live data from Hacker News

Static Hosting with Amazon S3 and Cloudfront

byjokese.com

1–6 of 6 posts

Re: Static Hosting with Amazon S3 and Cloudfront

#3

I’m using Hugo [0], and this is how I host my site. I have a small bash script that will generate the static files, push to S3, and issue a CloudFront invalidation. Also, my bill is ~0.60 USD/month. [0] https://gohugo.io

I have done the exact same thing with a Makefile :)

https://blog.martinlee.org/posts/how-its-made-pt2-or-hugo-in...

Re: Static Hosting with Amazon S3 and Cloudfront

#6

I’m using Hugo [0], and this is how I host my site. I have a small bash script that will generate the static files, push to S3, and issue a CloudFront invalidation. Also, my bill is ~0.60 USD/month. [0] https://gohugo.io

Invalidations are inefficient, and theoretically more expensive. Better to use version prefixes.