Adding a scaling policy
You can add a scaling policy using the AWS Management Console.
Adding a scaling policy using the AWS Management Console
To add an auto scaling policy to ElastiCache with Valkey or Redis OSS
-
Sign in to the AWS Management Console and open the Amazon ElastiCache console at https://console.aws.amazon.com/elasticache/
. -
In the navigation pane, choose Valkey or Redis OSS.
-
Choose the cluster that you want to add a policy to (choose the cluster name and not the button to its left).
-
Choose the Auto Scaling policies tab.
-
Choose add dynamic scaling.
-
Under Scaling policies, choose Add dynamic scaling.
-
For Policy Name, enter the policy name.
-
For Scalable Dimension, select Replicas from dialog box.
-
For the target value, type the Avg percentage of CPU utilization that you want to maintain on ElastiCache Replicas. This value must be >=35 and <=70. Cluster replicas are added or removed to keep the metric close to the specified value.
-
(Optional) scale-in or scale-out cooldown periods are not supported from the Console. Use the AWS CLI to modify the cool down values.
-
For Minimum capacity, type the minimum number of replicas that the ElastiCache with Valkey or Redis OSS Auto Scaling policy is required to maintain.
-
For Maximum capacity, type the maximum number of replicas the ElastiCache with Valkey or Redis OSS Auto Scaling policy is required to maintain. This value must be >=5.
-
Choose Create.