Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Funktionen von Cloud Build
Auf dieser Seite werden einige optionale Konfigurationen zum Erstellen der Cortex Framework Data Foundation mit Cloud Build-Funktionen beschrieben, z. B. das Erstellen in einer bestimmten Region oder die Verwendung eines privaten Worker-Pools. Diese Konfigurationen bieten erhebliche Vorteile in Bezug auf Datenschutz, Leistung, Sicherheit und Anpassung. Der beste Ansatz hängt von Ihren spezifischen Anforderungen und der Art Ihrer Anwendung ab.
Build in einer bestimmten Region erstellen
Mit Regional Building wird dafür gesorgt, dass Ihre Daten in einer bestimmten geografischen Region verbleiben. So können Sie lokale Datenschutzbestimmungen einhalten und die Verfügbarkeit und Latenz reduzieren. Weitere Informationen finden Sie unter Cloud Build-Standorte.
Wenn Sie das Deployment in einer bestimmten Region ausführen möchten, fügen Sie den Substitutionsparameter _CLOUD_BUILD_REGION
mit dem Bash-Parameter --region
hinzu, wie im folgenden Befehl:
gcloud builds submit \
--config=./cloudbuild.yaml \
--substitutions=_GCS_BUCKET=BUCKET_FOR_LOGS,_CLOUD_BUILD_REGION=REGION \
--region=REGION
Ersetzen Sie Folgendes:
BUCKET_FOR_LOGS
durch den Bucket-Namen für die Logs.
REGION
durch die Region für Ihre Bereitstellung.
Weitere Informationen zu verfügbaren Regionen finden Sie unter Geografie und Regionen.
Build mit einem privaten Worker-Pool erstellen
Die Verwendung eines privaten Worker-Pools bietet eine sicherere Umgebung für Ihre Builds.
Private Pools sind private, dedizierte Worker-Pools, die eine Anpassung der Build-Umgebung ermöglichen, einschließlich des Zugriffs auf Ressourcen in einem privaten Netzwerk. Weitere Informationen finden Sie unter Übersicht über private Pools.
Um einen privaten Worker zu konfigurieren, fügen Sie _WORKER_POOL_NAME
mit dem entsprechenden _CLOUD_BUILD_REGION
-Parameter hinzu, wie im folgenden Befehl:
gcloud builds submit \
--config=./cloudbuild.yaml
--substitutions=_GCS_BUCKET=BUCKET_FOR_LOGS,_WORKER_POOL_NAME='projects/SOURCE_PROJECT/locations/us-central1/workerPools/YOUR_WORKER_POOL_NAME',_CLOUD_BUILD_REGION=REGION \
--region=REGION
Ersetzen Sie Folgendes:
BUCKET_FOR_LOGS
durch den Bucket-Namen für die Logs.
SOURCE_PROJECT
mit dem Quellprojekt für die Bereitstellung von Cortex Framework Data Foundation.
- Ersetzen Sie
YOUR_WORKER_POOL_NAME
durch den Namen für Ihren Worker-Pool.
REGION
durch die Region für Ihre Bereitstellung.
Weitere Informationen zu verfügbaren Regionen finden Sie unter Geografie und Regionen.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-09-04 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[[["\u003cp\u003eThis document outlines optional configurations for building the Cortex Framework Data Foundation using Cloud Build features to enhance data privacy, performance, security, and customization.\u003c/p\u003e\n"],["\u003cp\u003eDeployments can be run through a user-created service account, specified with the \u003ccode\u003e_BUILD_ACCOUNT\u003c/code\u003e substitution parameter, allowing a deployment process without direct resource access.\u003c/p\u003e\n"],["\u003cp\u003eYou can ensure data remains within a specific geographical boundary by utilizing the regional building feature, activated by adding the \u003ccode\u003e_CLOUD_BUILD_REGION\u003c/code\u003e substitution parameter with the \u003ccode\u003e--region\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eA private worker pool can be configured for a more secure build environment, enabling customization and access to private network resources, by specifying the \u003ccode\u003e_WORKER_POOL_NAME\u003c/code\u003e and \u003ccode\u003e_CLOUD_BUILD_REGION\u003c/code\u003e parameters.\u003c/p\u003e\n"]]],[],null,["# Cloud Build features\n====================\n\nThis page describes some optional configurations to build the\nCortex Framework Data Foundation with Cloud Build features,\nsuch as building in a specific region\nor using a private worker pool. These configurations offer significant benefits\nin terms of data privacy, performance, security, and customization. The best\napproach depends on your specific requirements and the nature of your application.\n\nBuild in a specific region\n--------------------------\n\nRegional Building ensures that your data remains within a specific geographic\nregion. This can help you to comply with local data privacy regulation,\navailability and latency reduction. For more information, see\n[Cloud Build locations](/build/docs/locations).\n\nTo run the deployment through a specific [region](/build/docs/locations#selecting_the_region),\nadd the substitution parameter `_CLOUD_BUILD_REGION` with `--region` bash parameter,\nas the following command: \n\n gcloud builds submit \\\n --config=./cloudbuild.yaml \\\n --substitutions=_GCS_BUCKET=\u003cvar translate=\"no\"\u003eBUCKET_FOR_LOGS\u003c/var\u003e,_CLOUD_BUILD_REGION=\u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e \\\n --region=\u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eBUCKET_FOR_LOGS\u003c/var\u003e with the bucket name for the logs.\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e with the region for your deployment. For more information about available regions, see [Geography and regions](/docs/geography-and-regions).\n\nBuild with a private worker pool\n--------------------------------\n\nUsing a [private worker pool](/build/docs/private-pools/run-builds-in-private-pool)\nprovides a more secure environment for your builds.\nPrivate pools are private, dedicated pools of workers that offer\ncustomization over the build environment, including the ability to access\nresources in a private network. For more information, see\n[Private pools overview](/build/docs/private-pools/private-pools-overview).\n\nTo configure a private worker, add the `_WORKER_POOL_NAME` with corresponding\n`_CLOUD_BUILD_REGION` parameter, as the following command: \n\n gcloud builds submit \\\n --config=./cloudbuild.yaml\n --substitutions=_GCS_BUCKET=\u003cvar translate=\"no\"\u003eBUCKET_FOR_LOGS\u003c/var\u003e,_WORKER_POOL_NAME='projects/\u003cvar translate=\"no\"\u003eSOURCE_PROJECT\u003c/var\u003e/locations/us-central1/workerPools/\u003cvar translate=\"no\"\u003eYOUR_WORKER_POOL_NAME\u003c/var\u003e',_CLOUD_BUILD_REGION=\u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e \\\n --region=\u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eBUCKET_FOR_LOGS\u003c/var\u003e with the bucket name for the logs.\n- \u003cvar translate=\"no\"\u003eSOURCE_PROJECT\u003c/var\u003e with the source project for Cortex Framework Data Foundation deployment.\n- \u003cvar translate=\"no\"\u003eYOUR_WORKER_POOL_NAME\u003c/var\u003e with the name for your worker pool.\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e with the region for your deployment. For more information about available regions, see [Geography and regions](/docs/geography-and-regions)."]]