Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Erste Schritte beim Erstellen einer Workstation mit Cloud Workstations
Eine Workstation ist eine vorkonfigurierte Entwicklungsumgebung, die Administratoren oder Plattformteams in einer Workstation-Konfiguration definieren. Die Workstation-Konfiguration enthält das Container-Image, das von der Workstation verwendet wird. Ihre Administratoren wählen aus, ob eines der vorkonfigurierten Basis-Images von Cloud Workstations verwendet werden soll oder ob ein Verweis auf ein benutzerdefiniertes Container-Image angegeben werden soll.
Eine detaillierte Anleitung dazu finden Sie direkt in der Google Cloud Console. Klicken Sie dazu einfach auf Anleitung:
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.
Optional: Wenn Sie in der Google Cloud Console keine Workstation-Konfigurationen haben, bitten Sie Ihren Administrator, eine Workstation-Konfiguration für Sie zu erstellen. Alternativ können Sie sich selbst die IAM-Rolle „Cloud Workstations Admin“ für das Projekt zuweisen, damit Sie diese Ressourcen selbst erstellen können.
So prüfen Sie Ihre IAM-Rollen: Rufen Sie in der Google Cloud Console die Seite „IAM“ auf:
Der Link Erstellen ist möglicherweise deaktiviert, wenn im Projekt keine Workstationkonfigurationen vorhanden sind oder Sie keine Berechtigungen zum Aufrufen dieser Workstations haben.
Bitten Sie den Cloud Workstations-Administrator Ihrer Organisation, eine Workstationkonfiguration für Sie zu erstellen.
Übernehmen Sie den standardmäßigen Workstation-Namen.
Sie können auch einen eigenen Ressourcennamen für Ihre Workstation eingeben, z. B. test-workstation.
Halten Sie sich an die Namenskonventionen für Compute Engine-Ressourcen und wählen Sie einen Namen aus, der innerhalb des Workstation-Clusters eindeutig ist.
Klicken Sie auf den arrow_drop_downErweiterungspfeil im Feld Konfiguration und wählen Sie die Workstationkonfiguration aus, um Ihre Workstation zu definieren.
Klicken Sie auf Erstellen, um die Workstation zu erstellen.
Workstation starten
Nachdem Sie die Workstation erstellt haben, können Sie sie starten und dann aktivieren, um mit der Entwicklung zu beginnen.
Klicken Sie auf Arbeitsplätze.
Suchen Sie in der Liste der verfügbaren Workstations nach der von Ihnen erstellten Workstation, setzen Sie ein Häkchen daneben und klicken Sie dann auf Starten. Dadurch wird Ihre Workstation gestartet und mit der Konfiguration der übergeordneten Workstation abgeglichen.
Wenn Sie aufgefordert werden, die Workstation zu starten, klicken Sie zur Bestätigung auf Starten.
Der Status ändert sich zu Wird gestartet und das Statussymbol refresh dreht sich, während der Startvorgang läuft. Es kann einige Minuten dauern, bis die Workstation gestartet ist.
Wenn Ihre Workstation bereit ist, ändert sich der Status in Wird ausgeführt und das Statussymbol ändert sich in ein check_circle Häkchen.
Klicken Sie auf Starten. Die Workstation stellt standardmäßig eine Verbindung zu Port 80 her.
Optional: Sie können auch neben Starten auf den arrow_drop_downAufklapppfeilarrow_drop_down klicken und eine der Startoptionen aus der Liste auswählen:
Mit Port 80 verbinden (Standard)
Verbindung zur Webanwendung über Port herstellen
Portweiterleitung
Über SSH verbinden
Mit JetBrains Gateway starten (wenn Sie eine JetBrains-IDE verwenden)
Das folgende Beispiel zeigt die Startseite für den Basiseditor von Cloud Workstations.
Ihre Seite kann je nach Definition Ihrer Arbeitsplatzkonfiguration unterschiedlich aussehen:
Weitere Informationen zum Herstellen einer Verbindung über SSH finden Sie unter SSH-Unterstützung.
So löschen Sie eine Workstation aus der Google Cloud -Konsole:
Wechseln Sie in der Google Cloud Console zu Cloud Workstations>Workstations.
Klicken Sie das Kästchen neben der Arbeitsstation an, die Sie löschen möchten.
Klicken Sie auf das Menü more_vertWeitere Optionen und wählen Sie Löschen aus, um die ausgewählte Arbeitsstation zu löschen.
Wenn in Ihrer Workstation-Konfiguration nichtflüchtige Speicher verwendet werden und die Reaktivierungsrichtlinie so festgelegt ist, dass nichtflüchtige Speicher nach dem Löschen der Workstation beibehalten werden, sollten Sie Ihren Cloud Workstations-Administrator daran erinnern, den nichtflüchtigen Speicher manuell für Sie zu löschen.
Weitere Informationen zum Löschen von Workstation-Konfigurationen, Workstation-Clustern 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 and launch a workstation\n\nLearn how to get started creating a workstation with Cloud Workstations.\n\nA *workstation* is a preconfigured development environment that administrators\nor platform teams define in a *workstation configuration* . The workstation\nconfiguration includes the container image used by the workstation. Your\nadministrators choose whether to use one of the Cloud Workstations\n[preconfigured base images](/workstations/docs/preconfigured-base-images)\nor whether to provide a reference to a\n[customized container image](/workstations/docs/customize-container-images).\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=/?journey_id=workstations--set-up--intro&walkthrough_id=workstations--set-up--launch)\n\n*** ** * ** ***\n\n### Before you begin\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. Optional: If you don't have workstation configurations available in the\n [Google Cloud console](https://console.cloud.google.com/workstations/),\n ask your administrator to create a workstation configuration for\n you, or make sure that you have a Cloud Workstations Admin IAM role on the\n project so that you can create these resources yourself.\n To check your IAM roles, go to the IAM\n page in the Google Cloud console:\n\n [Go to IAM](https://console.cloud.google.com/iam-admin/iam)\n\nCreate a workstation\n--------------------\n\nTo create a workstation, follow these steps:\n\n\u003cbr /\u003e\n\n1. In the Google Cloud console, navigate to the\n **Cloud Workstations** \\\u003e **Workstations**\n page.\n\n\n [Go to Workstations](https://console.cloud.google.com/workstations/list)\n\n \u003cbr /\u003e\n\n2. Click add_box**Create**.\n\n The **Create** link might be disabled if there aren't any\n workstation configurations in the project or if you don't have permissions\n to view them.\n Ask your organization's Cloud Workstations Admin to create a\n workstation configuration for you.\n\n3. Accept the default workstation **Name**.\n\n If you prefer, you can enter your own resource name for your\n workstation---for example, `test-workstation`.\n Follow the Compute Engine resource\n [naming conventions](/compute/docs/naming-resources)\n and choose a name that is unique within the workstation cluster.\n\n4. Click the arrow_drop_downexpander\n arrow in the **Configuration** field and select the\n workstation configuration to define your workstation.\n\n5. Click **Create**\n to create your workstation.\n\nLaunch a workstation\n--------------------\n\nNow that you have created a workstation, you can start it and then launch it to begin development:\n\n\u003cbr /\u003e\n\n1. Click **Workstations**.\n2. Find the workstation that you created in the list of available workstations, select the checkbox beside it, and then click **Start**. This starts your workstation, and matches it to the parent workstation configuration.\n3. If prompted to start your workstation, click **Start** to confirm. The status changes to **Starting** and the status icon refreshspins while the start operation is in progress. It might take a few minutes to start your workstation.\n4. When your workstation is ready, the status changes to **Running** and the status icon changes to a check_circle checkmark.\n5. Click **Launch** . The workstation connects to port `80` by default.\n\n\n Optional: You can also click the\n arrow_drop_downexpander\n arrow next to **Launch** and select from the list of launch options:\n - **Connect to port 80** (default)\n - **Connect to web app on port**\n - **Port forwarding**\n - **Connect using SSH**\n - **Launch with JetBrains Gateway** (if you are using a JetBrains IDE)\n6. The following example shows the welcome page for the Cloud Workstations\n [base editor](/workstations/docs/base-editor-overview).\n Your page might look different, depending on how you define your\n workstation configuration:\n\n For more information about connecting through SSH, see\n [SSH support](/workstations/docs/ssh-support).\n\n For more information about connecting to web apps running on your\n workstation, see\n [Access HTTP servers running on a workstation](/workstations/docs/access-http-servers-running-on-workstations).\n\nClean up\n--------\n\nTo delete a workstation from the Google Cloud console:\n\n1. In the Google Cloud console, go to **Cloud Workstations** \\\u003e **Workstations**.\n2. Select the checkbox beside the workstation that you want to delete.\n3. Click themore_vert**More** options menu and select **Delete** to delete the selected workstation.\n\nIf your workstation configuration uses persistent disks and the\n[reclaim policy](/workstations/docs/reference/rest/v1/projects.locations.workstationClusters.workstationConfigs#reclaimpolicy)\nis set to retain persistent disks after you delete the workstation, be sure to\nremind your Cloud Workstations Admin to manually delete the\npersistent disk for you.\n\n\nFor more about deleting workstation configurations,\nworkstation clusters, and Google Cloud projects,\nsee [Delete resources](/workstations/docs/delete-resources).\n\nWhat's next\n-----------\n\n- Use the\n [Cloud Workstations base editor](/workstations/docs/base-editor-overview).\n\n- Learn more about configuring additional options in your\n [workstation configuration](/workstations/docs/create-configuration).\n\n- Customize your\n [workstation configuration](/workstations/docs/customize-development-environment)\n through the API.\n\n- Create [customized container images](/workstations/docs/customize-container-images)\n that extend the\n [preconfigured base images](/workstations/docs/preconfigured-base-images)\n provided by Cloud Workstations."]]