Earlier quoted context omitted.
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.
Ask HN: Cheapest/easiest way to host a static site?
71–80 of 507 posts
Re: Ask HN: Cheapest/easiest way to host a static site?
#72Earlier 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?
Putting it being a CDN protects you (at least a little bit) from the possibility of a huge bandwidth bill at the end of the month if someone realizes they can attack your wallet directly by trying to ddos your site.
Re: Ask HN: Cheapest/easiest way to host a static site?
#73Re: Ask HN: Cheapest/easiest way to host a static site?
#74I 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 have a system doing 10s-100's of millions of reads a day from s3 with very consistent and fast read times.
Re: Ask HN: Cheapest/easiest way to host a static site?
#75Earlier 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?
It adds up to 600ms of latency for each roundtrip. A modern website without link rel=preload is several roundtrips– download HTML page, then do JS requests and CSS, so that's ~1.2s of additional latency.
Because he succumbed to AWS' marketing. Surge, mentioned downthread, lets you deploy a folder for free on a worldwide CDN with virtually no setup.
Re: Ask HN: Cheapest/easiest way to host a static site?
#76Earlier quoted context omitted.
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?
Performance maybe a little bit, but IIRC you, as the owner of the bucket, pay for bandwidth out. Putting it being a CDN protects you (at least a little bit) from the possibility of a huge bandwidth bill at the end of the month if someone realizes they can attack your wallet directly by trying to ddos your site.
Re: Ask HN: Cheapest/easiest way to host a static site?
#77Regarding some cost free solutions mentioned here: how does the saying 'if it is free, then you are the product' hold up?
Re: Ask HN: Cheapest/easiest way to host a static site?
#78> jumping through AWS hoops I found S3 static hosting to be fairly straightforward. Once set up, a single `aws s3 sync . s3://my-bucket/path` updates the content.
Re: Ask HN: Cheapest/easiest way to host a static site?
#79Re: Ask HN: Cheapest/easiest way to host a static site?
#80Earlier 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.
Pfffffft. It’s probably a personal site with 10 visitors a week. Let’s step back a little here.