Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

FWIW, I did that once for an unrelated project and they ate the 1200 bill for a running EC2.

I dunno if they'd eat that cost again, and I wouldn't try it on purpose.

But keep in mind that they have an incentive to do this: it's the cost of acquiring users without scaring them about a possibly humongous bill.

I now have better billing alarms set.



They should just add an "shutdown at cost x option" for private users at least..


https://aws.amazon.com/getting-started/tutorials/control-you...

Under section 4, anyone can set up an aws cost budget


Yes, you can set up a budget but it's only used for alerting. The services will happily keep running and building up to that 1k bill if you miss the alerts or don't react to them.


Those alerts can invoke a Lambda that shuts the service down, which is a ridiculously baroque solution but it's what you get.


Wow, they really made it complex, didn't they? On one hand they advertise how anyone can spin up a VM and connect to it but you still need to do some serverless black magic to keep your budget in check. Anyway, thanks for the heads up. I'll definitely try that out.


The aim of the game is for you to be depending on even more AWS services to help you use the ones you already have


> ridiculously baroque solution

It seems to follow their practice of building the “API first” solution. By the way, a lambda/programmatic solution allows you to disable lower priority resources and retain higher priority resources. It’s a lot of effort, but it’s incredibly flexible.


Additionally billing alarms have a max precision of a day, so if you manage to really screw up you can rack up a huge bill before the alarm goes off.


You can set up billing alarms with thresholds which send you sms/email alerts


Yeah, that's not a terrible idea. But I work with tools that could, like, cut my thumbs off... I feel like this is still pretty nerfed up by comparison.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: