All Products
Search
Document Center

Server Load Balancer:Manage NLB quotas

更新時間:Mar 21, 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 service quotas.

Background information

Quota Center allows you to manage the quotas of various Alibaba Cloud services in a centralized manner. Network Load Balancer (NLB) 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 NLB quotas by using the quota management feature provided in the Server Load Balancer (SLB) 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 NLB by using one of the following methods:

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

  • Log on to the SLB console. On the Quota Center page, click the NLB tab and set query conditions as prompted.

  • To view the quota items and their default values, see Quotas.

View general quotas in Quota Center

  1. Log on to the Quota Center console.

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

  3. On the Products with General Quotas page, click Network Load Balancer in the Networking section.

  4. On the General Quotas page, view the names, description, and usage of the quotas.

View quotas in 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, click the NLB tab.

  3. On the NLB tab, view the names, descriptions, and usage of the quotas.

Adjust quotas

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:

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. In the left-side navigation pane, choose Products > General Quotas.

  3. On the Products with General Quotas page, click NLB 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
    • Applications are reviewed and 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.

  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.

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

  3. On the NLB tab, find the quota that you want to manage 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 reviewed and 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.

  5. To view the status of an application, click Application Records in the Actions column.

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

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.

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 Network Load Balancer in the Networking section to open the General Quotas page.

    • 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 Network Load Balancer from the 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 Center page, click the NLB 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

After you create a quota template, the quota template is enabled by default. If the administrator account adds a member to the resource directory, the quota template automatically submits a quota increase request for the member. The quota values for existing members remain unchanged. You can use a quota template to apply for increases on multiple quotas at a time. This automated approach can improve the efficiency of quota management across your organization.

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

  • An enterprise administrator account is used to log on to the console.

  • Resource Directory is activated. For more information, see Enable a resource directory.

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

    If quota templates are enabled, skip this step.

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

    If quota templates are enabled, skip this step.

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

  5. On the Products with General Quotas page, click NLB 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.

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

  3. On the NLB tab, find the quota that you want to manage and click Create Quota Template in the Actions column.

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