This topic describes how to query Virtual Private Cloud (VPC) quotas, increase VPC quotas, and set alert rules for quotas.

Background information

Quota Center allows you to manage the quotas of various Alibaba Cloud services in a centralized manner. Quota Center is integrated with multiple Alibaba Cloud services, including VPC. If you use multiple Alibaba Cloud services and want to manage the quotas of all these services on the same page, we recommend that you use Quota Center.

In addition to Quota Center, VPC also provides a Quota Management page in the console. If you need to manage only VPC quotas, you can manage quotas on the Quota Management page in the VPC console.

Limits

By default, only Alibaba Cloud accounts are authorized to manage quotas in Quota Center. If you want to allow RAM users to manage quotas, you must first grant the AliyunQuotasFullAccess permission to the RAM users. For more information, see Authorize a RAM User.

View quotas

You can use one of the following methods to view VPC quotas:
  • Refer to the Quotas topic to check all the types of quota and the default quotas.
  • Log on to the Quota Center console to view quotas.
  • View quotas in the VPC console.

View quotas in Quota Center.

  1. Log on to the Quota Center console.
  2. In the left-side navigation pane, choose Products > General Quota.
  3. On the Products with General Quotas page, click Virtual Private Cloud.
  4. On the General Quotas page, you can view quota names, descriptions, and usage.

View quotas in the 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 Virtual Private Cloud (VPC) tab. On this tab, you can view quota names, descriptions, and usage.

Request a quota increase

If the default value of a VPC quota cannot meet your business requirements, you can request a quota increase by using one of the following methods: The quota increase takes effect regardless of the method used.

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 Quota.
  3. On the Products with General Quotas page, click Virtual Private Cloud.
  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, set the Quantity and Reason parameters, and click OK.
    Note
    • Applications are reviewed by the technical support team of 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 text message and email.
    Alibaba Cloud reviews your application based on the information provided in the application. To view the status of your application, follow the instructions in Step 6.
  6. In the left-side navigation pane, click Application Records to view the status of the application.
    If an application is in the Approved state, the related quota is increased.

Request a quota increase in the 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 Virtual Private Cloud (VPC) tab, find the quota that you want to manage, and then click Apply in the Actions column.
  4. In the Apply for Quotas dialog box, set the Quantity and Reason parameters, and click OK.
    Note
    • Applications are reviewed by the technical support team of 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 text message and email.
    Alibaba Cloud reviews your application based on the information provided in the application. To view the status of your application, follow the instructions in Step 5.
  5. After the application is submitted, you can click Application Records in the Actions column or choose pon > Application Records in the Actions column to view the status of the application.
    If an application is in the Approved state, the related quota is increased.

Create an alert rule for a quota

VPC allows you to create threshold-based alert rules for some quotas. You can specify thresholds for quota usage or remaining amount. When the quota usage or the remaining amount reaches the threshold, the system sends an alert notification to the callback URL set in the alert rule through an HTTP POST request. After you receive the notification, you can request a quota increase in advance to avoid unexpected business interruptions.

VPC allows you to create alert rules for the following quotas:
  • Quota name: vpc_quota_secondary_cidr_numq_j97gss. Description: maximum number of secondary CIDR blocks supported by the VPC.
  • Quota name: vpc_privilege_allow_buy_havip_instanceq_c5fkp8. Description: the permissions to purchase high availability virtual IP addresses (HAVIPs).

Create an alert rule for a quota in the Quota Center console

  1. Log on to the Quota Center console.
  2. In the left-side navigation pane, click Quota Alert.
  3. On the Quota Alert page, click Create Quota Alert.
  4. On the Products with General Quotas page, choose Networking > Virtual Private Cloud, find the quota, and click Create Alert in the Actions column.
  5. In the Create Quota Alert panel, set the parameters and click OK.
    Parameter Description
    Alert Name The name of the quota alert.
    Alert Type The type of the quota alert. Valid values:
    • Alert for Used Quotas: The alert is created for the used quota.
    • Alert for Available Quotas: The alert is created for the available quota.
    Threshold Type The type of the alert threshold. Valid values:
    • Numeric Value: The alert threshold is a numeric value.
    • Percentage: The alert threshold is a percentage.
    Threshold Number The threshold of the quota alert.
    You must set the threshold based on the settings of the Alert 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 Type parameter to Alert for Used Quotas, and the used quota is greater than the preset value, an alert notification is sent. The alert threshold must be greater than the current usage of the quota.
      • If you set the Alert Type parameter to Alert for Available Quotas, and the available quota is smaller than the preset value, 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 Type parameter to Alert for Used Quotas, and the used quota is greater than the preset value, an alert notification is sent. Value range: (50%, 100%].
      • If you set the Alert Type parameter to Alert for Available Quotas, and the available quota is smaller than the preset value, an alert notification is sent. Value range: (0%, 50%].
    Alert Callback The webhook URL. Quota Center sends an alert notification to a 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, the frequency of alerts in Quota Center is 15 minutes. This indicates that Quota Center sends an alert notification about 15 minutes after an alert threshold is reached.
  6. In the left-side navigation pane, click Quota Alert. On the Quota Alert page, view the details about the quota alert.
  7. Optional. View the result of an alert callback.
    If you set the Alert Callback parameter, you can view the related alert callback record and application after the alert callback succeeds. The application is automatically submitted to increase the related quota.
    1. In the left-side navigation pane, click Alert History. On the Alert History page, view the alert callback record.

      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, and view the application that is automatically submitted to increase the quota.

Create an alert rule for a quota in the 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 Virtual Private Cloud (VPC) tab, find the quota, and then click Create Alert in the Actions column.
  4. In the Create Quota Alert panel, set the parameters and click OK.
    Parameter Description
    Alert Name The name of the quota alert.
    Alert Type The type of the quota alert. Valid values:
    • Alert for Used Quotas: The alert is created for the used quota.
    • Alert for Available Quotas: The alert is created for the available quota.
    Threshold Type The type of the alert threshold. Valid values:
    • Numeric Value: The alert threshold is a numeric value.
    • Percentage: The alert threshold is a percentage.
    Threshold Number The threshold of the quota alert.
    You must set the threshold based on the settings of the Alert 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 Type parameter to Alert for Used Quotas, and the used quota is greater than the preset value, an alert notification is sent. The alert threshold must be greater than the current usage of the quota.
      • If you set the Alert Type parameter to Alert for Available Quotas, and the available quota is smaller than the preset value, 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 Type parameter to Alert for Used Quotas, and the used quota is greater than the preset value, an alert notification is sent. Value range: (50%, 100%].
      • If you set the Alert Type parameter to Alert for Available Quotas, and the available quota is smaller than the preset value, an alert notification is sent. Value range: (0%, 50%].
    Alert Callback The webhook URL. Quota Center sends an alert notification to a 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, the frequency of alerts in Quota Center is 15 minutes. This indicates that Quota Center sends an alert notification about 15 minutes after an alert threshold is reached.
  5. In the Actions column, click Alert Item.
  6. In the Alerts dialog box, you can view the alert information.

Create a quota template

You can create a quota template to increase multiple quotas at a time. Quota templates increase management efficiency.

Prerequisites:

Create 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. On the Products with General Quotas page, click Virtual Private Cloud.
  6. On the General Quotas page, find the 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, set the Applied Quotas parameter and click OK.

Create a quota template in the 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 Virtual Private Cloud (VPC) tab, find the quota, and then click Add to Quota Template in the Actions column.
  4. In the Add to Quota Template dialog box, set the Applied Quotas parameter and click OK.