Hi! With the new Datomic Cloud, I set a compute group's auto scaling configuration this way:
- Cluster node instance type = t3.small
- Desired capacity = Default (1)
- Minimum instances = Default (1)
- Maximum instances = Default (3)
- Minimum number of instances during update = 2
Due to the last config bullet (5), should the system spin up a 2nd instance when the update starts, before deploying the new app code, in order to enable high availability during deployments, and scale back to the desired capacity after the deployment concludes?
I tested it and the system/ASG didn't scale a 2nd instance up during the deployment, so it caused downtime.
My understanding is that bullets 2-3-4 control the ASG, while bullet 5 would control something in CodeDeploy, but it's not clear to me how CodeDeploy and the ASG would coordinate to honor my setting config (5) to 2.
Are my expectations wrong about setting it up like I did?