This document describes how Cloud Workstations Admins can limit the number of workstations created per developer per workstation configuration.

<br />

This helps you control costs incurred by workstations.

To learn more about pricing see [Cloud Workstations pricing](https://cloud.google.com/workstations/pricing).

## Limit the number of workstations per workstation configuration

To limit developers so they can create only one workstation per workstation configuration, run
the following `gcloud` CLI command:

```
    gcloud workstations configs create CONFIG \
        --cluster=CLUSTER \
        --region=REGION \
        --project=PROJECT \
        --max-usable-workstations-count 1
```

> [!NOTE]
> **Note:** The default value for `maxUsableWorkstations` is 0, which means a developer can create an unlimited number of workstations.

The `maxUsableWorkstations` limit is only enforced in the `CreateWorkstation` API
for developers with **Cloud Workstations Creator** permissions.

The limit is not enforced when a **Cloud Workstations Admin** creates additional workstations for a configuration and grants `workstations.workstation.use` to a specific developer.

## Exempting users from maximum usable workstation limit

A *Cloud Workstations Admin* can also exempt developers from this limit by granting them
`roles/workstations.workstationLimitExemptedCreator` role.

For more information about granting this role, see [Access control with IAM and Cloud Workstations](https://docs.cloud.google.com/workstations/docs/access-control#workstations-limit-exempted-creator).

## What's next

- See a list of [workstation configuration parameters](https://docs.cloud.google.com/workstations/docs/customize-development-environment).
- [Set up security best practices](https://docs.cloud.google.com/workstations/docs/set-up-security-best-practices).