Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
In diesem Dokument wird beschrieben, wie Administratoren von Cloud Workstations die Anzahl der pro Entwickler und Workstation-Konfiguration erstellten Workstations begrenzen können.
So können Sie die Kosten für Workstations besser im Blick behalten.
Anzahl der Workstations pro Workstationkonfiguration begrenzen
Wenn Sie Entwickler so einschränken möchten, dass sie nur eine Workstation pro Workstation-Konfiguration erstellen können, führen Sie den folgenden gcloud-Befehl aus:
Das Limit von maxUsableWorkstations wird nur in der CreateWorkstation API für Entwickler mit Cloud Workstations Creator-Berechtigungen erzwungen.
Das Limit wird nicht erzwungen, wenn ein Cloud Workstations-Administrator zusätzliche Workstations für eine Konfiguration erstellt und einem bestimmten Entwickler workstations.workstation.use gewährt.
Nutzer vom Limit für die maximale Anzahl nutzbarer Workstations ausnehmen
Ein Cloud Workstations Admin kann Entwickler auch von diesem Limit ausnehmen, indem er ihnen die Rolle roles/workstations.workstationLimitExemptedCreator gewährt.
[[["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,["# Limit the number of workstations per developer\n\nThis document describes how Cloud Workstations Admins can limit the number of workstations created per developer per workstation configuration.\n\n\u003cbr /\u003e\n\nThis helps you control costs incurred by workstations.\n\nTo learn more about pricing see [Cloud Workstations pricing](/workstations/pricing).\n\nLimit the number of workstations per workstation configuration\n--------------------------------------------------------------\n\nTo limit developers so they can create only one workstation per workstation configuration, run\nthe following `gcloud` CLI command: \n\n```\n gcloud workstations configs create CONFIG \\\n --cluster=CLUSTER \\\n --region=REGION \\\n --project=PROJECT \\\n --max-usable-workstations-count 1\n```\n| **Note:** The default value for `maxUsableWorkstations` is 0, which means a developer can create an unlimited number of workstations.\n\nThe `maxUsableWorkstations` limit is only enforced in the `CreateWorkstation` API\nfor developers with **Cloud Workstations Creator** permissions.\n\nThe limit is not enforced when a **Cloud Workstations Admin** creates additional workstations for a configuration and grants `workstations.workstation.use` to a specific developer.\n\nExempting users from maximum usable workstation limit\n-----------------------------------------------------\n\nA *Cloud Workstations Admin* can also exempt developers from this limit by granting them\n`roles/workstations.workstationLimitExemptedCreator` role.\n\nFor more information about granting this role, see [Access control with IAM and Cloud Workstations](/workstations/docs/access-control#workstations-limit-exempted-creator).\n\nWhat's next\n-----------\n\n- See a list of [workstation configuration parameters](/workstations/docs/customize-development-environment).\n- [Set up security best practices](/workstations/docs/set-up-security-best-practices)."]]