sst.dev icon indicating copy to clipboard operation
sst.dev copied to clipboard

Alarm charges from AWS

Open asimdis0286 opened this issue 7 years ago • 9 comments

Hi @jayair,

I just got billed ~$3 by AWS and I had no clue. When I checked on CloudWatch as to what was triggering it I realized it was coming from AWS Cloudwatch trying to monitor the read and write capacity usage and alarming me for freakin under-utilization. I followed the exact instructions to setup the tables in this tutorial so I am guessing everyone is going to see them unless they already turned those alarms off manually. Please advise.

asimdis0286 avatar Apr 04 '18 00:04 asimdis0286

@asimdis0286 That's weird. Can I see a screenshot of the alarms and the under-unitilization part?

jayair avatar Apr 04 '18 19:04 jayair

@asimdis0286 Some more context on this - https://aws.amazon.com/cloudwatch/pricing/. You should get 10 free alarms.

jayair avatar Apr 04 '18 19:04 jayair

cloudwatch_log

Checkout the attached png. And, yes I know about the 10 alarms but that is something we should make everyone aware off. Add a couple more tables with the same settings and boom you get a bill. I am working with aws support to get it resolved. They do admit that dynamoDB is the cause for it but they are not sure yet why is it being triggered by default. I met an aws expert at the summit today and he already knew about this issue and said that more complaints might result in them de-featuring this or atleast letting the users know about it in advance. I am surprised none of you guys saw anything like that before?

SumayaG avatar Apr 05 '18 01:04 SumayaG

thanks @sumayaG....glad someone else is seeing it too.....

asimdis0286 avatar Apr 05 '18 04:04 asimdis0286

@SumayaG @asimdis0286 Thanks for the screenshot. So how many tables to you guys have?

jayair avatar Apr 05 '18 19:04 jayair

@jayair I have 6 tables

SumayaG avatar Apr 05 '18 23:04 SumayaG

@SumayaG I see. We don't really talk about the cost attached to building the demo app. Aside from this chapter - https://serverless-stack.com/chapters/why-create-serverless-apps.html.

And while, we don't add as many tables, I think we can still add a note about the possible charges.

jayair avatar Apr 06 '18 18:04 jayair

thanks @jayair. I just wanted the users of this amazing tutorial to know what they might possibly run into. Maybe you can add a section or a note to tell people to keep an eye on their cloud watch alarms or turn all of them off because this is not something they trigger intentionally while creating the tables and would not expect to be charged while using the free tier unless they have violated some usage rules.

SumayaG avatar Apr 06 '18 20:04 SumayaG

@SumayaG Makes sense. Thanks for the feedback!

jayair avatar Apr 06 '18 21:04 jayair