News for hackers. Stuff that matters.
Re:Serverless Horrors by fragmede on Wednesday February 28, 2024 @08:02AM (#39537298)
You can totally build a GCP function that will tear down your site if a billing alert hits the pubsub bus, but you can also set billing caps for a bunch of the APIs.
Re:Serverless Horrors by reustle on Wednesday February 28, 2024 @08:16AM (#39537440)
Why not add it directly into the interface where you configure the site to begin with? It's a pretty reasonable ask.
Re:Serverless Horrors by fragmede on Wednesday February 28, 2024 @08:22AM (#39537519)
I don't really know although I can make up an answer but it contradicts

> None of them have an equivalent of a stop-loss.

Cynically, it's because they want to take your money. Practically, it's because a company that breaks your thing because you didn't pay, even if you asked it to, just isn't going to be a popular move.

Re:Serverless Horrors by swader999 on Wednesday February 28, 2024 @08:28AM (#39537588)
It takes real leadership to back a product feature like this. That's why.
Re:Serverless Horrors by moduspol on Wednesday February 28, 2024 @08:44AM (#39537792)
It's probably quite difficult to boil it down to something as simple as an "off" switch that'll limit costs for them, meaningfully work for all services, not be abused, not be confusing, and not result in the customers that actually make you money accidentally getting important things shut off unexpectedly under predictable circumstances.

It's probably easier to make it so they can set up alerts and have a human on their end evaluate what steps are worth taking to cut costs while maintaining important availability.

Re:Serverless Horrors by ghaff on Wednesday February 28, 2024 @08:53AM (#39537909)
From what I can tell Azure has more robust stop-loss options. But business considerations for the provider aside, there are absolutely tradeoffs between reliably limiting your spend and avoiding taking a business down because of a legitimate spike.
Re:Serverless Horrors by voidpointer on Wednesday February 28, 2024 @03:10PM (#39542876)
Absolutely but that tradeoff should be for the customer to make.
Re:Serverless Horrors by remram on Wednesday February 28, 2024 @07:35PM (#39545296)
What you're saying is that I can build a cost control function, not that GCP has one.
Re:Serverless Horrors by fragmede on Thursday February 29, 2024 @02:11AM (#39547062)
Yes. GP's claim is there is no stop procedure. just because it's not a simple toggle switch doesn't mean it's not there.