You can delete a scaling group.
The ForceDelete attribute indicates whether to forcibly delete a scaling group and remove and release ECS instances if it has ECS instances, or if scaling activities are in progress.
- This attribute can only be viewed using OpenAPI.
- By default, a scaling group is deleted in ForceDelete mode from the console.
If ForceDelete is set to False, a scaling group must meet the following two conditions before being deleted:
- Condition 1: The scaling group is not executing any scaling activity.
- Condition 2: The existing number of ECS instances (Total Capacity) in the scaling group is 0.
When the two conditions are met, the scaling group is stopped and deleted.
When ForceDelete is set to True:
- Stop the scaling group so it rejects new scaling activity requests.
- Wait until the ongoing scaling activities are completed.
- Remove all ECS instances from the scaling group and delete the group. Manually added ECS instances are removed from the scaling group, while ECS instances created by Auto Scaling are automatically deleted.
Deleting a scaling group also deletes its scaling configurations, scaling rules, scaling activities, and scaling requests.
However, deleting a scaling group does not delete scheduled tasks, CloudMonitor alarm tasks, Server Load Balancer instances, or RDS instances.
- On the Scaling Groups page, click Delete next to the scaling group to be deleted.
- On the Delete Scaling Group page, click Confirm.