You can automatically adjust your purchased EIP bandwidth and shared bandwidth using a bandwidth scaling policy. This section describes how to create a bandwidth scaling policy.
When creating a bandwidth scaling policy, you need to configure basic information. The system supports three types of bandwidth scaling policies: alarm-based, scheduled, and periodic.
The basic information for creating a bandwidth scaling policy includes the policy name, resource type, policy type, and trigger condition.
Parameter | Description | Example Value |
|---|---|---|
Region | Select the region where the bandwidth scaling policy is applied. | - |
Policy Name | Enter a name for the bandwidth scaling policy. The name consists of only letters, digits, underscores (_), and hyphens (-). | - |
Resource Type | Select the type of the bandwidth to be adjusted. You can select EIP or Shared bandwidth. | EIP |
EIP | Select the EIP whose bandwidth needs to be scaled. | - |
Policy Type | Select Alarm. | Alarm |
Alarm Rule | You can use an existing alarm rule or create a new one. Alternatively, click Create Alarm Rule on the right side of the Rule Name parameter and create an alarm rule on the Alarm Rules page. For details, see Creating an Alarm Rule. To create an alarm rule, configure the following parameters: Enter a name for the new alarm rule, for example, as-alarm-7o1u. Select a monitoring metric and trigger condition. Table 2 lists the supported monitoring metrics. An example value is Outbound Traffic Avg. > 100 bit/s. Specifies the monitoring period for the metric, for example, 5 minutes. Specifies the number of consecutive periods in which the triggering condition is met for triggering a scaling action. | - |
Scaling Action | Specifies the execution action in the AS policy. The following scaling action options are available: When a scaling action is triggered, the bandwidth is increased. When a scaling action is triggered, the bandwidth is decreased. The bandwidth is set to a fixed value. The step (minimum unit for bandwidth adjustment) varies depending on the bandwidth value range. The bandwidth will be automatically adjusted to the nearest value according to the actual step. | - |
Cooldown Period | A cooldown period (in seconds) is the period of time between two scaling actions. AS recounts the cooldown period after a scaling action is complete. During the cooldown period, AS denies all scaling requests triggered by alarm-based policies. Scaling requests triggered manually or by scheduled or periodic policies are not affected. | 300s |
Metric | Description |
|---|---|
Inbound Bandwidth | Indicates the network rate of inbound traffic. |
Inbound Traffic | Indicates the network traffic going into the cloud platform. |
Outbound Bandwidth | Indicates the network rate of outbound traffic. |
Outbound Traffic | Indicates the network traffic going out of the cloud platform. |
Outbound Bandwidth Usage | Indicates the usage of network rate of outbound traffic in the unit of percentage. |
The newly created bandwidth scaling policy is displayed on the Bandwidth Scaling page and is in Enabled state by default.
When creating an alarm-based bandwidth scaling policy, you can click Create Alarm Rule to the right of Rule Name to create an alarm rule. To do so, perform the following operations:
Figure 1 Creating an alarm rule

Parameter | Description | Example Value |
|---|---|---|
Name | Specifies the name of the alarm rule. | alarm-bandwidth |
Enterprise Project | Specifies the enterprise project the alarm rule belongs to. Only users with the enterprise project permissions can view and manage the alarm rule. | default |
Resource Type | Specifies the name of the service to which the alarm rule applies. Set this parameter to Elastic IP and Bandwidth. | Elastic IP and Bandwidth |
Dimension | Specifies the item of the monitored service. Bandwidth scaling adjusts the bandwidth. Therefore, set this parameter to Bandwidths. | Bandwidths |
Monitoring Scope | Specifies the resources to which the alarm rule applies. Set this parameter to Specific resources. Search for the bandwidth using its name or ID. The name and ID can be obtained from the EIP details. | Specific resources |
Method | There are three options: Associate template, Use existing template, and Configure manually. NOTE: After an associated template is modified, the policies contained in this alarm rule to be created will be modified accordingly. | Configure manually |
Alarm Policy | Specifies the alarm policy for triggering the alarm rule. Set this parameter as required. For details about the monitoring metrics, see Table 2. | - |
to the right of Rule Name, and select the created alarm rule.Alternatively, you can create an alarm rule on the Cloud Eye console page before creating a bandwidth scaling policy. Ensure that the EIP bandwidth you want to adjust is configured for the alarm rule. After the alarm rule is created, you can select the rule when creating a bandwidth scaling policy.
Parameter | Description | Example Value |
|---|---|---|
Region | Select the region where the bandwidth scaling policy is applied. | - |
Policy Name | Enter a name for the bandwidth scaling policy. The name consists of only letters, digits, underscores (_), and hyphens (-). | as-policy-p6g5 |
Resource Type | Select the type of the bandwidth to be adjusted. You can select EIP or Shared bandwidth. | EIP |
EIP | Select the EIP whose bandwidth needs to be scaled. This parameter is mandatory when Resource Type is set to EIP. | - |
Shared Bandwidth | Specifies the shared bandwidth to be scaled. This parameter is mandatory when Resource Type is set to Shared bandwidth. | - |
Policy Type | Specifies the policy type. You can select a scheduled or periodic policy. If you select Periodic, you are required to configure two more parameters:
| - |
Triggered At | Specifies the time at which the AS policy is triggered. | - |
Scaling Action | Specifies the action to be performed. The following scaling action options are available: When a scaling action is triggered, the bandwidth is increased. When a scaling action is triggered, the bandwidth is decreased. The bandwidth is set to a fixed value. The step (minimum unit for bandwidth adjustment) varies depending on the bandwidth value range. The bandwidth will be automatically adjusted to the nearest value according to the actual step. | - |
Cooldown Period | A cooldown period (in seconds) is the period of time between two scaling actions. AS recounts the cooldown period after a scaling action is complete. During the cooldown period, AS denies all scaling requests triggered by alarm-based policies. Scaling requests triggered manually or by scheduled or periodic policies are not affected. | 300s |