Adding a scaling policy - Amazon ElastiCache for Redis
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Adding a scaling policy

You can add a scaling policy using the Amazon Web Services Management Console.

To add an Auto Scaling policy to an ElastiCache for Redis cluster

  1. Sign in to the Amazon Web Services Management Console and open the Amazon ElastiCache console at https://console.amazonaws.cn/elasticache/.

  2. In the navigation pane, choose Redis.

  3. Choose the cluster that you want to add a policy to (choose the cluster name and not the button to its left).

  4. Choose the Auto Scaling policies tab.

  5. Choose add dynamic scaling.

  6. For Policy name enter a policy name.

  7. For Scalable Dimension choose shards.

  8. For the target metric, choose one of the following:

    • Primary CPU Utilization to create a policy based on the average CPU utilization.

    • Memory to create a policy based on the average database memory.

  9. For the target value, choose one of the following:

    • If you chose Primary CPU Utilization, type the percentage of CPU utilization that you want to maintain on Elasticache shards. This value must be greater than or equal to 35 and less than or equal to 70.

    • If you chose Memory to create a policy based on the average database memory. type the percentage of Redis memory that you want to maintain on ElastiCache for Redis shards. This value must be greater than or equal to 35 and less than or equal to 70.

      Note

      When using the modify-replication-group-shard-configuration API, the limit is 80.

    Cluster shards are added or removed to keep the metric close to the specified value.

  10. (Optional) Scale-in or scale-out cooldown periods are not supported from the console. Use the Amazon CLI to modify the cooldown values.

  11. For Minimum capacity, type the minimum number of shards that the ElastiCache for Redis Auto Scaling policy is required to maintain.

  12. For Maximum capacity, type the maximum number of shards that the ElastiCache for Redis Auto Scaling policy is required to maintain. This value must be less than or equal to 250.

  13. Choose Create.