forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com> Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
22 KiB
22 KiB
Creating an AS Policy
Scenarios
You can create different types of AS policies. In an AS policy, you can define the conditions for triggering a scaling action and what operation to be performed. When the conditions are met, AS automatically triggers a scaling action to adjust the number of instances in the AS group.
This section describes how to create alarm-based, scheduled, or periodic AS policy for an AS group.
Creating an Alarm Policy
- Log in to the management console.
- Click
in the upper left corner to select a region and a project.
- Under Computing, click Auto Scaling. In the navigation pane on the left, choose Instance Scaling.
- Locate the row containing the target AS group and click View AS Policy in the Operation column.
- On the AS Policies page, click Add AS Policy.
- Set the parameters listed in Table 1.
- Click OK.
The newly added AS policy is displayed on the AS Policies tab. In addition, the AS policy is in Enabled state by default.
Creating a Scheduled or Periodic Policy
- Log in to the management console.
- Click
in the upper left corner to select a region and a project.
- Under Computing, click Auto Scaling. In the navigation pane on the left, choose Instance Scaling.
- Locate the row containing the target AS group and click View AS Policy in the Operation column.
- On the AS Policies page, click Add AS Policy.
- Configure the parameters listed in Table 2.
- Click OK.
The newly added AS policy is displayed on the AS Policies tab. In addition, the AS policy is in Enabled state by default.
Parent topic: AS Policy