Delete a scaling group

Last Updated: Sep 25, 2017

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:

  1. Stop the scaling group so it rejects new scaling activity requests.
  2. Wait until the ongoing scaling activities are completed.
  3. 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.

Procedure

  1. On the Scaling Groups page, click Delete next to the scaling group to be deleted.
  2. On the Delete Scaling Group page, click Confirm.
Thank you! We've received your feedback.