All Products
Search
Document Center

Server Load Balancer:Manage CLB quotas

更新時間:Nov 14, 2024

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.

Prerequisites

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 user 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

  1. Log on to the Quota Center console.

  2. In the left-side navigation pane, choose Products > General Quotas.

  3. Click Server Load Balancer in the Networking section.

  4. 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

  1. Log on to the SLB console. In the left-side navigation pane, click Quota Center.

  2. 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:

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

  1. Log on to the Quota Center console.

  2. In the left-side navigation pane, choose Products > General Quotas.

  3. Click Server Load Balancer in the Networking section.

  4. On the General Quotas page, find the quota that you want to manage and click Apply in the Actions column.

  5. In the Apply for Quotas dialog box, configure the Applied Quotas and Reason parameters and click OK.

    Note
    • Quota 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.

  6. 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

  1. Log on to the SLB console. In the left-side navigation pane, click Quota Center.

  2. On the Quota Center page, find the quota that you want to manage and click Apply in the Actions column.

  3. In the Apply for Quotas dialog box, configure the Applied Quotas and Reason parameters and click OK.

    Note
    • Quota 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.

  4. To view the status of your application, click Application Records in the Actions column or choose ellipsis-v2.png > Application Records 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

Create an alert rule

slb_quota_backendservers_num

Maximum number of backend servers that can be added to a CLB instance

Create an alert rule

slb_quota_listeners_num

Maximum number of listeners that can be added to a CLB instance

Create an alert rule

slb_quota_domain_extensions_num

Maximum number of additional domain names that can be created for an HTTPS listener

Create an alert rule

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

Create an alert rule

slb_quota_backendserver_attached_num

Maximum number of times that a server can be added as a CLB backend server

Create an alert rule

slb_quota_certs_num

Maximum number of server certificates that can be uploaded in a region

Create an alert rule

slb_quota_ca_certs_num

Maximum number of client certificate authority (CA) certificates that can be uploaded in a region

Create an alert rule

slb_quota_acls_num

Maximum number of network access control lists (ACLs) that can be configured for each Alibaba Cloud account

Create an alert rule

slb_quota_acl_entries_num

Maximum number of entries that can be added to an ACL

Create an alert rule

slb_quota_acl_attached_num

Maximum number of times that each ACL can be associated with different listeners

Create an alert rule

Create a quota alert in the Quota Center console

  1. Log on to the Quota Center console.

  2. In the left-side nagivation pane, choose Alarm Rules.

  3. On the Alarm Rules page, on the General Quotas tab (or click the API Rate Limits tab), click Create Quota Alarm Rule.

  4. On the Create Alarm Rule page, configure the parameters and click Confirm.

    Parameter

    Description

    Example

    Alarm Rule Name

    The name of the alert rule.

    Number of security groups reaches 80% of the threshold

    Alarm Metric

    The metric used by the alert rule. Valid values:

    • Used Quotas

    • Percentage of Used Quotas(%)

    • Available Quotas

    • Percentage of Available Quotas(%)

    Percentage of Used Quotas(%)

    Threshold

    The alert threshold.

    • When the Alarm Metric parameter is set to Used Quotas, alert notifications are sent to the current Alibaba Cloud account if the quota usage of the specified quota item reaches or exceeds the threshold.

    • When the Alarm Metric parameter is set to Percentage of Used Quotas(%), alert notifications are sent to the current Alibaba Cloud account if the quota usage of the specified quota item in percentage reaches or exceeds the threshold. Valid values: [50%,100%].

    • When the Alarm Metric parameter is set to Available Quotas, alert notifications are sent to the current Alibaba Cloud account if the remaining quota of the specified quota item is less than or equal to the threshold.

    • When the Alarm Metric parameter is set to Percentage of Available Quotas(%), alert notifications are sent to the current Alibaba Cloud account if the percentage of the remaining quota of the specified quota item is less than or equal to the threshold. Valid values: (0%,50%].

    Note

    Quota Center monitors the real-time limit of a general quota item and calculates the percentage of used quota and percentage of remaining quota based on the quota usage and quota limit.

    80%

    Notification Methods

    The method used for sending alert notifications. By default, alert notifications are sent by using emails.

    Email

    Alarm Callback

    Quota Center allows you to use the alert callback feature to subscribe to alerts. Your O&M system can automatically initiate a process to increase a quota based on the alert callback content.

    Quota Center sends an alert notification by using an HTTP POST request to the specified Internet URL.

    For more information about the examples of alert callback requests and parameters in an alert callback request, see What is the request content of an alert callback?

    Note
    • By default, Quota Center sends an alert notification about 15 minutes after the specified alert threshold is reached.

    • If your alert callbacks are 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 to receive alert callbacks.

    http://alert.aliyun.com:8080/callback

  5. 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.

    1. In the left-side navigation pane, click Alarm History. On the Alarm History page, view the alert callback records.

      If Alert callback is displayed in the Notification Methods column of a record, the alert callback is successful.

    2. In the left-side navigation pane, click Application Records. On th Appliation Records page, view the applications that were automatically submitted to increase quotas.

Create a quota alert on the Quota Center page of the SLB console

  1. Log on to the SLB console. In the left-side navigation pane, click Quota Center.

  2. On the Quota Center page, find the quota that you want to manage and click Create Alarm Rule in the Actions column.

  3. In the Create Quota Alarm Rule panel, configure the parameters and click OK.

  4. Parameter

    Description

    Example

    Alarm Rule Name

    The name of the alert rule.

    Number of security groups reaches 80% of the threshold

    Alarm Metric

    The metric used by the alert rule. Valid values:

    • Used Quotas

    • Percentage of Used Quotas(%)

    • Available Quotas

    • Percentage of Available Quotas(%)

    Percentage of Used Quotas(%)

    Threshold

    The alert threshold.

    • When the Alarm Metric parameter is set to Used Quotas, alert notifications are sent to the current Alibaba Cloud account if the quota usage of the specified quota item reaches or exceeds the threshold.

    • When the Alarm Metric parameter is set to Percentage of Used Quotas(%), alert notifications are sent to the current Alibaba Cloud account if the quota usage of the specified quota item in percentage reaches or exceeds the threshold. Valid values: [50%,100%].

    • When the Alarm Metric parameter is set to Available Quotas, alert notifications are sent to the current Alibaba Cloud account if the remaining quota of the specified quota item is less than or equal to the threshold.

    • When the Alarm Metric parameter is set to Percentage of Available Quotas(%), alert notifications are sent to the current Alibaba Cloud account if the percentage of the remaining quota of the specified quota item is less than or equal to the threshold. Valid values: (0%,50%].

    Note

    Quota Center monitors the real-time limit of a general quota item and calculates the percentage of used quota and percentage of remaining quota based on the quota usage and quota limit.

    80%

    Notification Methods

    The method used for sending alert notifications. By default, alert notifications are sent by using emails.

    Email

    Alarm Callback

    Quota Center allows you to use the alert callback feature to subscribe to alerts. Your O&M system can automatically initiate a process to increase a quota based on the alert callback content.

    Quota Center sends an alert notification by using an HTTP POST request to the specified Internet URL.

    For more information about the examples of alert callback requests and parameters in an alert callback request, see What is the request content of an alert callback?

    Note
    • By default, Quota Center sends an alert notification about 15 minutes after the specified alert threshold is reached.

    • If your alert callbacks are 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 to receive alert callbacks.

    http://alert.aliyun.com:8080/callback

  5. In the Actions column of the quota that you want to manage, click image.png > Alarm Settings.

  6. 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:

Add a quota to a quota template in the Quota Center console

  1. Log on to the Quota Center console.

  2. In the left-side navigation pane, click Quota Templates. On the Quota Templates page, click Enable Quota Template.

  3. In the Enable Quota Template message, click OK.

  4. In the left-side navigation pane, choose Products > General Quotas.

  5. Click Server Load Balancer in the Networking section.

  6. On the General Quotas page, find the quota that you want to manage and click Create Quota Template in the Actions column.

  7. 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

  1. Log on to the SLB console. In the left-side navigation pane, click Quota Center.

  2. On the Quota Center page, find the quota that you want to manage and click Create Quota Template in the Actions column.

  3. In the Create Quota Template dialog box, configure the Applied Quotas parameter and click OK.