Managing CLB quotas includes querying quotas and their usage, requesting a quota increase, and setting alerts for quota usage. This topic describes how to request a quota increase and set quota alerts for Classic Load Balancer (CLB).
Background information
Alibaba Cloud Quota Center is a service that allows you to centrally manage quotas for Alibaba Cloud services. Quota Center is integrated with multiple Alibaba Cloud services, including CLB. If you use multiple Alibaba Cloud services and want to manage all your service quotas from a single interface, we recommend that you use Quota Center for centralized management.
In addition to Quota Center, CLB also provides an entry point for quota management in its own product console. If you do not need to centrally manage quotas for multiple cloud services, you can directly manage service resources on the Quota Management page in the Load Balancer console.
Permissions
By default, only Alibaba Cloud accounts are authorized to manage quotas in Quota Center. If you want to use a RAM user to perform management operations, you must first grant the RAM user permission to manage quotas, specifically, AliyunQuotasFullAccess.
View quotas
You can use any of the following methods to view the quota for CLB:
View quotas in Quota Center.
View quotas on the Quota Management page in the Server Load Balancer (SLB) console.
Go to the CLB quotas page in the documentation to view all quotas and their default values.
View quotas in Quota Center
Log on to the Quota Center console.
In the left-side navigation pane, choose .
Under the Network section, select Server Load Balancer.
On the General Quotas page, you can view information such as quota names, descriptions, and usage.
View quotas in the Server Load Balancer console
Log on to the Quota Management page in the Server Load Balancer (SLB) console.
On the Quota Center page, you can view information such as quota names, descriptions, and usage.
Request a quota increase
If your business needs for a specific CLB quota exceed the default value, and the quota is adjustable, you can apply to increase the quota in the following ways.
Submit a request in the Quota Center console.
Submit a request on the Quota Management page in the Server Load Balancer (SLB) console.
The quota items and request outcomes are the same whether you use the Quota Center console or the Quota Management page in the SLB console.
Request a quota increase in Quota Center
Log on to the Quota Center console.
In the left-side navigation pane, choose .
Under the Network section, select Server Load Balancer.
On the General Quotas page, find the target quota and click Apply in the Actions column.
In the Apply for Quotas dialog box, set Applied Quotas and Reason, and then click OK.
NoteThe technical support team for the cloud service reviews quota increase requests. To increase the chance of approval, provide a reasonable quota value and a detailed justification.
Alibaba Cloud evaluates your request based on the provided information and then approves or denies it. You are notified of the outcome by SMS and email.
In the left-side navigation pane, click Application Records to view the status of your request.
If the request status is Approved, the quota has been successfully increased.
Request a quota increase in the SLB console
Log on to the Quota Management page in the Server Load Balancer (SLB) console.
On the Quota Center page, find the target quota and click Apply in the Actions column.
In the Apply for Quotas dialog box, set Applied Quotas and Reason, and then click OK.
NoteThe technical support team for the cloud service reviews quota increase requests. To increase the chance of approval, provide a reasonable quota value and a detailed justification.
Alibaba Cloud evaluates your request based on the provided information and then approves or denies it. You are notified of the outcome by SMS and email.
After submitting the request, click the
icon in the Actions column and select Application Records to view the status of your request.If the request status is Approved, the quota has been successfully increased.
Create a quota alert
For some CLB quota items, you can create alerts by setting a threshold for quota usage or the remaining available quota. When the quota usage or remaining available quota reaches the preset threshold, the system sends an alert message to a specified callback URL by using an HTTP POST request. You can use the alert message to proactively apply for a quota increase and prevent your business from being affected.block.
CLB quota items that support alerts
Quota ID | Description | Related links |
slb_quota_instances_num | The number of CLB instances you can create under an Alibaba Cloud account. | |
slb_quota_backendservers_num | The number of backend servers you can add to a CLB instance. | |
slb_quota_listeners_num | The number of listeners you can add to a CLB instance. | |
slb_quota_domain_extensions_num | The number of additional domain names you can create for an HTTPS listener. | |
slb_quota_rules_num | The 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 | The number of CLB instances to which a single server can be added as a backend server. | |
slb_quota_certs_num | The number of server certificates you can upload per region. | |
slb_quota_ca_certs_num | The number of client CA certificates you can upload per region. | |
slb_quota_acls_num | The number of access control lists (ACLs) you can configure per account. | |
slb_quota_acl_entries_num | The number of access control entries you can add to each access control list (ACL). | |
slb_quota_acl_attached_num | The number of listeners to which a single access control list (ACL) can be associated. |
Create a quota alert in Quota Center
Log on to the Quota Center console.
In the left-side navigation pane, click Quota Alert.
On the Alarm Rules page, select the General Quotas or API Rate Limits tab, and then click Create Quota Alert.
On the Create Alarm Rule page, configure the alarm rule parameters and click Confirm.
Parameter
Description
Example
Alarm Rule Name
The name of the alarm rule.
vCPU quota alert for preemptible instances
Alarm Metric
The metric that triggers the quota alert. Valid values:
Quotas
Used Quotas
Usage
Percentage of Available Quotas
Usage
Threshold and Alarm Level
The alert level and its corresponding threshold.
The notification methods for each alert level are as follows:
Critical: email and alert callback.
Warning: email and alert callback.
Info: email and alert callback.
You must also specify the number of times the metric must reach the threshold before an alert is triggered. Valid values: 1, 3, 5, 10, 15, 30, 60, 70, 90, 120, and 180 consecutive cycles.
CloudMonitor uses different notification channels for each level. The level is triggered when the metric value falls into the corresponding threshold range.
Alert level: Info. The default notification method for this level is email and alert callback.
Threshold: >=80%.
Mute For
The mute period for a triggered alert. If the alert condition persists after this period, another notification is sent. Valid values: 5 minutes, 15 minutes, 30 minutes, 60 minutes, 3 hours, 6 hours, 12 hours, and 24 hours.
When a metric triggers an alert, CloudMonitor sends a notification. During the Mute For period, no new notifications are sent for the same alert. If the metric has not returned to normal after the period ends, CloudMonitor sends another notification.
For example, if you set Mute For to 24 hours, CloudMonitor sends another alert notification after 24 hours if the alert is not cleared.
5 minutes
Effective Time
The period during which the alarm rule is active. An alarm rule sends notifications only within the specified effective period from Monday to Sunday.
Period: Monday to Sunday
Time: 00:00 to 23:59
Alarm Contact Group
The contact group that receives alert notifications.
Alert notifications are sent to the alert contacts in the specified alert contact group. An alert contact group can contain one or more alert contacts.
For more information about how to create alert contacts and alert contact groups, see Create an alert contact or an alert contact group.
ECS Instance Quota Administrator
Alarm Callback
A publicly accessible URL that receives alert notifications from CloudMonitor via HTTP POST requests. Only the HTTP protocol is supported.
To test the connectivity of the alert callback URL, perform the following steps:
Click Test next to the callback URL.
On the Test Result page, you can check the connectivity of the alert callback URL based on the status code and details returned by the webhook.
NoteYou can also set the Language for the webhook and click Test again to obtain the test result details in the selected language.
Click Close.
http://alert.aliyun.com:8080/callback
Labels
The labels of the alarm rule. You can add up to six labels.
k1,v1Push Channel
The delivery channel for alert information. Valid values:
Simple Log Service
If you enable Simple Log Service, alert information is sent to a Logstore in Simple Log Service when an alert is triggered. You must specify the Region, ProjectName, and Logstore.
For more information about how to create a Project and a Logstore, see Use Logtail to collect and analyze text logs from ECS instances.
Message Service MNS — topic
If you enable Message Service MNS — topic, alert information is sent to a topic of Simple Message Queue (formerly MNS) when an alert is triggered. You must specify the region and topic for Simple Message Queue (formerly MNS).
For more information about how to create a topic, see Create a topic.
Function Compute
If you enable Function Compute, alert notifications are sent to Function Compute for formatting when an alert is triggered. You must specify the region, service, and function.
For more information about how to create a service and a function, see Create a function.
Turn off this feature.
Recovery Notification
If enabled, sends a notification when an alert is cleared. This feature is on by default.
Turn on this feature.
Method for Handling No Data
The action to take when monitoring data is unavailable. Valid values:
Do not do anything (Default)
Send alarm notification
Treated as normal
Do not do anything
(Optional) View alert callback results.
If you configured an alert callback, you can view the callback records and automatically submitted quota increase applications after a callback is successful.
Create a quota alert in the SLB console
Log on to the Quota Management page in the Server Load Balancer (SLB) console.
On the Quota Center page, find the target quota and click Create Alert in the Actions column.
In the Create Alarm Rule panel, configure the alarm rule parameters and click Confirm.
Basic Information: Enter a custom rule name.
Alarm Object: Information about the corresponding quota item.
Alarm Condition:
Alarm Metric: Select a metric to monitor, such as Quota, Used Quota, Usage, or Availability.
Set the Threshold and Alert Level. Specify thresholds for the Critical, Warning, and Info levels. Different notification methods are used for different levels.
Notification Method:
Select a Mute For period. This is the interval at which a new alert notification is sent if the alert is not cleared.
Configure the Effective Time and Alarm Contact Group.
Alarm Callback: When an alarm rule is triggered, CloudMonitor sends an alert message to the URL that you specify.
In the Actions column of the target general quota, click the
icon and select Alarm Rules.On the Alarm Rules page, you can view the newly created alarm rule. You can also click View, Modify, or Delete in the Actions column to manage it.
Add a quota to a quota template
Prerequisites
Before you use a quota template, make sure that the following requirements are met:
Log on using a management account.
Resource directory and the quota template feature are enabled.
Add to a quota template in Quota Center
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 dialog box, click OK.
In the left-side navigation pane, choose .
Under the Network section, select Server Load Balancer.
On the General Quotas page, find the target quota and click Add to Quota Template in the Actions column.
In the Add to Quota Template dialog box, set the Applied Quotas for the quota and click OK.
Add to quota templates in the SLB console
Log on to the Quota Management page in the Server Load Balancer (SLB) console.
On the Quota Center page, find the target quota and click Add to Quota Template in the Actions column.
In the Add to Quota Template dialog box, set the Applied Quotas for the quota and click OK.