Which solution will provide a granular view of the DynamoDB cost for each tenant with the LEAST operational effort?

1 Comment

  1. Dennis
    Author

    In my experience, the answer is:
    Configure the Lambda functions to log the tenant ID and the number of RCUs and WCUs consumed from DynamoDB for each transaction to Amazon CloudWatch Logs. Deploy another Lambda function to calculate the tenant costs by using the logged capacity units and the overall DynamoDB cost from the AWS Cost Explorer API. Create an Amazon EventBridge rule to invoke the calculation Lambda function on a schedule.

Leave a Reply

Your email address will not be published. Required fields are marked *

six − one =