Alibaba Cloud allows you to view and manage quotas of your Alibaba Cloud services. You can obtain usage information, apply for increases on quotas, and create alert rules for quotas. This topic describes how to request quota increases and configure quota alerts for Classic Load Balancer (CLB).
Background Information
Quota Center allows you to manage the quotas of various Alibaba Cloud services in a centralized manner. CLB and many other Alibaba Cloud services work with Quota Center. If you are using multiple Alibaba Cloud services and want to manage the quotas of all your cloud services in one console, you can use Quota Center.
Alternatively, you can individually manage CLB quotas by using the quota management feature provided in the CLB console.
Prerequisite
By default, only Alibaba Cloud accounts are authorized to manage quotas in Quota Center. For RAM users to manage quotas, you must grant RAM users the AliyunQuotasFullAccess permission.
View quotas
You can view the quotas of CLB by using one of the following methods:
View quotas in the Quota Center console.
View quotas on the Quota Center page of the SLB console.
To view the quota items and their default values, see CLB quotas.
View quotas in the Quota Center console
Log on to the Quota Center console.
In the left-side navigation pane, choose .
Click Server Load Balancer in the Networking section.
On the General Quotas page, view the quota information, such as the name, description, and usage of each quota.
View quotas on the Quota Center page of the SLB console
Log on to the SLB console. In the left-side navigation pane, click Quota Center.
On the Quota Center page, view the quota information, such as the name, description, and usage of each quota.
Request a quota increase
Most of the quotas provided are adjustable. If the default quota is unable to meet your business requirements, you can apply for a quota increase by using one of the following methods:
Request a quota increase in the Quota Center console.
Request a quota increase on the Quota Center page of the SLB console.
The quotas that can be adjusted in the Quota Center console are the same as those on the Quota Center page of the SLB console. If your application is approved, the same quota increase is displayed in both consoles.
Request a quota increase in the Quota Center console
Log on to the Quota Center console.
In the left-side navigation pane, choose .
Click Server Load Balancer in the Networking section.
On the General Quotas page, find the quota that you want to manage and click Apply in the Actions column.
In the Apply for Quotas dialog box, configure the Applied Quotas and Reason parameters and click OK.
NoteQuota increase applications are approved by the technical support team for each cloud service. To increase the success rate of your application, specify a reasonable quota value and describe your application reason as thoroughly as possible when you submit the application.
When you apply for a quota increase, provide as much information as possible. The more justification provided, the more likely your application will be approved. Application results are sent to you by text message and email.
In the left-side navigation pane, click Application Records. On the Application Records page, view the status of the application.
If the application is in the Approved state, the quota is increased.
Request a quota increase on the Quota Center page of the SLB console
Log on to the SLB console. In the left-side navigation pane, click Quota Center.
On the Quota Center page, find the quota that you want to manage and click Apply in the Actions column.
In the Apply for Quotas dialog box, configure the Applied Quotas and Reason parameters and click OK.
NoteQuota increase applications are approved by the technical support team for each cloud service. To increase the success rate of your application, specify a reasonable quota value and describe your application reason as thoroughly as possible when you submit the application.
When you apply for a quota increase, provide as much information as possible. The more justification provided, the more likely your application will be approved. Application results are sent to you by text message and email.
To view the status of your application, click Application Records in the Actions column or choose in the Actions column.
If the application is in the Approved state, the quota is increased.
Create a quota alert
You can create alert rules for some quota items by specifying a threshold for quota usage or available quota. If the usage of a quota reaches the specified threshold, the system sends an alert notification to the callback URL that you specified in the alert rule through an HTTP POST request. We recommend that you take the alerts into consideration and apply for a quota increase in advance to avoid unexpected business interruptions.
CLB quotas that support alerts
Quota | Description | Link |
slb_quota_instances_num | Maximum number of CLB instances that you can create within an Alibaba Cloud account | |
slb_quota_backendservers_num | Maximum number of backend servers that can be added to a CLB instance | |
slb_quota_listeners_num | Maximum number of listeners that can be added to a CLB instance | |
slb_quota_domain_extensions_num | Maximum number of additional domain names that can be created for an HTTPS listener | |
slb_quota_rules_num | Maximum number of domain name-based and URL-based forwarding rules that can be added to an HTTP or HTTPS listener | |
slb_quota_backendserver_attached_num | Maximum number of times that a server can be added as a CLB backend server | |
slb_quota_certs_num | Maximum number of server certificates that can be uploaded in a region | |
slb_quota_ca_certs_num | Maximum number of client certificate authority (CA) certificates that can be uploaded in a region | |
slb_quota_acls_num | Maximum number of network access control lists (ACLs) that can be configured for each Alibaba Cloud account | |
slb_quota_acl_entries_num | Maximum number of entries that can be added to an ACL | |
slb_quota_acl_attached_num | Maximum number of times that each ACL can be associated with different listeners |
Create a quota alert in the Quota Center console
Log on to the Quota Center console.
In the left-side navigation pane, choose Alarm Rules.
On the Alarm Rules page, on the General Quotas tab (or click the API Rate Limits tab), click Create Quota Alarm Rule.
On the Create Alarm Rule page, configure the parameters and click Confirm.
Parameter
Description
Example
Alarm Rule Name
The name of the alert rule.
Maximum number of vCPUs for preemptible instances for limited purchase
Alarm Metric
The metric used by the alert rule. Valid values:
Quotas
Used Quotas
Percentage of Used Quotas(%)
Percentage of Available Quotas(%)
Percentage of Used Quotas(%)
Threshold and Alert Level
The alert level and the threshold corresponding to this level.
The following default notification methods are set for different alert levels:
Critical: Email and Callback
Warning: Email and Callback
Info: Email and Callback
You also need to select the number of times that the threshold is reached before an alert is triggered. Valid values: 1 Consecutive Cycle, 3 Consecutive Cycles, 5 Consecutive Cycles, 10 Consecutive Cycles, 15 Consecutive Cycles, 30 Consecutive Cycles, 60 Consecutive Cycles, 70 Consecutive Cycles, 90 Consecutive Cycles, 120 Consecutive Cycles, and 180 Consecutive Cycles.
You can configure settings for different alert levels. This way, CloudMonitor generates alerts at a specific level based on the threshold corresponding to the level and sends alert notifications by using the specified methods.
Alert level: Info. The default notification method for this alert level is Email and Callback.
Threshold: ≥ 80%.
Mute For
The interval at which alert notifications are sent if the generated alert is not cleared. The value also indicates the silence period. Valid values: 5 minutes, 15 minutes, 30 minutes, 60 minutes, 3 hours, 6 hours, 12 hours, and 24 hours.
An alert notification is sent when a metric reaches the alert threshold. During the silence period, if the metric repeatedly exceeds the alert threshold, no new alert notification is sent. After the silence period ends, if the metric does not return to the normal state, a new alert notification is sent.
For example, if you set the Mute For parameter to 24 hours, CloudMonitor sends an alert notification for a generated alert, and the alert remains unresolved, CloudMonitor sends a new alert notification after 24 hours.
5 minutes
Effective Time
The period during which the alert rule takes effect. The alert rule takes effect and generates alerts only at the specified time on the specified days of a week.
Cycle: Monday to Sunday
Time: 00:00 to 23:59
Alarm Contact Group
The contact group to which alert notifications are sent.
Alert notifications for an application group are sent to the alert contact in the alert contact group. An alert contact group is a group of alert contacts, containing one or more alert contacts.
For more information about how to create an alert contact or an alert contact group, see Create an alert contact or alert contact group.
Quota Administrators of ECS Instance Types
Alarm Callback
The URL that is accessible over the Internet to receive the alert information pushed by CloudMonitor by using HTTP POST requests. Only the HTTP protocol is supported.
To test the connectivity of the callback URL, perform the following operations:
Click Test next to the callback URL.
On the Test Result page, you can check the connectivity of the callback URL based on the returned status code and test result details.
NoteYou can also set the Language parameter and then click Test again to obtain test result details of the specified language.
Click Close.
http://alert.aliyun.com:8080/callback
Labels
The tags of the alert rule. A tag consists of a tag key and a tag value. You can specify up to six tags for an alert rule.
k1,v1Push Channel
The Alibaba Cloud service used to deliver alert information. Valid values:
Simple Log Service
If you turn on Simple Log Service, when an alert is generated, alert information is sent to a Logstore in Simple Log Service. In this case, you must configure the Region, ProjectName, and Logstore parameters.
For information about how to create a project and a Logstore, see Getting Started.
Message Service - topic
If you turn on Message Service - topic, when an alert is generated, alert information is sent to a topic in Simple Message Queue (formerly MNS). In this case, you must specify a region and a topic.Simple Message Queue (formerly MNS)
For more information about how to create a topic, see Create a topic.
Function Compute
If you turn on Function Compute, when an alert is generated, alert information is sent to Function Compute to be formatted. In this case, you must specify a region, a service, and a function.
For information about how to create a service and a function, see Quickly create a function.
Turn off all switches
Recovery Notification
Specifies whether to send notifications when alerts are cleared. The switch is turned on by default.
Turn on the switch
Method to handle alarms when no monitoring data is found
The method that is used to handle alerts when no monitoring data is available. Valid values:
Do not do anything (default)
Send alarm notifications
Treated as normal
Do not do anything
Optional. View the alert callback results.
If alert callbacks are configured for quotas, you can view the alert callback records and the quota increase applications that were automatically submitted.
Create a quota alert on the Quota Center page of the SLB console
Log on to the SLB console. In the left-side navigation pane, click Quota Center.
On the Quota Center page, find the quota that you want to manage and click Create Alarm Rule in the Actions column.
In the Create Quota Alarm Rule panel, configure the parameters and click OK.
Basic Information: Enter the name of the alarm.
Alarm Object: Quota details.
Alarm Rule:
Alarm Metric: Choose a metric from among quota, quota usage, percentage of used quotas, and percentage of available quotas.
Threshold and Alarm Level: Choose a level from among critical, warn, and info. Each level has a different notification method.
Notification Type: When the alarm is triggered, CloudMonitor sends a notification to your specified URL.
In the Actions column of the quota that you want to manage, click .
In the Alerts dialog box, you can view the created alert rules. You can also click View, Modify, or Delete in the Actions column.
Add a quota to a quota template
Prerequisites
Before you use a quota template, make sure that the following requirements are met:
An enterprise management account is used.
Resource directory and the quota template feature are enabled.
Add a quota to a quota template in the Quota Center console
Log on to the Quota Center console.
In the left-side navigation pane, click Quota Templates. On the Quota Templates page, click Enable Quota Template.
In the Enable Quota Template message, click OK.
In the left-side navigation pane, choose .
Click Server Load Balancer in the Networking section.
On the General Quotas page, find the quota that you want to manage and click Create Quota Template in the Actions column.
In the Create Quota Template dialog box, configure the Applied Quotas parameter and click OK.
Add a quota to a quota template on the Quota Center page of the SLB console
Log on to the SLB console. In the left-side navigation pane, click Quota Center.
On the Quota Center page, find the quota that you want to manage and click Create Quota Template in the Actions column.
In the Create Quota Template dialog box, configure the Applied Quotas parameter and click OK.