Comment by INTPenis

1 year ago

Not really. AWS has budget alerts right? And I can read those budget alerts through their API.

So it would be trivial for me to poll their budget API for an alert, and immediatly trigger a shutdown of my Cloudfront service. Why can't they do that for me?

"AWS Budgets information is updated up to three times a day. Updates typically occur 8–12 hours after the previous update" [1]

Something based on this could be definitely better than nothing, but might also give false impression of safety.

[1] https://docs.aws.amazon.com/cost-management/latest/userguide...

  • It's something. I started looking into the budget alert docs and it does use SNS so it should be easy to have something polling that queue and respond in any way necessary.

    I'm imagining an alert to the on-call team, and a soft shutdown until the on-call team can figure out the next step.

    If it can save a few thousand dollars, it's worth it. Each business must make their own estimate of course.

> AWS has budget alerts right?

Nope. Not in real time, they don't.

You can significantly overspend before the warning comes in.