All Products
Search
Document Center

Server Load Balancer:Manage ALB quotas

Last Updated:Jun 25, 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 the prerequisites and procedures for managing Application Load Balancer (ALB) quotas.

Background information

Quota Center allows you to manage the quotas of various Alibaba Cloud services in a centralized manner. ALB 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 ALB quotas by using the quota management feature provided in the ALB console. If you want to manage the quotas of only your ALB service, you can use quotas by using the quota management feature provided in the ALB 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 ALB by using one of the following methods:

  • Log on to the Quota Center console and view the quotas.

  • Log on to the SLB console and view the quotas on the Quota Management page.

  • View quotas and their default values on the Quotas page in the CLB documentation.

Procedure (Quota Center)

  1. Log on to the Quota Center console.

  2. Query the quota or privilege that you want to view.

    • View general quotas

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

      2. On the Products with General Quotas page, click Application Load Balancer in the Networking section.

      3. On the General Quotas page, enter a keyword to search for the quota that you want to view. Then, you can view the name, description and usage of the quota.

    • View API rate limits

      1. In the left-side navigation pane, choose Products > API Rate Limits.

      2. On the Products with API Rate Limits page, click Application Load Balancer in the Networking section.

      3. On the API Rate Limits page, you can filter API rate limits by keyword or region. You can also view detailed information about each API rate limit, such as the version and total quota.

    • View privileges

      1. In the left-side navigation pane, choose Products > Privileges.

      2. On the Products with Privileges page, click Application Load Balancer in the Networking section.

      3. On the Privileges page, you can view detailed information about each privilege, such as the name, description, and validity period.

Procedure (SLB console)

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

  2. On the Quota Center page, click the ALB tab. Then, you can view quotas and privileges.

    • View general quotas

      1. In the Quota Type section, click the General Quota tab.

      2. You can filter general quotas by keyword and view detailed information about each general quota, such as the name, description, and usage.

    • View API rate limits

      1. In the Quota Type section, click the API Rate Limit tab.

      2. You can filter API rate limits by keyword or region. You can also view detailed information about each API rate limit, such as the version and total quota.

    • View privileges

      1. In the Quota Type section, select Privilege.

      2. You can view detailed information about each privilege, such as the name, description, and validity period.

Adjust quotas

Most of the ALB 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:

If the application is successful, the increased quota limit will be displayed in the Quota Center console and the service console.

Procedure (Quota Center)

  1. Log on to the Quota Center console.

  2. Find the quota or privilege and request an increase.

    • Increase a general quota

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

      2. On the Products with General Quotas page, click Application Load Balancer in the Networking section.

      3. On the General Quotas page, find the general quota that you want to increase and click Apply in the Actions column.

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

        Note
        • Applications are approved by the technical support team for each cloud service. 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 messages and emails.

        The more justification provided, the more likely your application will be approved.

      5. After you apply for a privilege, you can click Application Records in the left-side navigation pane to view the status of the application.

        If the application is in the Approved state, the privilege is acquired.

    • Apply for a privilege

      1. In the left-side navigation pane, choose Products > Privileges.

      2. On the Products with Privileges page, click Application Load Balancer in the Networking section.

      3. On the Privileges page, find the privilege that you want to acquire and click Apply in the Actions column.

      4. In the Apply for Privileges dialog box, set the Quota Value, Time, Reason, and Notify Result parameters. Then, click OK.

        Note
        • If you do not specify a start time for the validity period, the default start time is the time when the quota increase application is submitted. If you do not specify an end time for the validity period, the default end time is 99 years after the start time. The end time must be later than the start time.

        • Applications are reviewed and approved by the technical support team for each cloud service. To increase the success rate of your application, you must specify a reasonable quota value and a detailed reason when you submit an application.

        • Application results are sent to you by using text messages and emails.

      5. After you apply for a privilege, you can click Application Records in the left-side navigation pane to view the status of the application.

        If the application is in the Approved state, you are granted the privilege.

Procedure (SLB console)

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

  2. On the Quota Center page, click the ALB tab.

  3. On the ALB tab, apply for a quota increase or a privilege.

    • Increase a general quota

      1. In the Quota Type section, click the General Quota tab.

      2. Find the quota that you want to adjust 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
        • Applications are approved by the technical support team for each cloud service. 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.

        The more justification provided, the more likely your application will be approved.

      4. After you submit the application, you can choose image.png > Application Records in the Actions column to view the progress.

        If the application is in the Approved state, the quota is increased.

    • Apply for a privilege

      1. In the Quota Type section, click Privilege.

      2. Find the privilege that you want to apply for and click Apply in the Actions column.

      3. In the Apply for Privileges dialog box, configure the Quota Value, Time, Reason, and Notify Result parameters and click OK.

        Note
        • If you do not specify a start time for the validity period, the default start time is the time when the quota increase application is submitted. If you do not specify an end time for the validity period, the default end time is 99 years after the start time. The end time must be later than the start time.

        • Applications are reviewed and approved by the technical support team for each cloud service. To increase the success rate of your application, you must specify a reasonable quota value and a detailed reason when you submit an application.

        • Application results are sent to you by using text messages and emails.

      4. To view the status of the application, click Application Records in the Actions column. If the application is in the Approved state, you are granted the privilege.

Create an alert rule for a quota item

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.

You can create alert rules for the following quota items

Category

Quota

Description

Additional certificates

alb_quota_loadbalancer_certificates_num_basic_edition

Maximum number of additional certificates, excluding default certificates, supported by each basic ALB instance

alb_quota_loadbalancer_certificates_num_standard_edition

Maximum number of additional certificates, excluding default certificates, supported by each standard ALB instance

alb_quota_loadbalancer_certificates_num_standardwithwaf_edition

Maximum number of additional certificates, excluding default certificates, supported by each WAF-enabled ALB instance

Forwarding rules

alb_quota_loadbalancer_rules_num_basic_edition

Maximum number of forwarding rules supported by each basic ALB instance

alb_quota_loadbalancer_rules_num_standard_edition

Maximum number of forwarding rules supported by each standard ALB instance

alb_quota_loadbalancer_rules_num_standardwithwaf_edition

Maximum number of forwarding rules supported by each WAF-enabled ALB instance

Backend servers

alb_quota_loadbalancer_servers_num_basic_edition

Maximum number of backend servers supported by each basic ALB instance

alb_quota_loadbalancer_servers_num_standard_edition

Maximum number of backend servers supported by each standard ALB instance

alb_quota_loadbalancer_servers_num_standardwithwaf_edition

Maximum number of backend servers supported by each WAF-enabled ALB instance

Listeners

alb_quota_loadbalancer_listeners_num_basic_edition

Maximum number of listeners supported by each basic ALB instance

alb_quota_loadbalancer_listeners_num_standard_edition

Maximum number of listeners supported by each standard ALB instance

alb_quota_loadbalancer_listeners_num_standardwithwaf_edition

Maximum number of listeners supported by each WAF-enabled ALB instance

Server groups

alb_quota_servergroup_attached_num

Maximum number of listeners or forwarding rules supported by each server group

Backend servers (IP addresses)

alb_quota_server_added_num

Maximum number of times that a backend server (IP address) can be added to a server group

Regions

alb_quota_loadbalancers_num

Maximum number of ALB instances supported by each region

Procedure (Quota Center)

  1. Log on to the Quota Center console.

  2. Use one of the following methods to create an alert rule:

    • Method 1: On the Products with General Quotas page, click Application Load Balancer in the Networking section, and then click the General Quota tab.

    • Method 2: In the left-side navigation pane, click Quota Alerts. On the Quota Alerts page, click Create Quota Alert Rule. On the General Quotas page, select Application Load Balancer from the Product Name drop-down list.

  1. On the General Quotas page, find the quota that you want to manage and click Create Alert Rule in the Actions column.

  2. In the Create Quota Alert Rule panel, configure the parameters and click OK. The following table describes the parameters.

    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?

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

  3. In the left-side navigation pane, click Quota Alerts. On the Quota Alerts page, view the details about the alert rules.

    On the Quota Alerts page, you can manage alert rules. For example, you can view, modify, and delete alert rules.

  4. Optional. View the result of an alert callback.

    If you configure the Alert Callback parameter, you can view the alert callback records and applications that are automatically submitted to increase the quota after the alert callback succeeds.

    1. In the left-side navigation pane, click Alert History to view the alert callback records.

      If Alert Callback is displayed in the Notification Methods column of the record, the alert callback succeeded.

    2. In the left-side navigation pane, click Application Records to view the application that is automatically submitted to increase the quota.

Procedure (SLB console)

  1. Go to the Quota Management page of the SLB console.

  2. On the Quota Management page, click the ALB tab.

  3. In the Quota Type section, click the General Quota tab, find the quota that you want to manage, and then click Create Alert Rule in the Actions column.

  4. In the Create Quota Alert Rule panel, configure the parameters and click OK. The following table describes the parameters.

    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?

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

  5. Find the quota that you want to manage and choose image.png > Alert Settings in the Actions column.

  6. In the Alerts dialog box, you can view the alert rules.

Create a quota template

Before you use a quota template, make sure that the following requirements are met:

Procedure (Quota Center)

  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.

    Skip this step if you have already enabled quota templates.

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

    Skip this step if you have already enabled quota templates.

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

  5. On the Products with General Quotas page, click Application Load Balancer in the Networking section.

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

  7. In the Add to Quota Template dialog box, configure the Applied Quotas parameter and click OK.

Procedure (ALB console)

  1. Go to the Quota Management page of the SLB console.

  2. On the Quota Management page, click the ALB tab.

  3. On the Quota Management page, find the quota that you want to manage and click Add to Quota Template in the Actions column.

  4. In the Add to Quota Template dialog box, configure the Applied Quotas parameter and click OK.