I manage an actually not very big website, but Lambda is used extensively, invoked many times per site visit, resulting in hundreds of thousands of calls per month.
I noticed a spike in CloudTrail costs. Digging further I found that the biggest offender is calls to CreateLogStream
made by the Lambda infrastructure, i.e. it is AWS's code doing this, not mine. My CloudTrail costs due to CreateLogStream are 100x the Lambda costs (Lambda's Free Tier distorts this ratio somewhat).
Short of completely deactivating CloudTrail
, is there any way to stop incurring these charges?