You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Rolling update strategy for Instance Pool with Autoscaling in Oracle Cloud Infrastructure

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:

  1. Update the Instance Pool to use the new Instance Configuration.
  2. Temporarily increase the pool size (for example, double it).
  3. Allow the new instances to be created with the new configuration.
  4. Gradually terminate the old instances while the load balancer drains connections.
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!