Antes de começar a usar as Cloud Workstations, certifique-se de que tem as
autorizações necessárias
e que conclui estes passos de configuração obrigatórios.
Pode ignorar esta secção se já tiver concluído esta configuração.
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.
Certifique-se de que tem uma função IAM de administrador do Cloud Workstations no projeto para poder criar configurações de estações de trabalho.
Para verificar as suas funções do IAM na Google Cloud consola, aceda à página
IAM:
As estações de trabalho na nuvem estão alojadas em VMs iniciadas a partir de imagens públicas do SO otimizado para contentores (COS) do Compute Engine pré-configuradas. Se a restrição de política da organização constraints/compute.trustedimageProjects
for aplicada, tem de
definir restrições de acesso a imagens
para permitir que os utilizadores criem discos de arranque a partir do projects/cos-cloud ou de todas as imagens públicas.
Opcional: ative a API Container File System para permitir um arranque mais rápido da estação de trabalho.
Os clusters de estações de trabalho definem um grupo de estações de trabalho numa região específica,
gerem as estações de trabalho durante o respetivo ciclo de vida e oferecem
conetividade de rede configurável.
Os clusters de estações de trabalho não estão relacionados com os clusters do Google Kubernetes Engine (GKE).
Para criar um cluster de estações de trabalho, siga estes passos:
Na consola,
navegue para Cloud Workstations>
página Gestão de clusters.
Na página Gestão de clusters das estações de trabalho, clique em
add_boxCriar.
No campo Nome, introduza um nome para o cluster da estação de trabalho.
Selecione a Região mais próxima de si.
Opcional: para criar as estações de trabalho numa VPC, expanda a secção Definições de rede e selecione a sua rede personalizada.
No campo Rede, introduza o nome da sua rede, por exemplo,
test-network.
No campo Sub-rede, introduza o nome da sua sub-rede, por exemplo, test-subnetwork.
Na secção Tipo de gateway, selecione Gateway público ou
Gateway privado.
Para tornar as suas estações de trabalho acessíveis a partir de redes públicas, selecione
Gateway público.
Se precisar de residência de dados
para dados em trânsito, selecione Gateway privado.
Para permitir a entrada e a saída para o serviço de estações de trabalho a partir do interior da rede selecionada, selecione Gateway privado.
Para mais informações sobre a criação de clusters privados, consulte o artigo
Configure o VPC Service Controls e os clusters privados
Clique em Criar, o que inicia o processo de criação do cluster.
A criação do cluster da estação de trabalho pode demorar até 20 minutos, mas, na maioria dos casos, só é necessária uma vez.
Limpar
Para eliminar um cluster de estações de trabalho a partir da Google Cloud consola:
Na Google Cloud consola, aceda a
Cloud Workstations > Clusters.
Selecione a caixa de verificação junto ao cluster que quer eliminar.
Clique no menu de opções more_vertMais
e selecione Eliminar para eliminar o cluster de estações de trabalho selecionado.
Para mais informações sobre a eliminação de estações de trabalho, configurações de estações de trabalho
e Google Cloud projetos,
consulte o artigo Eliminar recursos.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-21 UTC."],[],[],null,["# Create a workstation cluster\n\nLearn how to get started creating a workstation cluster with Cloud Workstations.\n\n\u003cbr /\u003e\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=/?walkthrough_id=workstations--create-cluster)\n\n*** ** * ** ***\n\nBefore you begin\n----------------\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. Make sure that you have a Cloud Workstations Admin IAM role on the\n project so that you can create workstation configurations.\n To check your IAM roles in the Google Cloud console, go to the\n **IAM** page:\n\n [Go to IAM](https://console.cloud.google.com/iam-admin/iam)\n3. Cloud Workstations are hosted on VMs booted from Compute Engine's preconfigured public [Container-Optimized OS (COS)](/compute/docs/images/os-details#container-optimized_os_cos) images. If the `constraints/compute.trustedimageProjects` organization policy constraint is enforced, you must [set image access constraints](/compute/docs/images/restricting-image-access#trusted_images) to allow users to create boot disks from `projects/cos-cloud` or all public images.\n4. **Optional:** Enable the Container File System API to allow faster workstation startup.\n\n\n [Enable the Container File System API](https://console.cloud.google.com/apis/library/containerfilesystem.googleapis.com?q=container%20file%20system)\n\n \u003cbr /\u003e\n\n For more information, see\n [Reduce workstation startup time with\n Image streaming](/workstations/docs/architecture#image-streaming).\n\nCreate your workstation cluster\n-------------------------------\n\nWorkstation clusters define a group of workstations in a particular region,\nmanage workstations during their lifecycle, and provide configurable\nnetwork connectivity.\n\nWorkstation clusters aren't related to Google Kubernetes Engine (GKE) clusters.\n\nTo create a workstation cluster, follow these steps:\n\n1. In the console,\n navigate to the **Cloud Workstations** \\\u003e\n **Cluster management** page.\n\n\n [Go to Cluster management](https://console.cloud.google.com/workstations/clusters)\n\n \u003cbr /\u003e\n\n2. From the workstations **Cluster management** page, click\n add_box**Create**.\n\n3. In the **Name** field, enter a name for your workstation cluster.\n\n4. Select the **Region** that is closest to you.\n\n5. Optional: To create your workstations inside a\n [VPC](/vpc/docs/vpc),\n expand the **Network settings** section and select your custom network.\n\n 1. In the **Network** field, enter the name for your network---for example,\n `test-network`.\n\n 2. In the **Subnetwork** field, enter the name for your subnetwork---for\n example, `test-subnetwork`.\n\n 3. In the **Gateway type** section, select **Public gateway** or\n **Private gateway**.\n\n - To make your workstations accessible from public networks, select\n **Public gateway**.\n\n - If you require [data residency](/assured-workloads/docs/data-residency)\n for data in transit, select **Private gateway**.\n\n - To allow ingress and egress to the workstations service from inside\n the selected network, select **Private gateway** .\n For more information about creating a private clusters, see\n [Configure VPC Service Controls and private clusters](/workstations/docs/configure-vpc-service-controls-private-clusters)\n\n6. Click **Create**, which begins the cluster creation process.\n\nWorkstation cluster creation can take up to 20 minutes, but in most\ncases is only needed once.\n\n\nClean up\n--------\n\nTo delete a workstation cluster from the Google Cloud console:\n\n1. In the Google Cloud console, go to **Cloud Workstations \\\u003e Clusters**.\n2. Select the checkbox beside the cluster that you want to delete.\n3. Click themore_vert**More** options menu and select **Delete** to delete the selected workstation cluster.\n\nFor more about deleting workstations, workstation configurations, and Google Cloud projects, see [Delete resources](/workstations/docs/delete-resources).\n\n\u003cbr /\u003e\n\nWhat's next\n-----------\n\n- Learn more about configuring options in your\n [workstation configuration](/workstations/docs/create-configuration).\n\n- Use the\n [Cloud Workstations base editor](/workstations/docs/base-editor-overview)."]]