I miss the old days :(
Ask HN: Cheapest/easiest way to host a static site?
61–70 of 507 posts
Re: Ask HN: Cheapest/easiest way to host a static site?
#62GitHub Pages or Netlify for sure. With either of these options, your static site can be set up to deploy whenever there's new commits to the specified branch. Me and a friend mentor for Code Louisville, and we're able to get the beginner frontend students up and running very quickly using these options - they're free and much easier to use.
Damn, I have never been so wrong:
- the interface is so intuitive I never opened the documentation
- this is FAST (the bottleneck to see my website live is now my browser cache)
- no need to create a Github Actions pipeline to deploy, just say "hey, my repo is here"
- automatically integrated with Let's Encrypt for custom domains
- deploy previews!!!
And so much more.Re: Ask HN: Cheapest/easiest way to host a static site?
#63I have my site in an S3 bucket with the static-site flag activated. It would not win for 'easiest'. However, it's the only thing in my personal AWS account right now and my monthly bill is $0.83
An S3 bucket is intended as storage, not retrieval. Downloading from S3 means grabbing shards. You should put a proper CDN, like CloudFront or Cloudflare, in front.
I understand what you're saying, but why? I assume the site in question is pretty low volume. What's wrong with serving directly from S3?
Re: Ask HN: Cheapest/easiest way to host a static site?
#64I have my site in an S3 bucket with the static-site flag activated. It would not win for 'easiest'. However, it's the only thing in my personal AWS account right now and my monthly bill is $0.83
An S3 bucket is intended as storage, not retrieval. Downloading from S3 means grabbing shards. You should put a proper CDN, like CloudFront or Cloudflare, in front.
Re: Ask HN: Cheapest/easiest way to host a static site?
#65Check with your ISP, they often offer some 10 or sometimes 50! MB of free space to host your homepage and images under an account url, eg: http://example.com/~you . Uploading is easy, just FTP your files to their server and your done! I miss the old days :(
Re: Ask HN: Cheapest/easiest way to host a static site?
#66Re: Ask HN: Cheapest/easiest way to host a static site?
#67Earlier quoted context omitted.
An S3 bucket is intended as storage, not retrieval. Downloading from S3 means grabbing shards. You should put a proper CDN, like CloudFront or Cloudflare, in front.
Why, if his monthly bill is 83 cents, and he values his time? Does not using a CDN impact performance in a crippling way that neither me nor the poster you're replying to understands?
Re: Ask HN: Cheapest/easiest way to host a static site?
#68Re: Ask HN: Cheapest/easiest way to host a static site?
#69I have my site in an S3 bucket with the static-site flag activated. It would not win for 'easiest'. However, it's the only thing in my personal AWS account right now and my monthly bill is $0.83
An S3 bucket is intended as storage, not retrieval. Downloading from S3 means grabbing shards. You should put a proper CDN, like CloudFront or Cloudflare, in front.
Re: Ask HN: Cheapest/easiest way to host a static site?
#70I use Hugo but they support a bunch of different types.
Digital Ocean is also just super easy to use in general.