4 ms·
> It’s always frustrated me how it’s not possible to set a quota and turn off services at quota. Which services you want to turn off or alter use of as you cro
by dragonwriter 6y ago
> It’s always frustrated me how it’s not possible to set a quota and turn off services at quota.
Which services you want to turn off or alter use of as you cross various thresholds vary, so what you probably want is a billing information services that sends alerts at configurable levels that trigger programmed actions that are more complex than a simple shutdown.
It would be easy to stop all spend at a threshold, but that means your entire set of apps stops working and all retained data (which usually has an associated periodic cost) vanishes irretrievably, which might be okay for an account being used for only toy apps but is going to be a business-ending error for any serious account
There's a good reason why cloud providers don't provide a simple “nuke your account at a particular spend threshold” option, and the fact that people who haven't thought things through think that they want such an option is actually a factor in not providing it.
If people can't keep track of spend with alerts to know that they need to take some kind of controlled restriction of services, they are going to regret unexpectedly having their whole set of services and data nuked more than an unexpectedly large bill in most cases.
- jimnotgym 6y ago> but is going to be a business-ending error for any serious account That is simply not true for every use case. We were using it for various backup jobs, until a misconfigured one racked up a big bill. This particular job was a second backup. I have no problem at all with that failing! Now I am scared to let the various engineers and consultants that make up my team use it, because I can't afford the time to check personally what they are doing.
- prepend 6y agoInitially I tried to set up something as simple as when I got near the limit for free tier, it shut off to keep me at zero. Couldn’t do that with built in. And billing data isn’t real-time so I couldn’t even figure out a script a shut off. I would lime quotas for individual services like “only spend $100 for EC2 and shut everything off when I hit it.” My point is that I would rather have my stuff nuked than get a $1000 or $10k or $100k bill. Setting up notifications and triggers is sort of possible but 1) that requires a lot of work for something that should be built in, I think; and 2) notifications aren’t in real-time so by the time I get a notification that I’ve gone over my $100 threshold I might already be at $1000. I can compensate for this with scripts and third party services, but this would be so much easier if built in. Unix has had disk quotas for decades right? Imagine if sysadmins left it up to users to monitor and control their usage and just charged overages. It’s so much more work for the user than when the system does it, or at least offers it. My Linux host offers bandwidth quotas with similar cutoffs. I would never want an “unlimited “ quota where I got billed by the transfer and it was up to me to turn off. Some may want that, but not me.
- dathinab 6y ago> notifications aren’t in real-time Be aware that even with build-in threshold limit application will not be real time (due to parallelism, especially if multiple data-centers are involved). But they can be much closer to real-time.