Infrastructure Manager 位置

Infrastructure Manager 可以將資源部署至任何可用的 Google Cloud 區域或可用區。舉例來說,如需 Cloud Run 適用位置的清單,請參閱「Cloud Run 位置」。

使用 Google Cloud 控制台建立部署時,或直接在 Terraform 設定中,或以變數形式設定為 gcloud CLI create a deployment 指令的一部分時,系統會指定資源的部署位置。

如果您使用儲存空間 bucket 儲存 Terraform 設定,這個儲存空間 bucket 可以位於任何 bucket 位置。詳情請參閱「值區位置」。

Infra Manager 服務可在下列區域和多區域使用。Infra Manager 會在這些位置執行 Cloud Build 工作,並建立儲存空間 bucket,以及儲存產生的構件和記錄。

如要進一步瞭解地區和區域,請參閱「地理位置與區域」一文。

Infra Manager 的位置類型

您可以根據可用性和延遲時間需求,在不同類型的位置建立 Infra Manager 資源:

  • 單一區域位置:單一區域位置包含特定地理位置的資料中心 (例如 us-central1)。在單一區域建立的部署作業會執行 Cloud Build 工作,並將狀態檔案和構件專門儲存在該區域。由於不需要跨區域複製資料,因此區域部署通常速度較快,費用也較低。
  • 多區域位置:多區域位置是大型地理區域 (例如 us),內含多個獨立區域。在多個區域中建立的部署作業會將部署中繼資料和 Terraform 狀態檔案複製到多個資料中心,以提高可用性和備援能力。系統會主動在多區域內,將連入要求負載平衡至狀況良好的執行個體。

在多區域位置建立的部署作業,與在個別區域建立的部署作業在邏輯上有所不同。

多區域

Infra Manager 適用於下列多個區域:

多地區名稱 說明 納入的區域
us 美國資料中心 us-central1、us-east4

在多個區域中使用 Cloud Build worker 集區

由於 Cloud Build 私人工作站集區是嚴格的單一區域資源,因此使用私人工作站集區進行多區域部署 (例如 us) 時,需要進行下列設定:

  1. 在多區域的所有成員區域中建立相同的區域工作站集區。針對 us 多區域,在 us-central1 和 us-east4 中建立具有完全相同 ID 和設定的私人 worker 集區:
    • projects/PROJECT_ID/locations/us-central1/workerPools/WORKER_POOL_ID
    • projects/PROJECT_ID/locations/us-east4/workerPools/WORKER_POOL_ID
  2. 在 Infra Manager 要求中,參照 locations/us 指定多區域位置: text projects/PROJECT_ID/locations/us/workerPools/WORKER_POOL_ID 部署作業執行時,Infra Manager 會自動將建構工作導向處理要求的區域中,相符的區域工作站集區。

區域

Infra Manager 適用於下列區域。如要進一步瞭解地區和區域,請參閱「地理位置與區域」一文。

Asia Pacific

The following table lists the available regions in Asia Pacific.

Region description Region name
Tokyo, Japan asia-northeast1
Osaka, Japan asia-northeast2
Seoul, South Korea asia-northeast3
Taiwan asia-east1
Hong Kong asia-east2
Mumbai, India asia-south1
Delhi, India asia-south2
Singapore asia-southeast1
Jakarta, Indonesia asia-southeast2
Bangkok, Thailand asia-southeast3
Sydney, Australia australia-southeast1
Melbourne, Australia australia-southeast2

Europe

The following table lists the available regions in Europe.

Region description Region name
Hamina, Finland europe-north1
Stockholm, Sweden europe-north2
Warsaw, Poland europe-central2
St. Ghislain, Belgium europe-west1
London, England europe-west2
Frankfurt, Germany europe-west3
Milan, Italy europe-west8
Paris, France europe-west9
Berlin, Germany europe-west10
Turin, Italy europe-west12
Eemshaven, Netherlands europe-west4
Zurich, Switzerland europe-west6
Madrid, Spain europe-southwest1

Americas

The following table lists the available regions in the Americas.

Region description Region name
Moncks Corner, South Carolina us-east1
Columbus, Ohio us-east5
Ashburn, Virginia us-east4
The Dalles, Oregon us-west1
Los Angeles, California us-west2
Salt Lake City, Utah us-west3
Las Vegas, Nevada us-west4
Council Bluffs, Iowa us-central1
Dallas, Texas us-south1
Montréal, Canada northamerica-northeast1
Toronto, Canada northamerica-northeast2
Queretaro, Mexico northamerica-south1
São Paulo, Brazil southamerica-east1
Santiago, Chile southamerica-west1

Middle-East and Africa

The following table lists the available regions in the Middle-East and Africa.

Region description Region name
Johannesburg, South Africa africa-south1
Doha, Qatar me-central1
Dammam, Saudi Arabia me-central2
Tel Aviv, Israel me-west1

後續步驟