How to monitor abnormal usage in DynamoDB

0

Hi I have dynamodb connected to lambda which are using API gateway trigger. So noticed a spike in Dynamodb write billing last day which I want to monitor. From billing console, I came to see the spike in DynamoDB usage. But I want to drill deep and identify the table causing the bill. How can I analyse this using CloudWatch or something?

  • Please accept the answer if it was useful for you

2 回答
2

Preferred Option

Since you see a spike in DynamoDB usage, but you aren't sure on which table I assume you are seeing the spike in AWS Cost Explorer. If that's the case you can enable resource level granularity by opting in to it. This will provide historic metrics for the previous 14 days.

Allow all accounts to access hourly and resource-level information for the past 14 days. Resource-level information is only available for your Amazon EC2 service usage. Please note that it can take up to 24 hours for your data to become available, and a cost of $0.01 per 1,000 UsageRecords-month will be incurred as a result of storing and accessing your hourly- and resource-level information. A UsageRecord is defined as one line of usage. For example, one EC2 instance running for 24 hours will generate 24 distinct UsageRecords at the hourly granularity.

Alternative Option

Enable Cloudtrail Dataplane Logs which incurs a higher cost than the other option and also does not show any history. One benefit is that it can tell you exactly where the requests came from, down to the role being used and the IP address that sent it.

profile pictureAWS
专家
已回答 2 个月前
1
profile picture
专家
已回答 2 个月前
profile picture
专家
Artem
已审核 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则