Quotas and limits

This document lists the quotas and limits that apply to Network Connectivity Center and Router appliance.

To change a quota, see requesting additional quota.

A quota restricts how much of a shared Google Cloud resource your Google Cloud project can use, including hardware, software, and network components. Therefore, quotas are a part of a system that does the following:

  • Monitors your use or consumption of Google Cloud products and services.
  • Restricts your consumption of those resources, for reasons that include ensuring fairness and reducing spikes in usage.
  • Maintains configurations that automatically enforce prescribed restrictions.
  • Provides a means to request or make changes to the quota.

In most cases, when a quota is exceeded, the system immediately blocks access to the relevant Google resource, and the task that you're trying to perform fails. In most cases, quotas apply to each Google Cloud project and are shared across all applications and IP addresses that use that Google Cloud project.

There are also limits on Network Connectivity Center resources. These limits are unrelated to the quota system. Limits cannot be changed unless otherwise stated.

Quotas

This section lists quotas that apply to Network Connectivity Center and Router appliance.

Network Connectivity Center quotas

Quotas that apply to network routes for Cloud Router also apply to routes for Network Connectivity Center hubs and spokes. For more information, see Cloud Router Quotas and limits.

Item Quota Notes
Number of hubs per project Quota Per project, global
Number of Cloud VPN tunnel spokes per project per region Quota Per project in each region; only HA VPN tunnels are supported
Number of Cloud Interconnect VLAN attachment spokes per project per region Quota Per project in each region
Number of Router appliance spokes per project per region Quota Per project in each region
Number of VPC spokes per project Quota Includes VPC spokes even if they are not connected to any hub.

Number of active VPC spokes per hub

Quota

Only applicable to VPC spokes that have been accepted into a hub; not applicable to VPC spokes that are pending review or that have been rejected.

Number of routes per hub route table

Quota Only applicable to hubs with VPC spokes

Router appliance quotas

Quotas that apply to network routes for Cloud Router also apply to routes for Router appliance spokes attached to Network Connectivity Center hubs.

For more information, see Cloud Router quotas.

Limits

This section lists limits that apply to Network Connectivity Center and Router appliance.

Network Connectivity Center limits

Network Connectivity Center enforces the following usage limits.

Item Value
Number of VPN tunnels that can be linked to a spoke 8
Number of VLAN attachments that can be linked to a spoke 6
Number of router appliance instances that can be linked to a spoke 8
Number of VPC spokes (active and inactive) per hub 1,000
Number of export filters per spoke 16

Router appliance limits

The following limits for Cloud Router also apply to Router appliance:

  • The maximum number of Cloud Routers per combination of VPC network and region
  • The maximum number of BGP peers for each Cloud Router in a given VPC network and region

For more information, see Cloud Router limits.

Managing quotas

Network Connectivity Center enforces quotas on resource usage for various reasons. For example, quotas protect the community of Google Cloud users by preventing unforeseen spikes in usage. Quotas also help users who are exploring Google Cloud with the free tier to stay within their trial.

All projects start with the same quotas, which you can change by requesting additional quota. Some quotas may increase automatically based on your use of a product.

Permissions

To view quotas or request quota increases, Identity and Access Management (IAM) principals need one of the following roles.

Task Required role
Check quotas for a project One of the following:
Modify quotas, request additional quota One of the following:
  • Project Owner (roles/owner)
  • Project Editor (roles/editor)
  • Quota Administrator (roles/servicemanagement.quotaAdmin)
  • A custom role with the serviceusage.quotas.update permission

Checking your quota

Console

  1. In the Google Cloud console, go to the Quotas page.

    Go to Quotas

  2. To search for the quota that you want to update, use the Filter table. If you don't know the name of the quota, use the links on this page instead.

gcloud

Using the Google Cloud CLI, run the following command to check your quotas. Replace PROJECT_ID with your own project ID.

      gcloud compute project-info describe --project PROJECT_ID
    

To check your used quota in a region, run the following command:

      gcloud compute regions describe example-region
    

Errors when exceeding your quota

If you exceed a quota with a gcloud command, gcloud outputs a quota exceeded error message and returns with the exit code 1.

If you exceed a quota with an API request, Google Cloud returns the following HTTP status code: HTTP 413 Request Entity Too Large.

Requesting additional quota

To increase or decrease most quotas, use the Google Cloud console. For more information, see Request a higher quota.

Console

  1. In the Google Cloud console, go to the Quotas page.

    Go to Quotas

  2. On the Quotas page, select the quotas that you want to change.
  3. At the top of the page, click Edit quotas.
  4. Fill out your name, email, and phone number, and then click Next.
  5. Fill in your quota request, and then click Done.
  6. Submit your request. Quota requests take 24 to 48 hours to process.

Resource availability

Each quota represents a maximum number for a particular type of resource that you can create, if that resource is available. It's important to note that quotas do not guarantee resource availability. Even if you have available quota, you can't create a new resource if it is not available.

For example, you might have sufficient quota to create a new regional, external IP address in the us-central1 region. However, that is not possible if there are no available external IP addresses in that region. Zonal resource availability can also affect your ability to create a new resource.

Situations where resources are unavailable in an entire region are rare. However, resources within a zone can be depleted from time to time, typically without impact to the service level agreement (SLA) for the type of resource. For more information, review the relevant SLA for the resource.

What's next