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

Are there any guidelines for controlling cost when running a static website on S3+CloudFront?

Say my regular bill for this setup was $5 a month. Can I at least get a notification if I have a lot of visits and the bill goes over a threshold, say $50?

Also, is there any protection against things like DDoS that could quickly push the bill into the $100s and beyond?



aws (and all other cloud providers I've used) has a pretty elaborate cost alert system.


Alerts do nothing to stop a huge bill.


You can use a lambda function that is triggered by a cloudwatch alarm when your bill approaches an arbitrary limit.

What you do in response to such an event is entirely up to you




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: