3 ms·
"Every other cloud does this! They all have non-production subscription types with hard spending limits." This is simply not true, to the best of my knowledge.
by kaishiro 5y ago
"Every other cloud does this! They all have non-production subscription types with hard spending limits."
This is simply not true, to the best of my knowledge. GCP has budget limits, which can send alerts, but outside of manually catching a pubsub and shutting down billing on your own, there are no configurable hard billing limits.
I'm unsure what to make of the rest of your rant.
- krainboltgreene 5y agoThe budget limits are delayed hard billing limits. Everything I've seen/heard suggests while you can go over, they absolutely don't charge the overage.
- kaishiro 5y agoThis is simply false. We go over our budget "limits" literally every month. We do this because they are simply alerts, nothing more. We have separate alerts set up for 25, 50, 75, and 100% of our "limit" so that we can track variable usage and catch spikes early. We, of course, pay our full bill every month - over the "limit".
- Guidii 5y ago^this. For business-critical operations you almost _never_ want to have your service shut down, especially as a surprising result of a big spike in usage.
- jonas21 5y agoYou can write a cloud function to automatically run when you go over the budget and shut down billing. They provide code for doing so in the docs: https://cloud.google.com/billing/docs/how-to/notify#cap_disable_billing_to_stop_usage https://cloud.google.com/billing/docs/how-to/notify#cap_disa... I'm not sure if that's what you meant by "manually catching a pubsub" -- you have to manually set up the script once, but it will run automatically when triggered.
- kaishiro 5y agoYes, well aware. I'm not sure if you actually looked at the code on that page but you have to catch the pub sub in the deployed cloud function in order to shut down billing on the project/account. This is precisely what I was referring to.
- unilynx 5y agoIf we're talking about protecting users still trying to learn the cloud, what if they mess up the setup of this cloud function?
- dividedbyzero 5y agoIt's worse – for us, budget alerts often arrive several hours after the fact, when you already might have burned lots of money.
- jsmith99 5y agoAWS has that too - you can trigger actions on budget alerts such as stopping activity https://aws.amazon.com/blogs/aws-cost-management/get-started-with-aws-budgets-actions/ https://aws.amazon.com/blogs/aws-cost-management/get-started...
- watt 5y agoWhat we need, a function that is AWS maintained and supported, that basically is AWS responsibility - that if it did not work - failed to shut down service that was consuming all the budget, they eat the cost.