Rolling update strategy for Instance Pool with Autoscaling in Oracle Cloud Infrastructure
in Arm Compute
Hello,
I am working with an autoscaling infrastructure in Oracle Cloud Infrastructure (OCI) using Instance Pools.
Currently, when I need to deploy a new version of my application, I create a new Instance Configuration (for example with a new image). Then I assign this configuration to the existing Instance Pool.
To ensure the instances are replaced safely, my current approach is:
- Update the Instance Pool to use the new Instance Configuration.
- Temporarily increase the pool size (for example, double it).
- Allow the new instances to be created with the new configuration.
- Gradually terminate the old instances while the load balancer drains connections.
Tagged:
0