このページの一部またはすべての情報は、S3NS の Trusted Cloud に適用されない場合があります。
Artifact Registry ロケーション
リポジトリを作成するときは、そのロケーションを指定する必要があります。選択したロケーションによって、リポジトリ ストレージが作成される場所が決まります。このロケーションはリージョンと呼ばれ、東京やロンドンなどの特定の地理的な場所を表します。
Artifact Registry では、サービス固有の規約に従って、選択したロケーションにアーティファクトが保存されます。
レイテンシ、可用性、帯域幅のコストのバランスがとれた場所が適切なロケーションになります。
- リージョンを使用すると、同じリージョンにあるシステムでのアップロードとダウンロードのレイテンシとネットワーク帯域幅を最適化できます。
サポートされているリポジトリのロケーションの一覧を表示するには、次のコマンドを実行します。
gcloud artifacts locations list
ロケーションの制約
組織によっては、保存するデータのロケーションに関する特定の要件がある場合があります。組織のポリシーにリソース ロケーションの制約が含まれている場合、Artifact Registry はリポジトリの作成時にこの制約を適用します。
組織のポリシーは、既存のリポジトリに遡及的に適用されることはありません。既存の保存されたアーティファクトに新しいロケーション制約を適用するには、組織ポリシーの適用後に新しいリポジトリを作成し、古いリポジトリから新しいリポジトリにアーティファクトを移行します。gcrane ツールを使用して、リポジトリ間でイメージをコピーできます。
次のステップ
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-03-04 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-04 UTC。"],[[["\u003cp\u003eRepositories in Artifact Registry must be assigned a location, which can be either a specific region, like Tokyo, or a multi-region, such as Asia.\u003c/p\u003e\n"],["\u003cp\u003eChoosing a region helps optimize latency and network bandwidth for systems located in that same region, while multi-regions are better for interactions with systems outside the Google network or requiring high availability.\u003c/p\u003e\n"],["\u003cp\u003eStoring artifacts in the same region as Compute Engine VM instances can enhance performance, and while a specific zone cannot be selected for a repository, VMs within the same region will experience similar performance.\u003c/p\u003e\n"],["\u003cp\u003eOrganization policies may enforce location constraints on repositories, and if existing repositories need to adhere to these new constraints, new repositories must be created and artifacts migrated to them.\u003c/p\u003e\n"],["\u003cp\u003eMulti-regions include the geographic areas of \u003ccode\u003easia\u003c/code\u003e, \u003ccode\u003eeurope\u003c/code\u003e, and \u003ccode\u003eus\u003c/code\u003e, and when using Image streaming with Google Kubernetes Engine, the repository must be in the same region as the GKE nodes, or a multi-region corresponding to the nodes' region.\u003c/p\u003e\n"]]],[],null,[]]