Cloud Build 位置

Cloud Build 支持专用池中的区域级构建 和默认池

为 build 选择区域时,应主要考虑 延迟时间和可用性通常,您可以选择区域 使用 Cloud Build 的用户,但您也要考虑 其他 Google Cloud 产品和服务 可能会与您的 build 集成。跨多个位置使用服务可能会影响应用的延迟时间和价格

Cloud Build 可在以下区域使用:

  • africa-south1
  • asia-east1
  • asia-east2
  • asia-northeast1
  • asia-northeast2
  • asia-northeast3
  • asia-south1
  • asia-south2
  • asia-southeast1
  • asia-southeast2
  • australia-southeast1
  • australia-southeast2
  • europe-central2
  • europe-north1
  • europe-southwest1
  • europe-west1
  • europe-west2
  • europe-west3
  • europe-west4
  • europe-west6
  • europe-west8
  • europe-west9
  • europe-west10
  • europe-west12
  • me-central1
  • me-central2
  • me-west1
  • northamerica-northeast1
  • northamerica-northeast2
  • southamerica-east1
  • southamerica-west1
  • us-central1
  • us-east1
  • us-east4
  • us-east5
  • us-south1
  • us-west1
  • us-west2
  • us-west3
  • us-west4

选择区域

如需运行区域级构建,请在启动构建时指定区域 通过命令行创建创建构建触发器时。

如需为专用池选择区域,请在创建专用池时指定区域 专用池。 在区域内创建专用池后,便无法迁移 复制到另一个区域在特定区域中创建专用池时, 由 Google 以冗余方式 该区域内的所有可用区

如果与触发器关联的构建配置文件指定了专用池,则您为触发器选择的区域必须与专用池的区域一致。

如果您选择 global 作为构建触发器的区域,Cloud Build 将使用与触发器关联的构建配置文件中指定的区域来运行构建。这可以是专用池的区域(如果您在构建配置文件中指定了专用池)或全局默认池(如果您未指定专用池)。

部分项目的受限区域

根据使用情况,某些项目可能仅限使用 Cloud Build 以下区域:

  • us-central1
  • us-west2
  • europe-west1
  • asia-east1
  • australia-southeast1
  • southamerica-east1