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.
Limits
By default, only the Alibaba Cloud account is authorized to manage quotas in Quota Center. If you want to allow RAM users to manage quotas, you must first grant the RAM users the AliyunQuotasFullAccess permission. For more information, see Authorize a RAM user.
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 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, click Quota Alerts.
On the Quota Alerts page, click Create Quota Alert Rule.
Click Server Load Balancer in the Networking section. On the General Quotas page, find the quota that you want to manage and click Create Alarm Rule in the Actions column.
In the Create Quota Alert Rule panel, configure the parameters and click OK.
Parameter
Description
Alert Rule Name
The name of the alert rule.
Alert Rule Type
The type of the alert rule. Valid values:
Alert Rule for Used Quotas: The alert rule is created for quota usage.
Alert Rule for Available Quotas: The alert rule is created for the available quota.
Threshold Type
The type of the alert threshold. Valid values:
Numeric: The alert threshold is a numeric value.
Percentage: The alert threshold is a percentage.
Threshold
The alert threshold.
You must set the threshold based on the settings of the Alert Rule Type and Threshold Type parameters.
If you set the Threshold Type parameter to Numeric Value, set the threshold based on the following requirements:
If you set the Alert Rule Type parameter to Alert Rule for Used Quotas, and the quota usage reaches the specified threshold, an alert notification is sent. The alert threshold must be greater than the current usage of the quota.
If you set the Alert Rule Type parameter to Alert Rule for Available Quotas, and the available quota is smaller than the specified threshold, an alert notification is sent. The alert threshold must be smaller than the current available quota.
If you set the Threshold Type parameter to Percentage, set the threshold based on the following requirements:
If you set the Alert Rule Type parameter to Alert Rule for Used Quotas, and the quota usage reaches the specified threshold, an alert notification is sent. Value range: (50%, 100%].
If you set the Alert Rule Type parameter to Alert Rule for Available Quotas, and the available quota is smaller than the specified threshold, an alert notification is sent. Value range: (0%, 50%].
Alert Callback
The webhook URL. Quota Center sends an alert notification to the specified URL by using an HTTP POST request.
For more information about the examples and parameters of alert callback requests, see What is the request content of an alert callback?
NoteBy default, Quota Center sends an alert notification about 15 minutes after the specified alert threshold is reached.
If your alert callback is integrated with the webhook of a DingTalk chatbot, you must set the custom keyword of the DingTalk chatbot to Alert and then copy the webhook URL as the URL of the alert callback.
In the left-side navigation pane, click Quota Alerts. On the Quota Alerts page, view the details about the alert rule.
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 Alert Rule panel, configure the parameters and click OK.
Parameter
Description
Alert Rule Name
The name of the alert rule.
Alert Rule Type
The type of the alert rule. Valid values:
Alert Rule for Used Quotas: The alert rule is created for quota usage.
Alert Rule for Available Quotas: The alert rule is created for the available quota.
Threshold Type
The type of the alert threshold. Valid values:
Numeric: The alert threshold is a numeric value.
Percentage: The alert threshold is a percentage.
Threshold
The alert threshold.
You must set the threshold based on the settings of the Alert Rule Type and Threshold Type parameters.
If you set the Threshold Type parameter to Numeric Value, set the threshold based on the following requirements:
If you set the Alert Rule Type parameter to Alert Rule for Used Quotas, and the quota usage reaches the specified threshold, an alert notification is sent. The alert threshold must be greater than the current usage of the quota.
If you set the Alert Rule Type parameter to Alert Rule for Available Quotas, and the available quota is smaller than the specified threshold, an alert notification is sent. The alert threshold must be smaller than the current available quota.
If you set the Threshold Type parameter to Percentage, set the threshold based on the following requirements:
If you set the Alert Rule Type parameter to Alert Rule for Used Quotas, and the quota usage reaches the specified threshold, an alert notification is sent. Value range: (50%, 100%].
If you set the Alert Rule Type parameter to Alert Rule for Available Quotas, and the available quota is smaller than the specified threshold, an alert notification is sent. Value range: (0%, 50%].
Alert Callback
The webhook URL. Quota Center sends an alert notification to the specified URL by using an HTTP POST request.
For more information about the examples and parameters of alert callback requests, see What is the request content of an alert callback?
NoteBy default, Quota Center sends an alert notification about 15 minutes after the specified alert threshold is reached.
If your alert callback is integrated with the webhook of a DingTalk chatbot, you must set the custom keyword of the DingTalk chatbot to Alert and then copy the webhook URL as the URL of the alert callback.
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 administrator account is used.
A resource directory is enabled. For more information, see Enable a resource directory.
A quota template is enabled. For more information, see the "Enable a quota template" section in this topic.
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.