This rule ensures that DynamoDB table auto scaling is enabled for efficient performance and resource management.
Rule | DynamoDB table auto scaling should be enabled |
Framework | FedRAMP Low Revision 4 |
Severity | ✔ High |
Rule Description:
The DynamoDB table auto scaling should be enabled to comply with the FedRAMP Low Revision 4 policy. Auto scaling allows you to automatically adjust the capacity of your DynamoDB tables based on the workload, ensuring optimal performance and cost efficiency.
Troubleshooting Steps:
If auto scaling is not enabled for the DynamoDB table, you may experience performance issues during high traffic periods or incur unnecessary costs due to over-provisioning. To troubleshoot this issue, follow the steps below:
Verify Auto Scaling Status:
Check Table Provisioned Capacity:
Review CloudWatch Alarms:
Review Auto Scaling Policies:
Test Load Simulation:
Necessary Codes:
There are no specific codes required to enable DynamoDB table auto scaling, as it is a configuration setting in the AWS Management Console. However, if you prefer to use the AWS CLI or SDKs to enable auto scaling, you can use the following command:
aws application-autoscaling register-scalable-target \ --service-namespace dynamodb \ --resource-id table/<Your-Table-Name> \ --scalable-dimension dynamodb:table:ReadCapacityUnits \ --min-capacity <Min-Capacity> \ --max-capacity <Max-Capacity> \ --role-arn <Your-Role-ARN>
Replace
<Your-Table-Name>
with the actual name of your DynamoDB table, <Min-Capacity>
with the minimum desired capacity, <Max-Capacity>
with the maximum desired capacity, and <Your-Role-ARN>
with the ARN (Amazon Resource Name) of the role.Step-by-Step Guide for Remediation:
To enable auto scaling for a DynamoDB table in compliance with FedRAMP Low Revision 4, follow the step-by-step guide below:
Log in to the AWS Management Console.
Navigate to the DynamoDB service.
Select the desired DynamoDB table.
Click on the "Capacity" tab.
Locate the "Auto Scaling" section and click on "Edit".
Enable auto scaling by toggling the switch to "On".
Set the desired minimum and maximum capacity units for both read and write capacity.
Define the target utilization for auto scaling.
Configure the scaling policy by selecting the appropriate scaling type (target tracking or step scaling) and defining the thresholds.
Click on "Save".
Monitor the table's performance and adjust the auto scaling settings if necessary.
Test the auto scaling behavior under different workload scenarios to ensure it functions as expected.
By following these steps, you should be able to successfully enable auto scaling for your DynamoDB table, meeting the requirements of the FedRAMP Low Revision 4 policy.