An AS policy specifies the conditions for triggering a scaling action as well as the operation that will be performed. If the conditions are met, a scaling action is triggered automatically.
This section describes how to manage an AS policy, including modifying, enabling, disabling, executing, and deleting an AS policy.
If a particular AS policy cannot meet service requirements, you can modify the parameter settings of the policy.
An AS policy can trigger scaling actions only when it and the AS group are both enabled. You can enable one or more AS policies for an AS group as required.
Locate the row containing the target AS group and click View AS Policy in the Operation column. On the displayed page, locate the row containing the target AS policy and click Enable in the Operation column. To concurrently enable multiple AS policies, select these AS policies and click Enable in the upper part of the AS policy list.
If you do not want a particular AS policy to trigger any scaling actions within a specified period of time, you can disable it.
Locate the row containing the target AS group and click View AS Policy in the Operation column. On the displayed page, locate the row containing the target AS policy and click Disable in the Operation column. To concurrently disable multiple AS policies, select these AS policies and click Disable in the upper part of the AS policy list.
You can make the number of instances in an AS group reach the expected number of instances immediately by manually executing an AS policy.
Locate the row containing the target AS group and click View AS Policy in the Operation column. On the displayed page, locate the row containing the target AS policy and click Execute Now in the Operation column.
You can delete an AS policy that will not be used for triggering scaling actions.
An AS policy can be deleted even when the scaling action triggered by the policy is in progress. Deleting the AS policy does not affect a scaling action that has already started.
Locate the row containing the target AS group and click View AS Policy in the Operation column. On the displayed page, locate the row containing the target AS policy and choose More > Delete in the Operation column.
To concurrently delete multiple AS policies, select these AS policies and click Delete in the upper part of the AS policy list.