Using AWS budgets to stop a services

There is no built-in way to terminate services based on budgets or billing alarms.

You can get notified automatically, but it is then up to you to determine how to handle it.

Would you really want AWS automatically terminating your production infrastructure because you went $1 over your estimated monthly spending?

Edit: There is now a way to monitor and alert on free tier usage, and when your predicted usage will exceed the free tier. See here for details. You could probably come up with a way to terminate infrastructure based on an alert using SNS & lambda.

Edit 2: In Oct. 2020, AWS released Budget Actions – the ability to trigger an action when a budget thresholds are reached. This should give you the ability to automate a response – you can shut down servers, change IAM permissions to prevent additional infrastructure from being created, etc.

Related Posts

Comments

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

21,935FansLike
2,507FollowersFollow
0SubscribersSubscribe

Recent Stories

Episode 08: Budgets, Incentives and Finances

May 27, 2020 We talk about individual store budgets, creating incentives and different levels of finances throughout the company in the perspective of corporate, regional...

Dan Fumano: Services 'downloaded,' city budgets rise, and candidates debate – Vancouver Sun

Breadcrumb Trail Links Politics Opinion News Local News Columnists Analysis: Challenge...

Dan Fumano: Services 'downloaded,' city budgets rise, and candidates debate

Breadcrumb Trail Links Politics Opinion News Local News Columnists Analysis: Challenge...

How Activision Blizzard could help Microsoft gain gaming credibility and bigger marketing budgets | Digital – Campaign Asia

After several acquisitions and attempts to infiltrate the gaming industry and creator economy, Microsoft has finally done it. The tech giant announced Tuesday it...