Closed icj217 closed 1 year ago
I confirmed this by adding a scaling policy with a minimum number of connections =1 to a DB cluster with no reader instances. An autoscaling reader instance was created immediately, even though there was a note in the console saying that the cluster had no readers.
message was:
March 7th 2023, 3:22:11 pm UTC-5 (local) | | InProgress | Adding 1 read replica(s). | Adding read replica(s) application-autoscaling-
changed text to read:
Before you can use Aurora Auto Scaling with an Aurora DB cluster, you must first create an Aurora DB cluster with a primary DB instance. For more information about creating an Aurora DB cluster,see Creating an Amazon Aurora DB cluster.
Aurora Auto Scaling only scales a DB cluster if the DB cluster is in the available state.
In /doc_source/Aurora.Integrating.AutoScaling.md it states that:
This does not seem to be the case. I can do the following and watch an Aurora Replica get spun up automatically:
Whereas if I do the following, an Aurora Replica never gets created:
It seems more accurate to say that only a primary instance is needed. It also seems like the second scenario where the policy is created before the cluster has any instances should not be possible. The API should prevent the policy from being created.