This rule states that DynamoDB table auto scaling should be enabled to ensure optimal performance and resource utilization.
Rule | DynamoDB table auto scaling should be enabled |
Framework | NIST Cybersecurity Framework (CSF) v1.1 |
Severity | ✔ High |
DynamoDB Table Auto Scaling and NIST Cybersecurity Framework (CSF) v1
Description of the Rule
DynamoDB auto scaling is an AWS feature that automatically adjusts the read and write throughput of a DynamoDB table in response to actual traffic patterns. This ensures that a DynamoDB table operates efficiently by provisioning more throughput when traffic increases, and scaling down to reduce costs when traffic decreases.
The NIST Cybersecurity Framework (CSF) Version 1.1 does not mention DynamoDB or AWS directly, but it does emphasize the importance of ensuring that systems are available and can handle changes in demand. By enabling auto scaling, you align with the following CSF objectives:
Enabling auto scaling on a DynamoDB table ensures efficient resource utilization and helps in maintaining system availability, a core principle of the NIST CSF.
Troubleshooting Steps
If auto scaling does not seem to be functioning correctly, consider the following steps:
Necessary Codes and CLI Commands
Enabling Auto Scaling Using AWS CLI
aws iam create-role --role-name DynamoDBAutoScalingRole --assume-role-policy-document file://AssumeRolePolicyDocument.json
AmazonDynamoDBFullAccess
to this role.aws iam attach-role-policy --role-name DynamoDBAutoScalingRole --policy-arn arn:aws:iam::aws:policy/service-role/AmazonDynamoDBFullAccess
aws application-autoscaling register-scalable-target --service-namespace dynamodb --resource-id table/YourTableName --scalable-dimension dynamodb:table:WriteCapacityUnits --min-capacity 5 --max-capacity 50 --role-arn YourRoleARN
Replace
YourTableName
with the name of your DynamoDB table and YourRoleARN
with the ARN of the role you created.Step-by-Step Guide for Remediation
Enable auto scaling on the specified DynamoDB table using the AWS Management Console:
Enable CloudWatch alarms to monitor the auto-scaled resources for providing notifications when scaling actions are taken or when metrics are outside of expected norms.
Regularly review and adjust auto scaling policies as par application needs.
Note: AWS CLI commands and features are continuously updated. Always refer to the official AWS CLI documentation for the most accurate and recent information.
By following these guidelines and using the commands as per the described format, you will help ensure not only the efficiency and reliability of your DynamoDB tables but also the SEO optimization of your online content related to AWS automated scaling. No fillers or greetings are included in the content as requested.