Live data from Hacker News

Scaling Your Static Site to a Global Market for a Fraction of the Cost on AWS

medium.com

31–40 of 64 posts

Re: Scaling Your Static Site to a Global Market for a Fraction of the Cost on AWS

#31

I'm surprised no one is mentioning Netlify in the comments.

Netlify is one of my new favorite apps. It's does so many simple things really well and the roadmap of features is pretty dope. Best static site toolchain service I've seen.

Re: Scaling Your Static Site to a Global Market for a Fraction of the Cost on AWS

#34

I'm surprised no one is mentioning Netlify in the comments.

Big fan of Netlify and use it for several sites. They have had some issues with DDoS attacks lately (and I've seen outages), but the blips seem to be under control.

The other one to consider is Google Firebase Static Hosting. Really excellent performance.

Re: Scaling Your Static Site to a Global Market for a Fraction of the Cost on AWS

#37
post #24

I have set up some sites the same way, the only ugly part for me was that I wanted to use the features of S3 web hosting interface, but restrict all traffic to come through CloudFront. This blog post (not mine) describes the problem and the approach: https://abridge2devnull.com/posts/2018/01/restricting-access...

Just wondering, what's the motivation to restrict access? Is it to keep costs down in case someone decides to run up your bill with a flurry of requests?

Just so the CloudFront logs and monitoring are complete. It won't affect the hosting cost as far as I know, I just use billing alerts on the overall account to keep track of that.

Re: Scaling Your Static Site to a Global Market for a Fraction of the Cost on AWS

#38

I have set up some sites the same way, the only ugly part for me was that I wanted to use the features of S3 web hosting interface, but restrict all traffic to come through CloudFront. This blog post (not mine) describes the problem and the approach: https://abridge2devnull.com/posts/2018/01/restricting-access...

Have you thought about using Cloudflare Workers instead? It's pretty easy to host from a bucket: https://developers.cloudflare.com/workers/recipes/static-sit...

I wanted to stay fully AWS, it was for personal projects so it is more about convenience so I didn't even consider other CDNs.

Re: Scaling Your Static Site to a Global Market for a Fraction of the Cost on AWS

#39
post #32

Earlier quoted context omitted.

What is Netlify?

https://www.netlify.com/

When I go to https://www.netlify.com/pricing in Firefox I get this error:

Corrupted Content Error The site at https://www.netlify.com/pricing has experienced a network protocol violation that cannot be repaired.

Never seen this error before. Seems okay in Chrome and IE, so not sure what's going on in Firefox.

Post reply on HN