This rule requires enabling auto scaling for DynamoDB tables to ensure efficient performance and resource utilization.
Rule | DynamoDB table auto scaling should be enabled |
Framework | NIST 800-53 Revision 5 |
Severity | ✔ High |
DynamoDB Table Auto Scaling for NIST 800-53 Revision 5
Description
DynamoDB is a managed NoSQL database service provided by AWS. Auto scaling is a feature that automatically adjusts the capacity of your DynamoDB tables based on the workload. Enabling DynamoDB table auto scaling helps to optimize performance and cost by automatically provisioning additional read and write capacity as needed. This ensures that your application can handle sudden spikes in traffic without manual intervention.
For compliance with NIST 800-53 Revision 5, it is required to enable auto scaling for DynamoDB tables to provide scalability and ensure that the resources are efficiently utilized.
Troubleshooting Steps
If auto scaling is not enabled for DynamoDB tables, you may encounter the following issues:
Remediation Steps
To enable auto scaling for DynamoDB tables, follow the step-by-step guide below:
Console:
Command Line Interface (CLI):
aws application-autoscaling put-scaling-policy --service-namespace dynamodb --resource-id <your-dynamodb-table-arn> --scalable-dimension dynamodb:table:ReadCapacityUnits --policy-name <your-policy-name> --policy-type TargetTrackingScaling --target-tracking-scaling-policy-configuration file://<path-to-your-scaling-policy-config-file>.json
Replace
<your-dynamodb-table-arn>
with the ARN (Amazon Resource Name) of your DynamoDB table and <your-policy-name>
with a name for your auto scaling policy. Additionally, provide a JSON configuration file (<path-to-your-scaling-policy-config-file>.json
) with the target tracking scaling policy details, including target utilization percentage and scale-out and scale-in thresholds.Conclusion
Enabling auto scaling for DynamoDB tables helps ensure scalability, optimize performance, and reduce unnecessary costs. By automatically adjusting the read and write capacity based on the workload, you can meet the requirements of NIST 800-53 Revision 5 and efficiently handle varying traffic demands on your DynamoDB tables.