You have an OCI compute instance configured with an autoscaling policy. The autoscaling configuration scales out your instance pool by 2 instances when CPU exceeds 75%. You notice that during a traffic surge, the pool scales out, but shortly after, it scales right back in, causing flapping. How can you prevent this behavior?
A longer cooldown period prevents rapid oscillation (flapping) between scale-out and scale-in events.
Why this answer
Configuring an appropriate cooldown period (step delay) ensures that autoscaling waits a specified duration after a scaling event before evaluating metrics again.