Other Articles

DynamoDB Table – Monitor Table Write Capacity

This check ensures that DynamoDB table write capacity is actively monitored. Monitoring write capacity helps prevent throttling, performance degradation, and application failures due to exceeded limits.

Check Details

  • Resource: DynamoDB Table
  • Check: Monitor DynamoDB table write capacity
  • Risk: Write throttling and degraded application performance

Remediation via AWS Console

  1. Log in to the AWS Management Console and open the Amazon DynamoDB console. Amazon DynamoDB console
  2. In the left navigation pane, click Tables. Select the affected DynamoDB table.
  3. Open the Monitor tab.
  4. Ensure the following metric is visible and updating:
    • ConsumedWriteCapacityUnits
    DynamoDB write capacity metrics

Monitoring via AWS CLI / CloudWatch

  1. Log in to the AWS Management Console and click the CloudShell icon (>_) in the top-right corner. AWS CloudShell
  2. Use the following command to retrieve write capacity metrics from CloudWatch:
    
    
    aws cloudwatch get-metric-statistics \
     --namespace AWS/DynamoDB \
     --metric-name ConsumedWriteCapacityUnits \
     --dimensions Name=TableName,Value=<table-name> \
     --statistics Average \
     --period 300 \
     --start-time <start-time> \
     --end-time <end-time>
    

Replace <table-name>, <start-time>, and <end-time> with appropriate values.