Google Cloud 管理區域總覽

Google Cloud 管理區域和地點

使用 AWS 上的 GKE 建立的叢集位於 AWS 區域。建立叢集時,您需要指定叢集的 AWS 區域,以及管理叢集的 Google Cloud 區域。

每個 Google Cloud 區域可管理特定一組鄰近的 AWS 區域中的叢集。 舉例來說,位於奧勒岡州的 Google Cloud 區域 us-west1 會管理兩個 AWS 區域的叢集:北加州的 us-west-1 和奧勒岡州的 us-west-2。從附近的 Google Cloud 區域管理叢集可提高可用性,並縮短叢集管理作業的延遲時間。

AWS 上的 GKE 會在叢集的資源名稱中加入叢集的 Google Cloud 區域。舉例來說,在專案 my-project 中於 us-west1 區域建立的名為 my-cluster 的叢集,其資源名稱為 projects/my-project/locations/us-west1/awsClusters/my-cluster。相較之下,AWS 區域是叢集資源的一部分。您可以在 API 呼叫的 aws_region 欄位中指定。

資料本地性

如要管理叢集,GKE Multi-Cloud API 必須在您建立叢集時指定的 Google Cloud 區域中,儲存叢集狀態的相關資訊。這類資料不包括工作負載專屬資料 (儲存在叢集所在區域),但包括 AWS 資源 ID 和公開金鑰基礎架構 (PKI) 資料等資訊。

如果應用程式需要將資料儲存在特定地理區域,請在建立叢集時,指定符合需求的 AWS 區域和相關聯的Google Cloud 管理區域。

Google Cloud 區域和鄰近的 AWS 區域

下表列出 GKE on AWS 目前支援的 Google Cloud 區域,以及這些區域可管理的鄰近區域。

Google Cloud 區域 AWS 區域
asia-east2 ap-east-1
asia-northeast2 ap-northeast-1
ap-northeast-2
ap-northeast-3
asia-south1 ap-south-1
asia-southeast1 ap-east-1
ap-northeast-1
ap-southeast-1
asia-southeast2 ap-southeast-3
australia-southeast1 ap-southeast-2
europe-north1 eu-north-1
europe-west1 eu-central-1
eu-north-1
eu-south-1
eu-west-1
eu-west-2
eu-west-3
europe-west2 eu-west-2
europe-west3 eu-central-1
europe-west9 eu-west-3
northamerica-northeast1 ca-central-1
southamerica-east1 sa-east-1
us-east4 ca-central-1
us-east-1
us-east-2
us-west1 us-west-1
us-west-2

如要擷取 Google Cloud region 支援的最新 AWS 地區清單,請執行下列 gcloud 指令:

gcloud container aws get-server-config --location GOOGLE_CLOUD_REGION

GOOGLE_CLOUD_REGION 替換為您要查詢的 Google Cloud 區域名稱。