跳至內容

RDS Reader Auto Scaling not working as expected

0

Reader Average CPU in Cloudwatch Reader Average CPU

RDS Reader Autoscaling events RDS Reader Autoscaling events

RDS Reader Autoscaling settings RDS Reader Autoscaling settings

I have set up a reader autoscaling for our RDS Cluster.

The autoscaling settings are: Target 10% CPU, Min 0 readers, Max 1 readers.

The standard cluster is 1 writer, 2 readers.

Looking at the CPU metrics it's around 30%, I'd have expected the autoscaling group to add another reader to reduce the CPU utilisation. However, instead it looks like it's trying to scale in, but failing since there are no readers in the Autoscaling group.

What am I doing wrong?

已提問 2 年前檢視次數 773 次

1 個回答
1

The CPU Utilization metric shown earlier is the default reader metric provided when creating an Aurora Cluster. However, Aurora Autoscaling operates based on the CPU Utilization metric specific to the read replica created through the Autoscaling configuration, not the general Cluster Read Replica metric.

As far as my understanding, and testing, for Aurora Read Replica Autoscaling, you should configure the settings to specify a minimum of 1 instance, with the maximum number of instances based on your scaling needs.

已回答 2 年前

  • I did more testing and think I worked it out.

    The minimum capacity and maximum capacity under cluster capacity settings in the autoscaling includes all readers include ones created manually / not maintained by the autoscaling policy.

    This seems a bit counter intuitive to me, but when I increase it to minimum 1 and maximum 2 it works as expected.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。