TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Static Hosting with Amazon S3 and Cloudfront

17 pointsby By-Jokeseover 7 years ago

3 comments

wilkystyleover 7 years ago
I’m using Hugo [0], and this is how I host my site.<p>I have a small bash script that will generate the static files, push to S3, and issue a CloudFront invalidation.<p>Also, my bill is ~0.60 USD&#x2F;month.<p>[0] <a href="https:&#x2F;&#x2F;gohugo.io" rel="nofollow">https:&#x2F;&#x2F;gohugo.io</a>
评论 #15635560 未加载
评论 #15640627 未加载
zackbloomover 7 years ago
Be 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: <a href="http:&#x2F;&#x2F;stout.is" rel="nofollow">http:&#x2F;&#x2F;stout.is</a>
fiboover 7 years ago
I also use S3, add also a bucket named www.example.com that redirects to example.com bucket.