TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How can I set a hard limit in my AWS account

3 pointsby reeeeeeabout 2 years ago
I&#x27;m wondering if anyone has found a good way to set a hard limit in AWS. Most sources say that it is not possible [1], and the AWS documentation only shows you how to set alarms and budgets [2]. Is there anyone who has tips and&#x2F;or tricks on how to prevent overnight disasters that leave you in debt because some serverless function has been consuming too much time&#x2F;cpu, or spammers found a way to fill up your S3 bucket or databases?<p>There should be a way to stop all your resources when you reach a certain billing limit, no?<p>[1] https:&#x2F;&#x2F;www.infoq.com&#x2F;news&#x2F;2021&#x2F;05&#x2F;aws-billing-limits&#x2F; [2] https:&#x2F;&#x2F;aws.amazon.com&#x2F;getting-started&#x2F;hands-on&#x2F;control-your-costs-free-tier-budgets&#x2F;

1 comment

m348e912about 2 years ago
AWS doesn&#x27;t have a huge incentive to allow you to define hard limits, but with their API, there has to be a third party app or service that allows you to monitor and then turn off services if you pass a defined spend threshold.