配額與限制

本文列出 Network Connectivity Center 和路由器設備適用的配額與限制。

如要變更配額,請參閱申請更多配額

Google Cloud 會使用配額來確保公平性,並減少資源使用量和可用性突然暴增的情況。配額會限制專案可使用的Google Cloud 資源 Google Cloud 數量。配額適用於各種資源類型,包括硬體、軟體和網路元件。舉例來說,配額可以限制對服務發出的 API 呼叫數、專案並行使用的負載平衡器數量,或是可建立的專案數量。配額可以預防服務過載,進而保障Google Cloud 使用者社群的權益。配額也能協助您管理自己的 Google Cloud 資源。

Cloud Quotas 系統會執行下列操作:

在大多數情況下,如果您嘗試使用的資源超過配額,系統會封鎖資源存取權,導致您嘗試執行的工作失敗。

配額通常是在 Google Cloud 專案 層級套用。在一個專案中使用資源,不會影響另一個專案的可用配額。在 Google Cloud 專案中,所有應用程式和 IP 位址會共用配額。

詳情請參閱 Cloud Quotas 總覽

此外,Network Connectivity Center 資源也有系統限制。 系統限制無法變更。

配額

本節列出網路連線能力中心和路由器設備適用的配額。

Network Connectivity Center 配額

適用於 Cloud Router 網路路徑的配額,也適用於 Network Connectivity Center 中樞和輪輻的路徑。詳情請參閱 Cloud Router 的配額與限制

項目 配額 附註
每項專案的中心數 配額 每項專案,全球
每個專案在每個區域的 Cloud VPN 通道輪輻數 配額 每個區域的每個專案;僅支援高可用性 VPN 通道
每個專案在每個區域的 Cloud Interconnect VLAN 連結輪輻數量 配額 每個區域每項專案
每個區域每項專案的路由器設備 Spoke 數量 配額 每個區域每項專案
每項專案的虛擬私有雲輪輻數 配額 包括虛擬私有雲輪輻 (邊緣中心輪輻合併),即使未連線至任何中樞網路也算在內。

每個中樞的有效 VPC 輪輻數

配額

僅適用於已接受加入中樞的 VPC 輪輻;不適用於待審核或遭拒的 VPC 輪輻。

每個中樞路徑資料表的子網路路徑數量

配額 僅適用於有虛擬私有雲輪輻的中樞

每個中樞的動態路徑數

配額 適用於所有虛擬私有雲輪輻

每個中樞的轉送虛擬私有雲網路數

配額

以內部應用程式負載平衡器 IP 位址做為下一個躍點的靜態路徑數量 (每個中樞)

配額 每項專案,全球

路由器設備配額

適用於 Cloud Router 網路路徑的配額,也適用於連結至 Network Connectivity Center 中樞的路由器設備輪輻路徑。

詳情請參閱「Cloud Router 配額」。

限制

本節列出網路連線能力中心和路由器設備適用的限制。

Network Connectivity Center 限制

Network Connectivity Center 會強制執行下列用量限制。

項目
可連結至輪輻的 VPN 通道數量 8
可連結至輪輻的 VLAN 連結數量 6
可連結至輪輻的路由器設備執行個體數量 8
每個中樞的有效虛擬私有雲輪輻數量 250
每個中樞的 VPC 輪輻數量上限 (有效和無效) 1,000
每個輪輻匯出或排除的 CIDR 範圍數量 16

路由器設備限制

下列 Cloud Router 限制也適用於路由器設備:

  • 每個虛擬私有雲網路和區域組合的 Cloud Router 數量上限
  • 單一虛擬私有雲端網路和區域中,每個 Cloud Router 的 BGP 對等點數量上限

詳情請參閱 Cloud Router 限制

Manage 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 might 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

Check 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: 413 Request Entity Too Large.

Request additional quota

To adjust most quotas, use the Google Cloud console. For more information, see Request a quota adjustment.

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 don't 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 a given 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.

後續步驟