News for hackers. Stuff that matters.
Re:Netlify just sent me a $104K bill for a simple static site by toomuchtodo on Tuesday February 27, 2024 @01:50AM (#39520894)
Cloudflare. You will get a call if on a free or pro ($25/month) plan [1] if your bandwidth usage is so high it would warrant increasing your plan. Worst case, they turn you off. Preferred over denial of money attack based on your use case. Set and forget after pointing at your origin (time is money).

You'll get a call on any of their plans if your bandwidth usage exceeds certain thresholds, I am assuming your median usage is relatively tame.

Disclosure: Cloudflare enterprise customer, no other affiliation. I don't get anything for saying nice things.

[1] https://www.cloudflare.com/plans/

Re:Netlify just sent me a $104K bill for a simple static site by AtNightWeCode on Tuesday February 27, 2024 @02:58AM (#39521355)
You typically can't replace Netlify with Cloudflare. You need something like Github actions with some storage, S3 or something and then one can put Cloudflare in front of it all for caching, DDOS protection and so on.
Re:Netlify just sent me a $104K bill for a simple static site by yellow_lead on Tuesday February 27, 2024 @03:03AM (#39521389)
I believe you can replace most cases (static sites) with Cloudflare Workers [1].

[1] https://workers.cloudflare.com/

Re:Netlify just sent me a $104K bill for a simple static site by AtNightWeCode on Tuesday February 27, 2024 @03:26AM (#39521531)
Workers run before the cache so I would avoid this for static sites. One can use workers for dynamic routes on a static site though.
Re:Netlify just sent me a $104K bill for a simple static site by OJFord on Tuesday February 27, 2024 @12:25PM (#39526722)
Sounds like you're thinking of Cloudflare still as just the DNS/DDoS protection it started out with. I'm not that familiar with Netlify, but just going on your description:

- Cloudflare Pages: https://pages.cloudflare.com/

- Cloudflare R2: https://developers.cloudflare.com/r2/