All Products
Search
Document Center

Virtual Private Cloud:Manage VPC quotas

Last Updated:Feb 29, 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. Virtual Private Cloud (VPC) 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 VPC quotas by using the quota management feature provided in the VPC 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 VPC by using one of the following methods:

Procedure (VPC console)

  1. Log on to the VPC console.

  2. In the left-side navigation pane, choose O&M and Monitoring > Quota Management.

  3. On the Quota Management page, click the VPC tab in the Service section. In the Quota Type section, select the type of quota that you want to view.

    • View general quotas

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

      2. You can use keywords to search for quotas. Then, you can view the name, description, and usage of the quota.

    • View API rate limits

      1. In the Quota Type section, select API Rate Limit.

      2. You can use keywords and select a region to search for quotas. Then, you can view the version and rate limit of the API operation.

    • View privileges

      1. In the Quota Type section, select Privilege.

      2. You can specify the Quota ID condition to search for privileges and view their information such as names and descriptions.

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 (VPC console)

  1. Log on to the VPC console.

  2. In the left-side navigation pane, choose O&M and Monitoring > Quota Management.

  3. On the Quota Management page, click the VPC tab in the Service section. In the Quota Type section, select the type of quota that you want to adjust.

    • Adjust general quotas.

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

      2. Find the general quota that you want to increase and click Apply in the Actions column.

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

        Note
        • Applications are approved by the technical support team of the corresponding cloud service. When you apply for a quota increase, specify a reasonable quota value and 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.

        Alibaba Cloud reviews your application based on the information provided in the application.

      4. To view the status of the application, click Application Records or choose icon > Application Records in the Actions column.

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

    • Apply for privileges

      1. In the Quota Type section, select Privilege.

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

      3. In the Apply for Privileges dialog box, specify 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.

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

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 by using one of the following methods:

You can create alert rules for the following quota items:

  • Name: vpc_quota_secondary_cidr_num. Description: Maximum number of secondary IPv4 CIDR blocks supported by each VPC.

  • Name: vpc_privilege_allow_buy_havip_instance. Description: The privilege to purchase HAVIPs.

Procedure (VPC console)

  1. Log on to the VPC console.

  2. In the left-side navigation pane, choose O&M and Monitoring > Quota Management.

  3. On the Quota Management page, choose VPC > General Quota. Find the quota that you want to manage and click Create Alert Rule in the Actions column.

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

    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. In the Actions column of the general quota that you want to manage, click Alert 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.

Create a quota template

In scenarios where a quota template is added and in the Enabled state, if new members are added to a resource directory, the system automatically applies the quota template to the new members. Existing members are not affected. 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.

Prerequisites:

You can add a quota to a quota template by using one of the following methods:

Procedure (VPC console)

  1. Log on to the VPC console.

  2. In the left-side navigation pane, choose O&M and Monitoring > Quota Management.

  3. On the Quota Management page, click the VPC tab in the Service section. In the Quota Type section, select the type of quota that you want to manage.

    • Add a general quota to a quota template

      1. Click General Quota in the Quota Type section, find the quota that you want to add to a quota template and click Add to Quota Template in the Actions column.

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

    • Add a privilege to a quota template

      1. Click Privilege in the Quota Type section, find the privilege that you want to add to a quota template and click Add to Quota Template in the Actions column.

      2. In the Create Whitelist Quota Template dialog box, set the Quota Value, Time, and Notify Result parameters and click OK.