Облачная платформаAdvanced

Managing a Bandwidth Scaling Policy

Эта статья полезна?
Язык статьи: Английский
Перевести

Scenarios

You can adjust the bandwidth through a bandwidth scaling policy.

This section describes how to manage bandwidth scaling policies, including enabling, disabling, modifying, deleting, and immediately executing a bandwidth scaling policy.

Note

The bandwidth scaling policy configured for a released EIP still occupies the policy quota. Only the account and its IAM users with the global permissions can manage the bandwidth scaling policy. IAM users with permissions to some enterprise projects cannot manage the policy.

Enabling a Bandwidth Scaling Policy

A bandwidth scaling policy can be enabled only when its status is Disabled.

  1. Log in to the management console.
  2. Under Computing, click Auto Scaling. In the navigation pane on the left, choose Bandwidth Scaling.
  3. Enable a bandwidth scaling policy using either of the following methods:

    Method 1: Choose Bandwidth Scaling from the left navigation pane. In the bandwidth scaling policy list, locate the row that contains the target bandwidth scaling policy and click Enable in the Operation column.

  4. In the displayed dialog box, click OK.

Disabling a Bandwidth Scaling Policy

A bandwidth scaling policy can be disabled only when its status is Enabled.

  1. Log in to the management console.
  2. Under Computing, click Auto Scaling. In the navigation pane on the left, choose Bandwidth Scaling.
  3. On the Bandwidth Scaling page, in the bandwidth scaling policy list, locate the row that contains the target bandwidth scaling policy and click Disable in the Operation column.

  4. In the displayed dialog box, click OK.

    Note

    After a bandwidth scaling policy is disabled, its status changes to Disabled. AS does not automatically trigger any scaling action based on a Disabled bandwidth scaling policy.

Modifying a Bandwidth Scaling Policy

  1. Log in to the management console.
  1. Under Computing, click Auto Scaling. In the navigation pane on the left, choose Bandwidth Scaling.
  2. Modify a bandwidth scaling policy using either of the following methods:

    Method 1: On the Bandwidth Scaling page, in the bandwidth scaling policy list, locate the row that contains the target bandwidth scaling policy and choose More > Modify in the Operation column.

    Method 2: On the Bandwidth Scaling page, in the bandwidth scaling policy list, click the name of the target bandwidth scaling policy. On the displayed page, click Modify in the upper right corner.

  3. In the displayed dialog box, modify the parameters.

    You can modify parameters of a bandwidth scaling policy, including Policy Name, EIP, Policy Type, Scaling Action, and Cooldown Period.

  4. Click OK.
Note

A bandwidth scaling policy which is being executed cannot be modified.

Deleting a Bandwidth Scaling Policy

  1. Log in to the management console.
  2. Under Computing, click Auto Scaling. In the navigation pane on the left, choose Bandwidth Scaling.
  3. Delete a single bandwidth scaling policy or multiple bandwidth scaling policies in batches.
    • Deleting a single bandwidth scaling policy: On the Bandwidth Scaling page, in the bandwidth scaling policy list, locate the row that contains the target bandwidth scaling policy and choose More > Delete in the Operation column.

    • Deleting multiple bandwidth scaling policies in batches: On the Bandwidth Scaling page, in the bandwidth scaling policy list, select multiple bandwidth scaling policies and click Delete above the list.

    • In the displayed dialog box, click OK.

Note
  • You can delete a bandwidth scaling policy when you no longer need it. If you do not need it only for a specified period of time, you are advised to disable it rather than delete it.
  • A bandwidth scaling policy can be deleted only when it is not being executed.

Executing a Bandwidth Scaling Policy

By executing a bandwidth scaling policy, you can immediately adjust the bandwidth to that configured in the bandwidth scaling policy, instead of having to wait until the trigger condition is met.

  1. Log in to the management console.
  2. Under Computing, click Auto Scaling. In the navigation pane on the left, choose Bandwidth Scaling.
  3. Execute a bandwidth scaling policy using either of the following methods:

    Method 1: On the Bandwidth Scaling page, in the bandwidth scaling policy list, locate the row that contains the target bandwidth scaling policy and click Execute Now in the Operation column.

    Method 2: On the Bandwidth Scaling page, in the bandwidth scaling policy list, click the name of the target bandwidth scaling policy. On the displayed page, click Execute Now in the upper right corner.

  4. In the displayed dialog box, click OK.

Note
  • A bandwidth scaling policy can be executed only when the policy is enabled and no other bandwidth scaling policy is being executed.
  • Executing a bandwidth scaling policy does not affect automatic adjustment of the bandwidth when the trigger condition of the policy is met.