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?

2 Answers
2
profile picture
EXPERT
answered a month ago
profile picture
EXPERT
Artem
reviewed a month ago
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
EXPERT
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions