Static Hosting with Amazon S3 and Cloudfront
byjokese.com
Static Hosting with Amazon S3 and Cloudfront
1–6 of 6 posts
Re: Static Hosting with Amazon S3 and Cloudfront
#2I’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.
Re: Static Hosting with Amazon S3 and Cloudfront
#3I’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
#4Be sure to check out Stout as well, we use it to deploy our static apps and it works and does all the config for you: http://stout.is
Re: Static Hosting with Amazon S3 and Cloudfront
#5I also use S3, add also a bucket named www.example.com that redirects to example.com bucket.
Re: Static Hosting with Amazon S3 and Cloudfront
#6I’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.