Earlier quoted context omitted.
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…
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.
Netlify just sent me a $104k bill for a simple static site
181–190 of 836 posts
Re: Netlify just sent me a $104k bill for a simple static site
#182More reasons why I avoid clouds with outrageous bandwidth fees, and prefer Hetzner's low cost fixed pricing with Cloudflare R2's 0 egress fees. Even if the DDoS wasn't caught by Cloudflare, the total cost for 192TB bandwidth on Hetzner would be €172. Although even after 10 years on Hetzner I've never paid for any bandwidth, always well within their generous 20TB free bandwidth.
Re: Netlify just sent me a $104k bill for a simple static site
#183Re: Netlify just sent me a $104k bill for a simple static site
#184Re: Netlify just sent me a $104k bill for a simple static site
#185Earlier quoted context omitted.
Yeah Like wtf is wrong with that? Are people just to lazy to check what the conditions are when exceeding traffic? I'd never ever sign up for anything that just keeps charging...!?
But then where would you run a small hobby project that you'd like to run in the cloud? I have some small stuff I'm running on Google Cloud Platform, and honestly I'm scared of the same thing happening to me because there's no easy way to set a limit. But AWS and Azure have the same policy. (In my case, I'm looking for somewhere I can easily deploy a set of ~5 Docker containers, they don't need to scale up, and it's…
You should look into going old school and just renting a VPS with any VPS provider that's not AWS/GCP/Azure. I know the big three are super popular, as are all of these "serverless" cloud companies, but very few of them offer the most important service for a small project: shutting down before you owe them a fortune.
Depending on the guarantees you want, Oracle has a free tier with no time limit. It provides 4 ARM cores with something crazy like up to 6GB of RAM for free. You may have a few days if downtime during maintenance, but once you've allocated the resources, you'll eventually get your services back from what I can tell. Best part is, if you only use their free tier, you need to manually upgrade your account to even be able to buy anything extra. Just make sure you have backups in case Oracle pulls an Oracle.
Or you could get a VPS from a budget hoster like Contabo, which isn't free but will fit most hobby projects I know just fine. They may shut you down if they're suffering from a DDoS because of you, but you won't get a $100k bill.
Re: Netlify just sent me a $104k bill for a simple static site
#186The most bizarre thing is that this is a known issue that folks have asked them for ways to mitigate, to no avail. The reddit thread even links to an extremely weird dialogue where Netlify's response boils down to, "if you're hosting a small site that gets DDoS'd, don't." https://answers.netlify.com/t/limit-bandwidth-to-avoid-high-...
I'm hesitant to use "fancy" cloud service/hosting providers for reasons like this. I don't understand why they won't just raise a 503 if the traffic exceeds the spend limit, or at the very least provide that as an option.
(But I also would like to see this feature)
Re: Netlify just sent me a $104k bill for a simple static site
#187Re: Netlify just sent me a $104k bill for a simple static site
#188Is it just that no one would pay for it? I'm well aware of how terrible a customer developers make, but has to be nearly a non-issue with Hetzner in the USA now, with how much free traffic they give you (or any other provider, DO, etc). There's even Cloudflare R2 nowadays.
Your blog probably doesn't actually need sub 100ms serve times.
Re: Netlify just sent me a $104k bill for a simple static site
#189Earlier quoted context omitted.
Doesn't make me feel great about Vercel either (which I was looking at)
Why? If you use Vercel in the Free Tier you cannot automatically go to the Pro tier. You need to manually upgrade. Unless you need more than the Free-Tier Vercel should be fine.
"Should be fine" is exactly what is not the case here. Better check your Vercel terms again.
Re: Netlify just sent me a $104k bill for a simple static site
#190Earlier quoted context omitted.
For less than 1% of OP's monthly bill, you can build or obtain a more-than-enough server, drop your static files on it, and serve through nginx. And you get to keep it forever; there's no monthly subscription fee! Seriously, maybe I'm just old, but I look at the pricing of these hip and modern SaaS products for dead simple software and I cannot believe my eyes. The "old fashioned way" works just fine (and has always…
But you need a static IP, stable internet, UPS, and permission from your wife to have a 24/7 powered noisy box in a room