Bevor Sie Cloud Workstations verwenden, müssen Sie die erforderlichen Berechtigungen haben und die erforderlichen Einrichtungsschritte ausführen.
Sie können diesen Abschnitt überspringen, wenn Sie diese Einrichtung bereits abgeschlossen haben.
Sign in to your Google Cloud account. If you're new to
Google Cloud,
create an account to evaluate how our products perform in
real-world scenarios. New customers also get $300 in free credits to
run, test, and deploy workloads.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
Sie benötigen eine Cloud Workstations-Administrator-IAM-Rolle für das Projekt, damit Sie Workstation-Konfigurationen erstellen können.
So prüfen Sie Ihre IAM-Rollen in der Google Cloud Console: Rufen Sie die Seite IAM auf:
Cloud Workstations werden auf VMs gehostet, die von den vorkonfigurierten öffentlichen Container-Optimized OS (COS)-Images von Compute Engine gebootet werden. Wenn die Organisationsrichtlinienbeschränkung constraints/compute.trustedimageProjects erzwungen wird, müssen Sie Beschränkungen für den Bildzugriff festlegen, damit Nutzer Bootlaufwerke aus projects/cos-cloud oder allen öffentlichen Images erstellen können.
Optional:Aktivieren Sie die Container File System API, um den Start von Workstations zu beschleunigen.
Workstationcluster definieren eine Gruppe von Workstations in einer bestimmten Region, verwalten Workstations während ihres Lebenszyklus und bieten konfigurierbare Netzwerkverbindungen.
Workstation-Cluster haben keinen Bezug zu Google Kubernetes Engine-Clustern (GKE).
So erstellen Sie einen Workstation-Cluster:
Rufen Sie in der Console die Seite Cloud Workstations>Clusterverwaltung auf.
Klicken Sie auf der Seite Clusterverwaltung der Workstations auf add_boxErstellen.
Geben Sie im Feld Name einen Namen für den Workstation-Cluster ein.
Wählen Sie die Region aus, die Ihnen am nächsten ist.
Optional: Wenn Sie Ihre Workstations in einer VPC erstellen möchten, maximieren Sie den Bereich Netzwerkeinstellungen und wählen Sie Ihr benutzerdefiniertes Netzwerk aus.
Geben Sie im Feld Netzwerk den Namen für Ihr Netzwerk ein, z. B. test-network.
Geben Sie im Feld Subnetzwerk den Namen für Ihr Subnetzwerk ein, z. B. test-subnetwork.
Wählen Sie im Bereich Gateway-TypÖffentliches Gateway oder Privates Gateway aus.
Wenn Sie Ihre Workstations über öffentliche Netzwerke zugänglich machen möchten, wählen Sie Öffentliches Gateway aus.
Wenn Sie Datenspeicherort für Daten während der Übertragung benötigen, wählen Sie Privates Gateway aus.
Wenn Sie eingehenden und ausgehenden Traffic zum Workstationdienst nur aus dem ausgewählten Netzwerk zulassen möchten, wählen Sie Privates Gateway aus.
Weitere Informationen zum Erstellen privater Cluster finden Sie unter VPC Service Controls und private Cluster konfigurieren.
Klicken Sie auf Erstellen, um den Cluster zu erstellen.
Das Erstellen eines Workstation-Clusters kann bis zu 20 Minuten dauern, ist in den meisten Fällen aber nur einmal erforderlich.
Bereinigen
So löschen Sie einen Workstation-Cluster aus der Google Cloud Console:
Rufen Sie in der Google Cloud Console Cloud Workstations > Cluster auf.
Klicken Sie auf das Kästchen neben dem Cluster, den Sie löschen möchten.
Klicken Sie auf das Menü more_vertWeitere Optionen und wählen Sie Löschen aus, um den ausgewählten Workstation-Cluster zu löschen.
Weitere Informationen zum Löschen von Workstations, Workstation-Konfigurationen und Google Cloud Projekten finden Sie unter Ressourcen löschen.
[[["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-08-11 (UTC)."],[],[],null,["# Create a workstation cluster\n\nLearn how to get started creating a workstation cluster with Cloud Workstations.\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nTo follow step-by-step guidance for this task directly in the\nGoogle Cloud console, click **Guide me**:\n\n[Guide me](https://console.cloud.google.com/freetrial?redirectPath=/?walkthrough_id=workstations--create-cluster)\n\n*** ** * ** ***\n\nBefore you begin\n----------------\n\nBefore you begin using Cloud Workstations, be sure that you have the\n[required permissions](/workstations/docs/access-control#enable_required_roles)\nand that you complete these required setup steps.\nYou can skip this section if you've already completed this setup.\n\nSign in to your Google Cloud account. If you're new to Google Cloud, [create an account](https://console.cloud.google.com/freetrial) to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.\n\nIn the Google Cloud console, on the project selector page,\nselect or create a Google Cloud project.\n| **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n[Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n\n\n[Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n\nEnable the Cloud Workstations API.\n\n\n[Enable the API](https://console.cloud.google.com/flows/enableapi?apiid=workstations.googleapis.com) \nIn the Google Cloud console, on the project selector page,\nselect or create a Google Cloud project.\n| **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n[Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n\n\n[Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n\nEnable the Cloud Workstations API.\n\n\n[Enable the API](https://console.cloud.google.com/flows/enableapi?apiid=workstations.googleapis.com)\n1.\n\n\n Enable the Cloud Workstations API.\n\n\n [Enable the API](https://console.cloud.google.com/flows/enableapi?apiid=workstations.googleapis.com)\n2. Make sure that you have a Cloud Workstations Admin IAM role on the\n project so that you can create workstation configurations.\n To check your IAM roles in the Google Cloud console, go to the\n **IAM** page:\n\n [Go to IAM](https://console.cloud.google.com/iam-admin/iam)\n3. Cloud Workstations are hosted on VMs booted from Compute Engine's preconfigured public [Container-Optimized OS (COS)](/compute/docs/images/os-details#container-optimized_os_cos) images. If the `constraints/compute.trustedimageProjects` organization policy constraint is enforced, you must [set image access constraints](/compute/docs/images/restricting-image-access#trusted_images) to allow users to create boot disks from `projects/cos-cloud` or all public images.\n4. **Optional:** Enable the Container File System API to allow faster workstation startup.\n\n\n [Enable the Container File System API](https://console.cloud.google.com/apis/library/containerfilesystem.googleapis.com?q=container%20file%20system)\n\n \u003cbr /\u003e\n\n For more information, see\n [Reduce workstation startup time with\n Image streaming](/workstations/docs/architecture#image-streaming).\n\nCreate your workstation cluster\n-------------------------------\n\nWorkstation clusters define a group of workstations in a particular region,\nmanage workstations during their lifecycle, and provide configurable\nnetwork connectivity.\n\nWorkstation clusters aren't related to Google Kubernetes Engine (GKE) clusters.\n\nTo create a workstation cluster, follow these steps:\n\n1. In the console,\n navigate to the **Cloud Workstations** \\\u003e\n **Cluster management** page.\n\n\n [Go to Cluster management](https://console.cloud.google.com/workstations/clusters)\n\n \u003cbr /\u003e\n\n2. From the workstations **Cluster management** page, click\n add_box**Create**.\n\n3. In the **Name** field, enter a name for your workstation cluster.\n\n4. Select the **Region** that is closest to you.\n\n5. Optional: To create your workstations inside a\n [VPC](/vpc/docs/vpc),\n expand the **Network settings** section and select your custom network.\n\n 1. In the **Network** field, enter the name for your network---for example,\n `test-network`.\n\n 2. In the **Subnetwork** field, enter the name for your subnetwork---for\n example, `test-subnetwork`.\n\n 3. In the **Gateway type** section, select **Public gateway** or\n **Private gateway**.\n\n - To make your workstations accessible from public networks, select\n **Public gateway**.\n\n - If you require [data residency](/assured-workloads/docs/data-residency)\n for data in transit, select **Private gateway**.\n\n - To allow ingress and egress to the workstations service from inside\n the selected network, select **Private gateway** .\n For more information about creating a private clusters, see\n [Configure VPC Service Controls and private clusters](/workstations/docs/configure-vpc-service-controls-private-clusters)\n\n6. Click **Create**, which begins the cluster creation process.\n\nWorkstation cluster creation can take up to 20 minutes, but in most\ncases is only needed once.\n\n\nClean up\n--------\n\nTo delete a workstation cluster from the Google Cloud console:\n\n1. In the Google Cloud console, go to **Cloud Workstations \\\u003e Clusters**.\n2. Select the checkbox beside the cluster that you want to delete.\n3. Click themore_vert**More** options menu and select **Delete** to delete the selected workstation cluster.\n\nFor more about deleting workstations, workstation configurations, and Google Cloud projects, see [Delete resources](/workstations/docs/delete-resources).\n\n\u003cbr /\u003e\n\nWhat's next\n-----------\n\n- Learn more about configuring options in your\n [workstation configuration](/workstations/docs/create-configuration).\n\n- Use the\n [Cloud Workstations base editor](/workstations/docs/base-editor-overview)."]]