Available GPUs Stay organized with collections Save and categorize content based on your preferences.
GPUs are used to accelerate workloads, and Cloud Workstations supports attachingGPUs to workstations. Cloud Workstations supports many of thevariousGPU models that are available to attach toCompute Engine VMs. The model and quantity of GPUs to attach to each workstationare specified on the workstation configuration. Cloud Workstations handlesattaching the GPUs and installing their device drivers.
Attaching GPUs to workstations will affect costs as described in theCloud Workstations pricing overview.
Limitations
A workstation configuration may specify GPUs, subject to the followinglimitations:
- Cloud Workstations only supports GPUs for configurations that specify machinetypes in theN1 machine series, theA2 machine series, or theA3 machine series. Refer tosupported GPU models for details.
- The configuration must specifyreplica zoneswhere the chosenGPU model is available.
- It is not possible to configure workstations to have more than one model ofGPU attached at a time.
Configurations that specify A2 Ultra machine types must not specify persistent storage. Consider using an NFS-based solution such asFilestore orCloud Storage FUSE if persistent file storage is required. Note that A2 Standard machine types do support persistent storage.To create configurations without persistent storage, use the following Google Cloud CLI command:
gcloudworkstationsconfigscreateCONFIG_NAME\--project=PROJECT_ID\--cluster=CLUSTER_NAME\--region=LOCATION\--machine-type=A2_MACHINE_TYPE\--no-persistent-storageReplace the following:
PROJECT_ID: the ID of the project that contains the workstation configuration.LOCATION: the region of the workstation cluster.CLUSTER_NAME: the name workstation cluster that contains the workstation configuration.CONFIG_NAME: the name of the workstation configuration.A2_MACHINE_TYPE: the type of the A2 machine.
Configurations that specify A3 machine types only support Hyperdisk persistent volumes.
Using Google Cloud Hyperdisk disk types is only supported on these following machine series:
- A3
- C3
- C4
- G4
- M3
- N4
- N4D
- Z3
Supported GPU models
Cloud Workstations supports many of the GPU models that Compute Engine makesavailable. The models that are supported depend on the machine series chosen forthe workstation configuration, as summarized in the following table.
N1 machine series
TheN1 general-purpose machine series supports several GPU models, and workstation configurations that specify any of the N1 machine types can also specify one of the following GPU models. For the chosen GPU model, the configuration may specify a count of how many GPU cards to attach to each workstation.
| GPU model | GPU counts |
|---|---|
NVIDIA T4 (nvidia-tesla-t4) | 1, 2, or 4 GPUs |
NVIDIA P4 (nvidia-tesla-p4) | 1, 2, or 4 GPUs |
NVIDIA V100 (nvidia-tesla-v100) | 1, 2, 4, or 8 GPUs |
NVIDIA P100 (nvidia-tesla-p100) | 1, 2, or 4 GPUs |
A2 machine series
TheA2 standard accelerator-optimized machine series has a fixed number of NVIDIA A100 GPUs attached, based solely on the chosen machine type.
The following table shows the mapping from machine type to the number of cards that will be attached.
| GPU model | Machine type | GPU count |
|---|---|---|
NVIDIA A100 40GB (nvidia-tesla-a100) | a2-highgpu-1g | 1 GPU |
a2-highgpu-2g | 2 GPUs | |
a2-highgpu-4g | 4 GPUs | |
a2-highgpu-8g | 8 GPUs | |
a2-megagpu-16g | 16 GPUs |
Cloud Workstations does not support A2 ultra machine types.
A3 machine series
TheA3 Mega and A3 High accelerator-optimized machine series has a fixed number of NVIDIA H100 GPUs attached, based solely on the chosen machine type.
The following table shows the mapping from machine type to the number of cards that will be attached.
| GPU model | Machine type | GPU count |
|---|---|---|
NVIDIA H100 80GB (nvidia-tesla-h100) | a3-highgpu-8g | 8 GPUs |
a3-megagpu-8g | 8 GPUs |
Google Cloud Hyperdisk Support
Some GPU workloads require very high disk throughput. To satisfy this use case, Cloud Workstations allows the use ofGoogle Cloud Hyperdisk Balanced High Availability disks as persistent directories for the machine types enumerated earlier.
Hyperdisk storage can be configured through both the Console and with thegcloud CLI.It is not possible to change the disk type after creating a Workstation configuration.
Attaching a Hyperdisk to a Workstation will affect costs as described inGoogle Cloud Hyperdisk pricing.
Add GPUs to an Existing Workstation Configuration
To add GPUs to a workstation configuration, complete the steps in one of the following tabs.
Before you begin
Select the tab for how you plan to use the samples on this page:
Console
When you use the Google Cloud console to access Google Cloud services and APIs, you don't need to set up authentication.
gcloud
Install the Google Cloud CLI. After installation,initialize the Google Cloud CLI by running the following command:
gcloudinit
If you're using an external identity provider (IdP), you must first sign in to thegcloud CLI with your federated identity.
Review theCloud Workstations pricingoverview to understand how your costs will be affected by configuring GPUs. Notethat GPUs are attached to the pre-started virtual machines (VMs) specifiedby a configuration'sQuick start pool size.
Updating your existing configuration
Console
Configure GPUs on an existing workstation configuration from theGoogle Cloud console, by doing the following:
In the Google Cloud console, go to theWorkstation configurations page.
In theWorkstation configurations list, click theName of theconfiguration to add GPUs to.
On theWorkstation configuration details page, clickeditEdit.
On theEdit workstation configuration page, clickMachine settingsin the navigation menu.
Click the toggle to selectGPUs instead of theGeneral purposemachine family.
In theGPU type field, select the GPU Model that you want to use.
In theNumber of GPUs field, select the number of GPU cards you wantto attach to each workstation.
In theMachine type field, select the machine type you want to use.
Note: the options for each field vary depending on thereplica zones chosen for the configuration and theGPU andmachine type availability inthose zones. If you cannot find suitable GPUs in the replica zones forthis configuration, you may decide tocreate a new configuration with GPUsinstead.ClickSave to update the configuration.
gcloud
Configure GPUs on an existing workstation configuration by running thegcloud workstations configs update command.
First though, collect some information to see which GPU models areavailable and to choose one for your configuration:
Check which replica zones the configuration specifies by running thefollowing
gcloudCLI command:gcloudworkstationsconfigsdescribe\--format="table(name.scope(workstationConfigs),replicaZones.list())"\--project=PROJECT_ID\--region=LOCATION\--cluster=CLUSTER_NAME\CONFIG_NAMEReplace the following:
PROJECT_ID: the ID of the project that contains the workstation configuration.LOCATION: the location of the workstation cluster.CLUSTER_NAME: the name workstation cluster that contains the workstation configuration.CONFIG_NAME: the name of the workstation configuration.
Choose a supported GPU model that is available inboth of theconfiguration's replica zones by running the
gcloud compute accelerator-types listcommand:gcloudcomputeaccelerator-typeslist\--format="table(name:sort=1,zone,description,maximumCardsPerInstance)"\--filter='zone.basename()=(ZONES) AND name~"nvidia-tesla-(a100|p100|p4|t4|v100)$"'\--project=PROJECT_IDReplace
ZONESwith a comma-separated list of thereplica zones determined in the previous step(for example,us-central1-a,us-central1-c).Choose a GPU model that is listed twice in the table, indicating it isavailable in both replica zones.
Take note of the maximum cards you can attach for the chosen GPU model.
Note: If there isn't suitableGPU Availability in thereplica zones for this configuration, you may decide tocreate a new configuration with GPUsinstead.Determine which of the supported machine types are available inbothof the configuration's replica zones using the
gcloud compute machine-types listcommand.If you chose the NVIDIA A100 40GB GPU model in the previous step,your configuration must use the A2 machine series:
gcloudcomputemachine-typeslist\--format="table(name,zone,guestCpus:sort=1)"\--filter="name:a2-highgpu- OR name:a2-megagpu-"\--zones=ZONES\--project=PROJECT_IDIf you chose any other GPU model in the previous step, yourconfiguration must use the N1 machine series:
gcloudcomputemachine-typeslist\--format="table(name,zone,guestCpus:sort=1)"\--filter="name:n1-standard-"\--zones=ZONES\--project=PROJECT_ID
Choose a machine type that islisted twice in the table, indicating itis available inboth replica zones.
Now that you have selected a GPU model and compatible machine type,update the configuration:
For NVIDIA A100 40GB GPUs, run this command to update yourconfiguration:
gcloudbetaworkstationsconfigsupdate\--project=PROJECT_ID\--region=LOCATION\--cluster=CLUSTER_NAME\CONFIG_NAME\--machine-type=A2_MACHINE_TYPEReplace
Note: for the A2 machine series the model and quantity of GPUs isfixed based on the machine type, so you may omit theA2_MACHINE_TYPEwith the chosen A2 machinetype determined in the previous step (for example,a2-highgpu-1g).--accelerator-typeand--accelerator-countflags.For all other GPU models, run this command:
gcloudbetaworkstationsconfigsupdate\--project=PROJECT_ID\--region=LOCATION\--cluster=CLUSTER_NAME\CONFIG_NAME\--machine-type=N1_MACHINE_TYPE\--accelerator-type=ACCELERATOR_TYPE\--accelerator-count=ACCELERATOR_COUNTReplace the following:
N1_MACHINE_TYPE: the chosen machine type from theN1 series (for example,n1-standard-2).ACCELERATOR_TYPE: the chosen GPU model's name(for example,nvidia-tesla-t4).ACCELERATOR_COUNT: the number of GPUs to attachto each workstation (for example,1,2,4). Must be a power of twoless than the maximum for the GPU model.
WARNING: It is not possible to switch to Hyperdisk after the Workstation configuration is created.
Create a new Workstation Configuration with GPUs
To create a new workstation configuration that attaches GPUs to workstationsthat are based on it, complete the steps in one of the following tabs.
Before you begin
Select the tab for how you plan to use the samples on this page:
Console
When you use the Google Cloud console to access Google Cloud services and APIs, you don't need to set up authentication.
gcloud
Install the Google Cloud CLI. After installation,initialize the Google Cloud CLI by running the following command:
gcloudinit
If you're using an external identity provider (IdP), you must first sign in to thegcloud CLI with your federated identity.
REST
To use the REST API samples on this page in a local development environment, you use the credentials you provide to thegcloud CLI.
Install the Google Cloud CLI. After installation,initialize the Google Cloud CLI by running the following command:
gcloudinit
If you're using an external identity provider (IdP), you must first sign in to thegcloud CLI with your federated identity.
For more information, seeAuthenticate for using REST in the Google Cloud authentication documentation.
Choose aGPU model and consult theGPU availability table to select aregion where the chosen GPU model is available in atleast two zones.
If you don't already have a cluster in the chosen region where you can create anew configuration, follow the steps toCreate a workstation cluster in the region.
Review theCloud Workstations pricingoverview to understand how your costs will be affected by configuring GPUs. Notethat GPUs are attached to the pre-started virtual machines (VMs) specifiedby a configuration'sQuick start pool size.
Creating a new configuration
Console
Create a new workstation configuration with GPUs from theGoogle Cloud console, by doing the following:
In the Google Cloud console, go to theWorkstation configurationspage.
On theWorkstation configurations page, clickadd_boxCreate.
On theBasic information step of theCreate workstation configuration page, specify a name for yourconfiguration in theName field.
In theWorkstation cluster field, select a cluster in the chosenregion.
Tip: GPUs are also attached toQuick start workstations. You can keepcosts down by selectingDisabled.ClickContinue to advance to theMachine settings step.
On theMachine settings step of theCreate workstationconfiguration page, begin by clicking the toggle to selectGPUsinstead of theGeneral purpose machine family.
Then, in theZones field, select the checkboxes next to two zoneswhere the GPU model you chose is available (see theGPU availability table).
In theGPU type field, select the GPU Model that you want to use.
In theNumber of GPUs field, select the number of GPU cards youwant to attach to each workstation.
In theMachine type field, select a compatible machine type.
Optional: This feature is not yet supported in the UI. See the
gcloudinstructions to use the CLI to configure this feature.ClickContinue to configure the Environment settings and Identity and Access Management (IAM) policybefore clickingCreate to provision the new workstationconfiguration.
gcloud
Create a new workstation configuration with GPUs using thegcloud CLI, by running thegcloud workstations configs create command.
For NVIDIA A100 40GB GPUs run this command to create your configuration:
gcloudbetaworkstationsconfigscreate\--project=PROJECT_ID\--region=LOCATION\--cluster=CLUSTER_NAME\CONFIG_NAME\--replica-zones=REPLICA_ZONES\--machine-type=A2_MACHINE_TYPEReplace the following:
PROJECT_ID: the ID of the project that will contain the new workstation configuration.LOCATION: the location of the workstation cluster where the configuration will be contained.CLUSTER_NAME: the name workstation cluster that will contain the new workstation configuration.CONFIG_NAME: the name of the new workstation configuration.REPLICA_ZONES: exactly two zones in the cluster's region where the chosen GPU model is available (for example,us-central1-a,us-central1-c).A2_MACHINE_TYPE: the chosen A2 series machine type (for example,a2-highgpu-1g).
--accelerator-typeand--accelerator-countflags.For all other GPU models, run this command to create your configuration:
gcloudbetaworkstationsconfigscreate\--project=PROJECT_ID\--region=LOCATION\--cluster=CLUSTER_NAME\CONFIG_NAME\--replica-zones=REPLICA_ZONES\--machine-type=N1_MACHINE_TYPE\--accelerator-type=ACCELERATOR_TYPE\--accelerator-count=ACCELERATOR_COUNTReplace the following:
PROJECT_ID: the ID of the project that will contain the new workstation configuration.LOCATION: the location of the workstation cluster where the configuration will be contained.CLUSTER_NAME: the name workstation cluster that will contain the new workstation configuration.CONFIG_NAME: the name of the new workstation configuration.REPLICA_ZONES: exactly two zones in the cluster's region where the chosen GPU model is available (for example,us-central1-a,us-central1-c).N1_MACHINE_TYPE: the chosen N1 series machine type (for example,n1-standard-2).ACCELERATOR_TYPE: the chosen GPU model's name(for example,nvidia-tesla-t4).ACCELERATOR_COUNT: the number of GPUs to attachto each workstation (for example,1,2,4).
Optional: To use a Hyperdisk, add flag
--disk-type=hyperdisk-balanced-ha. For example:gcloudbetaworkstationsconfigscreate\...\--disk-type=hyperdisk-balanced-ha\--disk-size=200This command will create a Hyperdisk with size 200 GB. The disk type cannot be changed after creating the Workstation configuration.
NVIDIA GPU device drivers
Cloud Workstations installs the NVIDIA device drivers on workstations' host VMsduring VM startup.
To determine which version device driver has been installed on a workstation,run the following command:
nvidia-smi--query-gpu=name,driver_version--format=csvGPU availability by region and zone
You can search either by location or GPU model, or a combination ofboth.
| Zones | Location | GPU platforms |
|---|---|---|
asia-east1-a | Taiwan | P100, T4 |
asia-east1-b | Taiwan | |
asia-east1-c | Taiwan | H100, P100, T4, V100 |
asia-east2-a | Hong Kong | T4 |
asia-east2-b | Hong Kong | |
asia-east2-c | Hong Kong | T4 |
asia-northeast1-a | Tokyo | A100 40GB, T4 |
asia-northeast1-b | Tokyo | H100 |
asia-northeast1-c | Tokyo | A100 40GB, T4 |
asia-northeast3-a | Seoul | A100 40GB, H100 |
asia-northeast3-b | Seoul | A100 40GB, T4 |
asia-northeast3-c | Seoul | H100, T4 |
asia-south1-aasia-south1-b | Mumbai | T4 |
asia-south1-c | Mumbai | H100 |
asia-southeast1-a | Singapore | T4 |
asia-southeast1-basia-southeast1-c | Singapore | A100 40GB, H100, P4, T4 |
australia-southeast1-a | Sydney | P4, T4 |
australia-southeast1-b | Sydney | P100, P4 |
australia-southeast1-c | Sydney | H100, T4 |
australia-southeast2-aaustralia-southeast2-baustralia-southeast2-c | Melbourne | |
europe-central2-a | Warsaw | |
europe-central2-beurope-central2-c | Warsaw | T4 |
europe-north1-aeurope-north1-b | Finland | |
europe-north1-c | Finland | H100 |
europe-southwest1-aeurope-southwest1-beurope-southwest1-c | Madrid | |
europe-west1-b | Belgium | H100, P100, T4 |
europe-west1-c | Belgium | H100, T4 |
europe-west1-d | Belgium | P100, T4 |
europe-west12-aeurope-west12-b | Turin | |
europe-west2-a | London | T4 |
europe-west2-b | London | H100, T4 |
europe-west2-c | London | |
europe-west3-a | Frankfurt | H100 |
europe-west3-b | Frankfurt | T4 |
europe-west3-c | Frankfurt | H100 |
europe-west4-a | Netherlands | A100 40GB, P100, T4, V100 |
europe-west4-b | Netherlands | A100 40GB, H100, P4, T4, V100 |
europe-west4-c | Netherlands | H100, P4, T4, V100 |
europe-west6-aeurope-west6-beurope-west6-c | Zurich | |
europe-west8-aeurope-west8-b | Milan | |
europe-west8-c | Milan | H100 |
europe-west9-aeurope-west9-b | Paris | |
europe-west9-c | Paris | H100 |
me-central2-ame-central2-bme-central2-c | Dammam | |
me-west1-a | Tel Aviv | A100 40GB |
me-west1-b | Tel Aviv | T4 |
me-west1-c | Tel Aviv | A100 40GB, T4 |
northamerica-northeast1-anorthamerica-northeast1-b | Montréal | P4 |
northamerica-northeast1-c | Montréal | P4, T4 |
southamerica-east1-a | São Paulo | T4 |
southamerica-east1-b | São Paulo | |
southamerica-east1-c | São Paulo | T4 |
southamerica-west1-asouthamerica-west1-bsouthamerica-west1-c | Santiago | |
us-central1-a | Iowa | A100 40GB, H100, P4, T4, V100 |
us-central1-b | Iowa | A100 40GB, H100, T4, V100 |
us-central1-c | Iowa | A100 40GB, H100, P100, P4, T4, V100 |
us-central1-f | Iowa | A100 40GB, P100, T4, V100 |
us-east1-b | South Carolina | A100 40GB, P100 |
us-east1-c | South Carolina | P100, T4, V100 |
us-east1-d | South Carolina | T4 |
us-east4-aus-east4-bus-east4-c | Northern Virginia | H100, P4, T4 |
us-east5-a | Columbus | H100 |
us-east5-bus-east5-c | Columbus | |
us-west1-a | Oregon | H100, P100, T4, V100 |
us-west1-b | Oregon | A100 40GB, H100, P100, T4, V100 |
us-west1-c | Oregon | |
us-west4-a | Las Vegas | H100, T4 |
us-west4-b | Las Vegas | A100 40GB, T4 |
us-west4-c | Las Vegas |
What's next
Specify GPUs using theCloud Workstations API.
Learn aboutRunning Compute Engine instances with GPU accelerators.
See the complete list ofCompute Engine machine types.
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.