0

On Amazon AWS, is there a sample set of settings/scripts to enforce a hard limit on cloud cost (storage, compute, networking, ...) such that once a threshold has been reached, all services are paused or killed.

The Ronin service for monitoring/alerting (https://aws.amazon.com/blogs/publicsector/announcing-research-computing-ronin-aws/) seems rather expensive, and appears not to offer this out of the box.

jochenleidner
  • 83
  • 1
  • 5
  • 1
    No, AWS will happily accept your money. You can set up all kinds of alerting and forecasting and warnings and so called budgets but nothing will stop your account from incurring further costs. – luk2302 Jul 23 '21 at 10:38
  • 2
    "Stopping services" sounds easy, but is not really possible. Just consider a database or S3 bucket with data in it. The only way to not get billed for a S3 bucket with data in it, is to delete it. So that is definitely not what 99% of users ever would want. That's why it does not make sense to build a feature like this. That said it should be possible to write a tool yourself that would do something like this. Or use a tool like [aws nuke](https://github.com/rebuy-de/aws-nuke). – Jens Jul 23 '21 at 11:17
  • In scenarios where the cloud only ever has redundant copies and is used for research experiments rather than for prodution use this does make sense; thanks for the link to AWS Nuke! – jochenleidner Jul 23 '21 at 12:57

0 Answers0