Hi All, It seems like after our team adopted SST, ...
# help
a
Hi All, It seems like after our team adopted SST, our cloudwatch bill has increased significantly. Anyways on lowering cloudwatch fees?
g
If you are using seed I would assume it's from you just loading the page that has key metrics & their issues might have a play into that. I wouldnt think SST directly would cause anything cloudwatch related.
a
We aren't using seed
g
Which specific apis of cloudwatch are costing you more?
r
Is this logging? Make sure that you have retention periods set appropriately
a
Yah I believe it's logging
f
@Abdul Taleb SST enables Lambda logs and API access logs by default, and CDK defaults log retention to 2 yrs i think.
Before u make any changes, you can check a couple of things real quick: • In ur AWS billing dashboard, select a bill, expand the CloudWatch toggle and see the CloudWatch cost break down. Is it from log storage or ingesting the log? • If from log storage, go to CloudWatch console and see which Log Group is using the most storage. If it’s from functions/apis in the SST app, set log retention as @Ross Coundon suggested • If from log ingestion, check if you are writing a lot of logs in ur functions.
Let me know what you find.