Create a workstation configuration Stay organized with collections Save and categorize content based on your preferences.
A workstation configuration acts as a template for the creation of consistentworkstations for multiple developers, and specifies configuration settings suchas machine type, zones, disk size, tools, and preinstalled libraries. Anyoperations performed on a workstation configuration, such as changing themachine type or container image, reflect on each workstation the next time theworkstation starts up.
This section explains the four steps of creating a workstation configuration:
To follow step-by-step guidance for this task directly in the Google Cloud console, clickGuide me:
Before you begin
Before you begin using Cloud Workstations, be sure that you have therequired permissions and that you complete these required setup steps.You can skip this section if you've already completed this setup.
- 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.
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.Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
- Create a project: To create a project, you need the Project Creator role (
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission.Learn how to grant roles.
Verify that billing is enabled for your Google Cloud project.
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
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.Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
- Create a project: To create a project, you need the Project Creator role (
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission.Learn how to grant roles.
Verify that billing is enabled for your Google Cloud project.
Enable the Cloud Workstations API.
Roles required to enable APIs
To enable APIs, you need the Service Usage Admin IAM role (
roles/serviceusage.serviceUsageAdmin), which contains theserviceusage.services.enablepermission.Learn how to grant roles.Make sure that you have a Cloud Workstations Admin IAM role on the project so that you can create workstation configurations. To check your IAM roles in the Google Cloud console, go to theIAM page:
- Cloud Workstations are hosted on VMs booted from Compute Engine's preconfigured publicContainer-Optimized OS (COS) images. If the
constraints/compute.trustedimageProjectsorganization policy constraint is enforced, you mustset image access constraints to allow users to create boot disks fromprojects/cos-cloudor all public images. - Optional: Enable the Container File System API to allow faster workstation startup.
Enable the Container File System API
For more information, seeReduce workstation startup time with Image streaming.
Configure basics
To configure the basics of a workstation configuration, follow these steps:In the console,navigate toCloud Workstations >Workstation configurations.
From theWorkstation configurations page, clickadd_boxCreate.

In theName field, enter
test-configurationas the name of your configuration.Choose the name of your workstation cluster from the list ofClustersand clickContinue.
If no workstation cluster is available, click thearrow_drop_downexpander arrow, andselectNew Cluster.For more information, see these settings described inCreating a new workstation cluster.
ForQuick start workstations, selectEnabled for faster workstationstartup orDisabled for lower cost.
This value specifies the number of virtual machines (VMs) kept in a pre-startedstate, which enables faster workstation start times. However, your projectis billed for these VMs. Choose a pool size based on the numberof new developers that you anticipate, your use cases, and your budget.If you chooseDisabled, new workstations take longer to start.The defaultQuick start pool size is1.
Optional: AddLabels to apply key-value pair labels to the underlyingCompute Engine resources.
ClickContinue to progress to theMachine configuration page.
Define machine settings
Select aMachine type based on your needs. For example, you might choosee2-standard-4 (4 CPU, 16 GB memory).
Select twoZones within the region you selected. Cloud Workstationscreates VM resources and stores data in these zones.
The zone selection also affects the type of computing resources that areavailable. For example, if you select the N1 machine type and want to useGPUs, be sure to select two zones where the chosen GPU type is listed asavailable in theGPU availability by region and zone table.
In theCost savings section, set the amount of time to wait beforeauto-sleep. Leave theAuto-sleep field set toAfter 2 hours of inactivity (default) to automatically shut downworkstations inactive for more than two hours.
Optional: In theAdvanced options section, clickexpand_moreExpand More.
To add network tags, enter text in theNetwork tags field.
Network tags are metadata applied to the underlyingCompute Engine VMs that allow you to makefirewall rules and routes applicable to specific VM instances. InCloud Workstations, you can use network tags to make firewall rules orroutes applicable to all the workstations under a workstationconfiguration.
To turn off public IP addresses, select theDisable public IP addresses checkbox.
If you disable public IP addresses, you must set upPrivate Google AccessorCloud NAT on your network.If you use Private Google Access and you use
private.googleapis.comorrestricted.googleapis.comforArtifact Registry, make sure that you set up DNS records fordomains*.pkg.dev.To turn on nested virtualization, select theEnable nested virtualization checkbox. Nested virtualization letsyou run VM instances inside your workstation.
Before enabling nested virtualization, consider the following importantconsiderations.
Cloud Workstations instances are also subject to thesame restrictions as Compute Engine instances:
Organization policy: projects, folders, ororganizations might be restricted from creating nested VMs if theDisable VM nested virtualization constraint is enforced inthe organization policy. For more information, see theCompute Engine section,Check whether nested virtualization is allowed.
Performance: nested VMs might experience a 10% or greaterdecrease in performance for workloads that are CPU-bound andpossibly greater than a 10% decrease for workloads that areinput or output bound.
Machine Type: nested virtualization can only be enabled onworkstation configurations that specify machine types in the N1 orN2 machine series.
To encrypt your data while it is being processed on this VM, select theConfidential VM service checkbox. For more information, seeCreate a Confidential VM instance.
To set Shielded VM settings, select the corresponding feature checkbox.Shielded VM features include trusted UEFI firmware and provides optionsfor boot, vTPM, and integrity monitoring.
By default, Cloud Workstations encrypts resources created withthis workstation configuration using aGoogle-owned and Google-managed encryption key.To use acustomer-managed encryption key instead, selectUse customer-managed encryption key (CMEK).
ClickContinue to progress to theEnvironment settings page.
Customize the environment
Customize the Cloud Workstations environment by configuring the workstation container image and persistent storage using these steps:
Configure the container image by choosing whether to use one of thepreconfigured base images or to provide a reference to acustomized container image that you've created.
To use apreconfigured base image:
Leave the container type set toCode editors on base images.
In theCode editors menu, choose the Cloud WorkstationsBase Editor (Code OSS for Cloud Workstations).If your organization prefers a different IDE, you can also choose from thelist ofpreconfigured IDEs.
Optional: In theService account menu, choose from the list ofservice accounts.
Optional: To use your owncustomized container image instead of one of thepreconfigured base images:
SelectCustom container image.
Specify theContainer image URL.
Click theService account menu and select the service account to beused on VM instances created under workstation configuration. This service account must havepermissions to pull your customized container image (or the image must be publiclyaccessible). For more information, see the description of
serviceAccountinCustomize your development environment.
In theStorage settings section, choose preferences for the initial homedirectory and for disk attributes:
To create an empty home directory, selectCreate a blank persistentdisk. To use a disk snapshot for the home directory, chooseCreate a persistent disk from a source disk snapshot.
Set theDisk type of your persistent directory toBalanced,which has higher performance but is more economical thanSSD.
Set theDisk size of your persistent directory. The default is
200GB but valid values are10,50,100,200,500, or1000GB.Choose the disk size that best fits your team's needs.Set theReclaim policy toDelete orRetain. The default isDelete. This policy determines what happens to thepersistent disk when a workstation is deleted.
To access the data on the disk, you can follow these steps:
You can also customize further by following these optional steps:
Optional: AddReadiness checks.
If needed, specify readiness checks to verify that the workstation acceptsrequests at specific paths and ports when starting workstations that areassociated with this workstation configuration.
Optional: ExpandAdvanced container options.
If needed, specify additional parameters for the container image being used.For example, specify a working directory override, user override, commandoverrides, arguments to pass to the
entrypointcommand, and environmentvariables.ClickContinue to progress to theIAM policy page.
Add users
To allow multiple users to create workstations, add users to your workstationconfiguration:
From theIAM Policy page, click theUsers field and enter the emailaddresses of one or more users or Google groups to which you want to giveaccess.This sets up a Cloud Workstations Creator IAM policy for theseusers.
Optional: To add Cloud Workstations policy administrator access, expandAdvanced IAM options.
To grant the
roles/workstations.policyAdminrole to workstation creators,select theGrant Policy Admin role to workstation creators checkbox. Thislets the creator of a workstation update the IAM policy ofthe workstation, which grants access to the workstation and its individualports.For more information about Cloud Workstations port sharing, see theGrant access to individual Cloud Workstations ports page.
Note: By default, the creator of a workstation gets theroles/workstations.userrole on the workstation that they create, regardless of theGrant Policy Admin role to workstation creators setting.To create your workstation configuration and add these users to it, click
Create .If you also elected to create a new cluster, cluster creation can take upto 20 minutes.
You've just created your first workstation configuration and added users to it.
To create and launch a workstation based on this configuration, clickNext.
Clean up
If you created a new workstation configuration to learn about Cloud Workstationsand you no longer need the configuration, you can delete it fromthe Google Cloud console:
- In the Google Cloud console, go toCloud Workstations > Workstation configurations.
- Select the checkbox beside the workstation configuration that youwant to delete.
- Click themore_vertMore options menu andselectDelete to delete the selected workstation configuration.
What's next
Create a workstation using your newlycreated workstation configuration.
Use theCloud Workstations base editor.
Customize yourworkstation configuration through the API.
Createcustomized container images that extend thepreconfigured base imagesprovided by Cloud Workstations.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-19 UTC.