Ensure Auto-scaling is configured for both index and tables in AWS DynamoDb



Not enabling the Auto Scaling, capacity or load balancing issues may arise which can bring an application down.


In AWS Console -

  1. Sign in to AWS console and open the DynamoDB console.
  2. In the navigation pane on the left side of the console, select Tables.
  3. Select the table that you want to work with and select the Additional settings tab.
  4. In the Read/write capacity section, select Edit.
  5. In the Capacity mode section, select Provisioned.
  6. In the Table capacity section, set Auto scaling to On for Read capacity, Write capacity, or both.
  7. Select save to save the settings.

In Terraform -

  1. Create an aws_appautoscaling_policy resource with a resource_id that belongs to the DynamoDB object.
  2. Configure the scalable_dimension field for dynamodb:table.
  3. Repeat steps 1 and 2 for dynamodb:index.


Policy Details

Rule Reference ID: AC_AWS_0016
Remediation Available: No
Resource Category: Compute
Resource Type: Auto Scaling