Sebelum mulai menggunakan Cloud Workstations, pastikan Anda memiliki
izin yang diperlukan
dan menyelesaikan langkah-langkah penyiapan yang diperlukan ini.
Anda dapat melewati bagian ini jika sudah menyelesaikan penyiapan ini.
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.
Pastikan Anda memiliki peran IAM Admin Cloud Workstations di
project sehingga Anda dapat membuat konfigurasi workstation.
Untuk memeriksa peran IAM Anda di konsol Google Cloud , buka halaman
IAM:
Cloud Workstations dihosting di VM yang di-boot dari image publik Container-Optimized OS (COS) Compute Engine yang telah dikonfigurasi sebelumnya. Jika batasan kebijakan organisasi constraints/compute.trustedimageProjects diterapkan, Anda harus menetapkan batasan akses image agar pengguna dapat membuat disk boot dari projects/cos-cloud atau semua image publik.
Opsional: Aktifkan Container File System API untuk memungkinkan startup workstation yang lebih cepat.
Cluster workstation menentukan sekelompok workstation di region tertentu, mengelola workstation selama siklus prosesnya, dan menyediakan konektivitas jaringan yang dapat dikonfigurasi.
Cluster workstation tidak terkait dengan cluster Google Kubernetes Engine (GKE).
Untuk membuat cluster workstation, ikuti langkah-langkah berikut:
Di konsol, buka halaman Cloud Workstations>Cluster management.
Dari halaman Cluster management workstation, klik
add_boxCreate.
Di kolom Name, masukkan nama untuk cluster workstation Anda.
Pilih Region yang paling dekat dengan Anda.
Opsional: Untuk membuat workstation di dalam VPC, perluas bagian Network settings dan pilih jaringan kustom Anda.
Di kolom Network, masukkan nama jaringan Anda—misalnya,
test-network.
Di kolom Subnetwork, masukkan nama subnetwork Anda—misalnya, test-subnetwork.
Di bagian Gateway type, pilih Public gateway atau
Private gateway.
Agar workstation Anda dapat diakses dari jaringan publik, pilih
Gateway publik.
Jika Anda memerlukan lokasi penyimpanan data
untuk data dalam pengiriman, pilih Gateway pribadi.
Untuk mengizinkan ingress dan egress ke layanan workstation dari dalam
jaringan yang dipilih, pilih Private gateway.
Untuk mengetahui informasi selengkapnya tentang cara membuat cluster pribadi, lihat
Mengonfigurasi Kontrol Layanan VPC dan cluster pribadi
Klik Create, yang akan memulai proses pembuatan cluster.
Pembuatan cluster workstation dapat memakan waktu hingga 20 menit, tetapi dalam sebagian besar kasus, hanya diperlukan satu kali.
Pembersihan
Untuk menghapus cluster workstation dari konsol Google Cloud :
Di konsol Google Cloud , buka
Cloud Workstations > Clusters.
Centang kotak di samping cluster yang ingin Anda hapus.
Klik opsimore_vertLainnya
dan pilih Hapus untuk menghapus cluster workstation yang dipilih.
Untuk mengetahui informasi selengkapnya tentang cara menghapus workstation, konfigurasi workstation, dan Google Cloud project, lihat Menghapus resource.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-11 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)."]]