All checks
Medium DynamoDB · regional

DynamoDB tables should automatically scale capacity with demand

Checks that the DynamoDB table uses on-demand capacity mode, or provisioned mode with auto scaling configured. A table whose capacity follows demand avoids the throttling exceptions a fixed provisioned capacity returns at a traffic peak, which keeps the applications that use it available.

service
DynamoDB
severity
Medium
scope
evaluated in every region

How to fix it

In the console

DynamoDB → Tables → the table → Additional settings → Read/write capacity

Capacity mode
On-demand, or Provisioned with auto scaling on for both read and write capacity
Read capacity: Auto scaling
On, if Provisioned, with minimum and maximum capacity units and a target utilization
Write capacity: Auto scaling
On, if Provisioned, set as for read capacity

With the AWS CLI

aws dynamodb update-table --table-name <table-name> --billing-mode PAY_PER_REQUEST --region <region>

With Terraform

resource "aws_dynamodb_table" "this" {
  name         = var.table_name
  billing_mode = "PAY_PER_REQUEST"
}

See which of your accounts this check is failing on.

Book a live scan