Live data from Hacker News

Ask HN: Cheapest/easiest way to host a static site?

news.ycombinator.com

61–70 of 507 posts

Re: Ask HN: Cheapest/easiest way to host a static site?

#62

GitHub 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.

I discovered Netlify through Netlify CMS. I had a pretty bad opinion about Netlify CMS, so I was pretty sure Netlify was going to be at least as bad.

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?

#63
post #55

I 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.

> 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?

#64
post #55

I 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.

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?

#65

Check 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 :(

OVH offers 10MB hosting when you get a domain with them. With FTP access.

Re: Ask HN: Cheapest/easiest way to host a static site?

#67

Earlier 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?

The big gain with putting Cloudfront in front of it is you can have HTTPS.

Re: Ask HN: Cheapest/easiest way to host a static site?

#69
post #55

I 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.

Pfffffft. It’s probably a personal site with 10 visitors a week. Let’s step back a little here.
Post reply on HN