Live data from Hacker News

Netlify just sent me a $104k bill for a simple static site

old.reddit.com

141–150 of 836 posts

Re: Netlify just sent me a $104k bill for a simple static site

#141
post #38

Earlier quoted context omitted.

Eh, I wouldn’t say that’s necessarily the case. AWS support, for example, tends to be really good about waiving charges for things that are clearly your mistake, like an unused instance that you forgot to turn off for a couple months. That’s not because hosting instances doesn’t actually cost Amazon anything! It’s because they want to keep you as a customer even if it loses them a bit of money right now. In the Netli…

That’s not because hosting instances doesn’t actually cost Amazon anything Except it doesn't cost them anything. The marginal cost of keeping your single instance running is $0 (unless they were 100% out of capacity and they could have sold that instance to someone else either at full price or spot price)

This exactly.

Re: Netlify just sent me a $104k bill for a simple static site

#142

Earlier 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

How sensitive are you if you think a rpi is noisy?

Re: Netlify just sent me a $104k bill for a simple static site

#143

So if I want to migrate off of netlify to something better, where?

For static sites my choice is usually CloudFlare in front of a S3 bucket. It costs pennies. With cloudflare R2 it might be even easier.

Why not just use Cloudflare Pages?

Re: Netlify just sent me a $104k bill for a simple static site

#144

Earlier quoted context omitted.

Like in the past, when you went over your limit your page went offline. The good old Slashdot effect

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 a hobby project so I'd like to keep costs as low as possible.)

Re: Netlify just sent me a $104k bill for a simple static site

#145
post #19

Earlier quoted context omitted.

Github works well for me.

If it’s really pure static, github is great because it’s impossible for you to be billed. If you want some functions, Cloudflare free plan is nice because you can configure it to stop operating when the usage limit is reached, or pay $5 a month for more than you’ll likely ever need for a hobby project. Also bandwidth is free.

Do you need to configure Cloudflare to stop operating on limit?

I was thinking they never charge for anything unless you explicitly allowed it.

Re: Netlify just sent me a $104k bill for a simple static site

#147
Here's my workaround for Vercel:

- Enable spend management (https://vercel.com/team_name/~/settings/billing).

- Set webhook to pause the project: https://vercel.com/docs/rest-api/endpoints/projects#pause-a-...

When the amount hits the targeted value, Vercel will call the webhook that pauses the project.

Re: Netlify just sent me a $104k bill for a simple static site

#148
post #74

This is my worst nightmare as a bootstrapped founder. And that there's no way to put a limit on spend is ridiculous. Someone that doesn't want me to do well can simply ddos me into bankruptcy out of nowhere. Just went through Vercel's docs: --- "Vercel helps to mitigate against L3 and L4 DDoS attacks at the platform level. Usage will be incurred for requests that are successfully served prior to us automatically miti…

How do these hosting providers sleep?

Re: Netlify just sent me a $104k bill for a simple static site

#149
Does this issue only occur if you have billing info on file?

I'm using the free tier and have no billing info set. According to this https://github.com/netlify/ask-netlify/issues/6#issuecomment... > if you have an event that puts you over the free-tier limits, Netlify will ask you to update your billing information and add a CC

Although worryingly > We just had this happen and our site didn't stop working.

Is there any way to ensure if you hit the limit sites just stop working and you don't get billed?

Re: Netlify just sent me a $104k bill for a simple static site

#150
After doing some math it doesn't feel like a ddos:

- $104k at ($55 / 100 GB) = 189 TB of traffic

- It means the popular ~3.5 MB media file was downloaded ~54M times

- Which sound like a lot, but if you get popular in a country with 1.4B people, it's not (~3% accessed).

What if it happens at AWS Cloudfront? At $.1/GB it sums up to ~$18k. In the light of these, Netlify's offer of ~$5k seems generous.

Post reply on HN