无法自动缩放 Redis 集群

Cannot autoscale Redis cluster

我有一个 Redis 集群,在 EU Frankfurt 区域有 R5.4xlarge 个实例。我有 5 个分片,每个分片有 3 个副本。我无法自动缩放此集群。从 AWS 文档中,我知道 AWS Elasticache 通过增加

来提供自动缩放
  1. 分片数量或
  2. 副本数量

来自文档:-

ElastiCache for Redis supports scaling for the following dimensions:

Shards – Automatically add/remove shards in the cluster similar to manual online resharding. In this case, ElastiCache for Redis auto scaling triggers scaling on your behalf.

Replicas – Automatically add/remove replicas in the cluster similar to manual Increase/Decrease replica operations. ElastiCache for Redis auto scaling adds/removes replicas uniformly across all shards in the cluster.

但是,我找不到基于指标自动缩放的规定。 EU Frankfurt 区域中的上述集群配置是否可以自动缩放,或者我是否遗漏了什么?

大小为 4xlarge 的实例禁用了自动缩放,这就是您找不到为集群启用的 Autoscaling 选项卡的原因。来自 AWS 文档 https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/AutoScaling.html,只有以下 AWS 实例及其大小支持自动缩放

ElastiCache for Redis Auto Scaling is limited to the following:

Redis (cluster mode enabled) clusters running Redis engine version 6.0 onwards

Instance type families - R5, R6g, M5, M6g

Instance sizes - Large, XLarge, 2XLarge

Auto Scaling in ElastiCache for Redis is not supported for clusters running in Global datastores, Outposts or Local Zones.

AWS Auto Scaling for ElastiCache for Redis is not available in the following regions: China (Beijing), China (Ningxia), AWS GovCloud (US-West) and AWS GovCloud (US-East).