News for hackers. Stuff that matters.
Re:A startup’s Firebase bill suddenly increased from $25 to ... by yunolisten on Wednesday May 17, 2017 @07:08AM (#14357303)
Shame on them for not giving notice and a proper explanation of the change. They were vastly under reporting the cost of providing the service. Consider that they are a business.

Shame on you for not using resumable TLS sessions/Keep alive. You're hammering their infrastructure. The change in how they meter usage is seeing you having to compensate them for the resource they provide you.

Re:A startup’s Firebase bill suddenly increased from $25 to ... by awjr on Wednesday May 17, 2017 @07:22AM (#14357371)
Be very careful here. The developer may not have used TLS BUT any failed authorisation attempts are also counted in the bandwidth.

So a bot net could absolutely wreck your credit card by just repeatedly trying to access your API with invalid credentials.

Re:A startup’s Firebase bill suddenly increased from $25 to ... by yunolisten on Wednesday May 17, 2017 @07:32AM (#14357429)
> So a bot net could absolutely wreck your credit card by just repeatedly trying to access your API with invalid credentials.

You could argue that for pretty much anything being hosted, anywhere.

Re:A startup’s Firebase bill suddenly increased from $25 to ... by stemuk on Wednesday May 17, 2017 @07:50AM (#14357511)
No, because most self-hosted services are 10-20x cheaper than comparable SaaS offerings. In the realtime space Firebase is particularly known for being really expensive for the scalable plans (blaze plan).
Re:A startup’s Firebase bill suddenly increased from $25 to ... by yunolisten on Wednesday May 17, 2017 @07:54AM (#14357530)
> No, because most self-hosted services are 10-20x cheaper than comparable SaaS offerings.

This has nothing to do with the fact that it could be hit by a botnet, as per the exact point I commented on, could 'wreck your card', it's simply a question of scale.

Re:A startup’s Firebase bill suddenly increased from $25 to ... by kuschku on Wednesday May 17, 2017 @05:10PM (#14362812)
No. Most self-hosted services have no bandwidth costs, at all.

Or they have bandwidth costs around a dollar per terabyte. Which, even when maxing your connections, would always be below your actual server costs.

Re:A startup’s Firebase bill suddenly increased from $25 to ... by yunolisten on Thursday May 18, 2017 @05:16AM (#14365847)
If you read the fine print of the ones with "no bandwidth costs" you'll find that service becomes throttled after a certain level of usage. These are businesses, they have to make money to operate, they're not in this for charity
Re:A startup’s Firebase bill suddenly increased from $25 to ... by kuschku on Thursday May 18, 2017 @05:20AM (#14365857)
Dude, I’ve used 180 TB of traffic in one month on a 16$/mo server, and still, no throttling.

I’ve read the fine print, and called them.

Online, Scaleway, OVH, do not ever throttle you.

Hetzner requires you to buy traffic, but there it costs 1$ per 1TB of traffic, which is 1000x cheaper than Firebase.

Re:A startup’s Firebase bill suddenly increased from $25 to ... by yunolisten on Thursday May 18, 2017 @06:25AM (#14366088)
> Dude, I’ve used 180 TB of traffic in one month on a 16$/mo server, and still, no throttling.

But legitimately using lots of bandwidth isn't the same as a DoS attack. Try and remember that bandwidth isn't the only resource being used.

> Scaleway

In my experience they throttle your CPU usage after a while.

> Hetzner requires you to buy traffic, but there it costs 1$ per 1TB of traffic, which is 1000x cheaper than Firebase.

At no point did I suggest using Firebase was a good idea. I said it's always cheaper to run your own services in the long run, and that they'd have found out their own problems (see my first reply) sooner.

Re:A startup’s Firebase bill suddenly increased from $25 to ... by kuschku on Thursday May 18, 2017 @10:07AM (#14367295)
But my point is that you won't even ever have an issue with overusing traffic or CPU during a DoS, and the issue will be purely that your bandwidth will be saturated.

Vs. AWS, Firebase, etc where your limit will be your bank account instead.

Re:A startup’s Firebase bill suddenly increased from $25 to ... by Mithaldu on Wednesday May 17, 2017 @07:13AM (#14357329)
Absolutely no shame on the author for something that can be easily overlooked, wasn't documented and not reported by any tool.
Re:A startup’s Firebase bill suddenly increased from $25 to ... by yunolisten on Wednesday May 17, 2017 @07:32AM (#14357425)
Agreed in part, however TLS Tokens and Keep alive aren't specific to this vendor... it's something that the author should be doing anyway. If they were to self host rather than contract out the underlying service upon which they depend they may have figured this out sooner.