NAT Gateway resources are subject to default quotas. You can view current usage, request quota increases, configure alerts, and create quota templates to enforce consistent baselines across your organization.
Two methods are available:
Quota Center -- Centrally manages quotas for multiple Alibaba Cloud services. Use Quota Center if you manage quotas across services.
VPC console -- Manages NAT Gateway quotas directly. Use the VPC console if you only need to manage VPC-related quotas.
Prerequisites
Before you begin, ensure that you have:
An Alibaba Cloud account (root account). RAM users require the AliyunQuotasFullAccess permission to manage quotas
Quota types
NAT Gateway has two quota types:
General quotas -- Resource limits such as the maximum number of NAT gateways that can be created in a VPC. Each quota has a name, description, and current usage.
API rate limits -- Throttling limits for NAT Gateway API operations. Each limit includes an API version and quota value.
View quotas
View quotas in Quota Center
Log on to the Quota Center console.
Select the quota type that you want to view.
To view general quotas:
In the left-side navigation pane, choose Products > General Quotas.
On the Products with General Quotas page, find the Networking section and click NAT Gateway.
On the General Quotas page, view the name, description, and usage of the general quotas.
To view API rate limits:
In the left-side navigation pane, choose Products > API Rate Limits.
On the Products with API Rate Limits page, find the Networking section and click NAT Gateway.
On the API Rate Limits page, filter the quotas by Region or keywords to view the version and quota value of the target API rate limit.
View quotas in the VPC console
Log on to the VPC console.
In the left-side navigation pane, choose O&M and Monitoring > Quota Management.
On the Quota Management page, in the Service section, click the NAT Gateway tab and select a Quota Type.
To view General Quota, use the search box to find the target quota and view its name, description, and usage.
To view API Rate Limit, use the search box to find the target API rate limit and view its version and quota.
Increase quotas
If your business requires a quota value greater than the default and the quota is adjustable, submit a quota increase request. The result is the same regardless of the method you use.
Quota increase requests are reviewed by the technical support team of each Alibaba Cloud service. To increase the likelihood of approval, provide a reasonable value and a detailed reason for your request. You are notified of the result by text message and email.
Increase quotas in the Quota Center console
Log on to the Quota Center console.
In the left-side navigation pane, choose Products > General Quotas.
On the Products with General Quotas page, find the Networking section and click NAT Gateway.
On the General Quotas page, find the target quota and click Apply in the Actions column.
In the Apply for Quotas dialog box, configure the following parameters and click OK.
Parameter Description Applied Quotas The new quota value you want. Reason The business reason for the increase. In the left-side navigation pane, click Application Records to view the review status of your request. A status of Approved indicates the quota increase is successful.
Increase quotas in the VPC console
Log on to the VPC console.
In the left-side navigation pane, choose O&M and Monitoring > Quota Management.
On the Quota Management page, in the Service section, click the NAT Gateway tab. Then, select General Quota, find the target quota, and click Apply in the Actions column.
In the Apply for Quotas dialog box, configure the following parameters and click OK.
Parameter Description Applied Quotas The new quota value you want. Reason The business reason for the increase. To view the review status, click Application Records in the Actions column. A status of Approved indicates the quota increase is successful.
Create a quota alert
You can create alerts for some NAT Gateway quotas by setting a threshold for either quota usage or the remaining quota. When the threshold is reached, the system sends an alert to the specified webhook address using an HTTP POST request. This helps you request a quota increase proactively and prevent service interruptions.
Create a quota alert in the Quota Center console
Go to the Alarm Rules page of the Quota Center console and click Create Quota Alarm Rule.
On the Create Alarm Rule page, configure the following parameters and click Confirm.
Section Parameter Description Basic Information Alarm Rule Name A custom name for the alert rule. Alarm Object Product Name Select NAT Gateway. Alarm Rule Alarm Metric Select a metric: Quotas, Used Quotas, Percentage of Used Quotas(%), or Percentage of Available Quotas(%). Alarm Rule Threshold and Alarm Level Set the threshold and severity level: Critical, Warning, or Info. Different notification methods are used for different alert levels. Notification Type Mute For The interval at which alert notifications are resent if the alert condition persists. Notification Type Effective Time The time window when the alert rule is active. Notification Type Alarm Contact Group The contact group that receives notifications. Notification Type Alarm Callback (Optional) A URL for CloudMonitor to send alert notifications to when the alert rule is triggered.
Create a quota alert in the VPC console
Log on to the VPC console.
In the left-side navigation pane, choose O&M and Monitoring > Quota Management.
On the Quota Management page, click the NAT Gateway tab. Then, select a Quota Type, find the target quota, and click Create Alarm Rule in the Actions column.
On the Create Alarm Rule page, configure the following parameters and click Confirm.
Section Parameter Description Basic Information Alarm Rule Name A custom name for the alert rule. Alarm Object -- Displays the quota information. Alarm Rule Alarm Metric Select a metric: Quotas, Used Quotas, Percentage of Used Quotas(%), or Percentage of Available Quotas(%). Alarm Rule Threshold and Alarm Level Set the threshold and severity level: Critical, Warning, or Info. Different notification methods are used for different alert levels. Notification Type Mute For The interval at which alert notifications are resent if the alert condition persists. Notification Type Effective Time The time window when the alert rule is active. Notification Type Alarm Contact Group The contact group that receives notifications. Notification Type Alarm Callback (Optional) A URL for CloudMonitor to send alert notifications to when the alert rule is triggered. To view, modify, or delete the alert, click Alarm Rules in the Actions column for the target quota.
Add a quota to a quota template
If a quota template is Enabled and you have added quotas to it, the template automatically submits quota increase requests for new members that the management account adds to your resource directory. The quotas for existing members are not affected. You can use a quota template to request increases for multiple quotas at the same time.
Prerequisites for quota templates
Before you add a quota to a quota template, make sure that:
You have enabled a resource directory and enabled the quota template
You are logged on as the management account of the resource directory, or as a RAM user attached to the management account with the AliyunQuotasFullAccess permission
Add a quota to a quota template in the Quota Center console
Log on to the Quota Center console.
In the left-side navigation pane, choose Products > General Quotas.
On the General Quotas page, find the Networking section and click NAT Gateway.
On the General Quotas page, find the target quota and click Create Quota Template in the Actions column.
In the Create Quota Template dialog box, set the Applied Quota for the target quota and click OK.
Add a quota to a quota template in the VPC console
Log on to the VPC console.
In the left-side navigation pane, choose O&M and Monitoring > Quota Management.
On the Quota Management page, click the NAT Gateway tab. Then, select a Quota Type, find the target quota, and click Create Quota Template in the Actions column.
In the Create Quota Template dialog box, set the Applied Quota for the target quota and click OK.