Updated on 2024-03-05 GMT+08:00

Disabling an AS Group

Scenarios

If you need to stop an instance in an AS group for configuration or upgrade, disable the AS group before performing the operation. This prevents the instance from being deleted in a health check. When the instance status is restored, you can enable the AS group again.

If a scaling action keeps failing and being retried (the failure cause can be viewed on the Elastic Cloud Server page) for an AS group, use either of the following methods to stop the action from being repeated:

  • Disable the AS group. Then, after the scaling action fails, it will not be retried. Enable the AS group again when the environment recovers or after replacing the AS configuration.
  • Disable the AS group and change the expected number of instances to the number of existing instances. Then after the scaling action fails, the scaling action will not be retried.

After an AS group is disabled, its status changes to Disabled. AS does not automatically trigger any scaling actions for a Disabled AS group. When an AS group has an in-progress scaling action, the scaling action does not stop immediately after the AS group is disabled.

You can disable an AS group when its status is Enabled or Abnormal.

Procedure

  1. Log in to the management console.
  2. Under Computing, click Auto Scaling. Then, on the Auto Scaling page, click the AS Groups tab.
  3. In the AS group list, locate the row containing the target AS group and click Disable in the Operation column. You can also click the AS group name and then Disable to the right of Status on the Basic Information page to disable the AS group.
  4. In the Disable AS Group dialog box, click Yes.