For each scaling group, you can set the time for adding (scale-out) or removing (scale-in) instances. You can scale the scaling group manually by adding or removing instances, or you can enable AS to execute this process automatically by using a scaling policy.
Note
- When a scaling group is scaled in automatically, it needs to know which instances should be terminated first, and the selection is based on the removal policy.
- During scale-in, you can prevent specified instances from being terminated by AS by using instance protection.
- For a scaling group configured with a CLB instance, when the instances are automatically or manually removed or deleted, they will be automatically disassociated from the CLB instance.
AS will determine which CVM should be removed based on the removal policy during scale-in. You can choose from the following two removal policies:
NoteUnder both of the removal policies, AS will remove automatically created CVM instances before those manually added.
There are two ways to set this up:
Was this page helpful?