Hacker News new | ask | show | jobs
by phodge 2636 days ago
Loosely related - this is what terrifies me about deploying to cloud services like Google which have no hard limit on monthly spend - if background jobs get stuck in an infinite loop using 100% CPU while I'm away camping, my fledgling business could be bankrupt by the time I get phone signal back.
2 comments

Woah, how does Google Cloud still not support budget capping?

It has budget alerting, so the capabilities are obviously there, but it's never been added. Instead, there's just a vaguely insulting guide on writing a script to catch the alert and trigger a shutdown...

Pretty sure Google cloud does support it

Pretty sure aws still doesn't

Google App Engine has spending cutoffs. Cloud allows API call cutoffs, but for actual spend it only has alerts. Their 'controlling budget' page sends you to a guide on writing your own triggers to respond to those alerts:

https://cloud.google.com/billing/docs/how-to/budgets

You can set maximum spend limits :)