Cloud Workstations は、セキュリティ機能が組み込まれ、事前構成済みでカスタマイズ可能な開発環境がある Google Cloud 上でマネージド開発環境を提供します。 Google Cloudデベロッパーにソフトウェアのインストールとセットアップ スクリプトの実行を要求する代わりに、再現可能な方法で環境を指定するワークステーション構成を作成できます。ワークステーション構成の更新は、ワークステーションが次回起動したときに自動的に適用されます。デベロッパーは、ブラウザベースの IDE、複数のローカルコード エディタ(VSCode など、または IntelliJ IDEA Ultimate や PyCharm Professional などの JetBrains IDE)から、または SSH を介してワークステーションにアクセスします。
Cloud Workstations は、次の Google Cloud リソースを使用して開発環境を管理します。
ワークステーション クラスタは、特定のリージョンにあるワークステーションのグループと、ワークステーションがアタッチされている VPC ネットワークを定義します。ワークステーション クラスタは Google Kubernetes Engine(GKE)クラスタとは関連していません。
ワークステーション構成は、ワークステーションのテンプレートとして機能します。ワークステーション構成では、ワークステーション仮想マシン(VM)インスタンス タイプ、永続ストレージ、コンテナ イメージ定義環境、使用する IDE またはコードエディタなどの詳細を定義します。管理者とプラットフォーム チームは、Identity and Access Management(IAM) ルールを使用して、チームまたは個々のデベロッパーにアクセス権を付与することもできます。
ワークステーションは、クラウド IDE、言語ツール、ライブラリなどを提供する事前構成された開発環境です。ワークステーションは、セッション間でデータを保存するためにアタッチされた永続ディスクを使用して、オンデマンドで起動または停止でき、プロジェクトの Compute Engine VM 上で実行できます。
ワークステーションは、一時的な Compute Engine VM 上で実行され、オンデマンドで起動または停止してコストを節約することができます。また、管理者とプラットフォーム チームは、ワークステーション構成でアイドル タイムアウトまたは実行タイムアウトを構成して、ワークステーションが使用されていない場合に確実にシャットダウンされるようにして、コストを削減します。また、各ワークステーションが再起動したときに、すべてのワークステーションがワークステーション構成に適用された最新の変更と確実に同期するのにも役立ちます。
永続ストレージ
ワークステーションが停止すると、そのエフェメラル VM は、すべてのワークステーション ランタイム データとともに削除されます。管理者チームとプラットフォーム チームは、必要に応じてワークステーション構成で永続ホーム ディレクトリを構成できます。これにより、ホーム ディレクトリに保存されたすべてのデータがセッション間で維持されます。この永続ストレージは、セッション開始時にワークステーション VM に接続され、セッション終了時に切断される永続ディスクとして実装されます。
ワークステーション構成の更新は、構成の更新後に各ワークステーションが再起動すると自動的にワークステーションに適用されます。たとえば、ワークステーション構成でマシンタイプを変更すると、この次に各ワークステーションが再起動するときに、関連付けられたワークステーションが使用する VM のマシンタイプが変更されます。管理者とプラットフォーム チームは、ワークステーション構成でアイドル タイムアウトまたは実行タイムアウトを構成して、ワークステーションが一定期間内に構成の更新と同期するようにできます。
Gemini Code Assist
Gemini Code Assist は、 Google Cloudの AI を活用したコラボレーターです。ワークステーション構成を作成する際に Cloud Workstations の Base Editor(Cloud Workstations 用の Code OSS)を選択した場合、Gemini はベースエディタで以下のような場合に役立ちます。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-03 UTC。"],[],[],null,["# Cloud Workstations overview\n\nCloud Workstations provides managed development environments on Google Cloud\nwith built-in security and preconfigured yet customizable development\nenvironments. Instead of requiring your developers to install software and run\nsetup scripts, you can create a workstation configuration that specifies your\nenvironment in a reproducible way. Any updates to a workstation configuration\nautomatically apply to workstations the next time they start. Developers access\nthe workstations through a browser-based IDE, from multiple local code editors\n(such as VSCode or JetBrains IDEs such as IntelliJ IDEA Ultimate and PyCharm\nProfessional), or through SSH.\n\nCloud Workstations uses the following Google Cloud resources to manage your\ndevelopment environments:\n\n- **Workstation clusters** define a group of workstations in a particular\n region and the VPC network they're attached to.\n Workstation clusters aren't related to\n [Google Kubernetes Engine (GKE)](/kubernetes-engine/docs/concepts/kubernetes-engine-overview)\n clusters.\n\n- **Workstation configurations** act as templates for workstations. The\n workstation configuration defines details such as the workstation virtual\n machine (VM) instance type, persistent storage, container image defining\n environment, which IDE or Code Editor to use, and more. Administrators and\n platform teams can also use\n [Identity and Access Management (IAM)](/iam/docs/overview)\n rules to grant access to teams or to individual developers.\n\n- **Workstations** are preconfigured development environments that provide a\n cloud IDE, language tooling, libraries, and more. Workstations can be\n started or stopped on demand, and run on\n [Compute Engine](/compute/docs/instances)\n VMs in your project, with a persistent disk attached to store data\n between sessions.\n\nAdministrators and platform teams create *workstation configurations* that they\nshare with their development team. Each developer creates a *workstation* based\non a workstation configuration.\n\n\nFigure 1. Cloud Workstations Concepts\n\n\u003cbr /\u003e\n\nWorkstation lifecycle\n---------------------\n\nWorkstations run on ephemeral Compute Engine VMs, and can be started or\nstopped on demand to improve cost savings. Additionally, administrators and\nplatform teams can configure an *idle timeout* or *running timeout* in the\n[workstation configuration](/workstations/docs/customize-development-environment#resource:-workstationconfig)\nto help make sure that workstations shut down when they are no longer used,\nwhich reduces costs. It also helps make sure that all workstations synchronize with\nthe latest changes applied to their workstation configuration when each\nworkstation restarts.\n\nPersistent storage\n------------------\n\nWhen a workstation stops, its ephemeral VM is deleted along with all workstation\nruntime data. Administrators and platform teams can optionally configure a\npersistent home directory on a workstation configuration, so all data saved to\nthe home directory persists between sessions. This persistent storage is\nimplemented as a\n[persistent disk](/persistent-disk) that\nis attached to the workstation VM when the session starts, and detached when the\nsession ends.\n\nWorkstation DNS hostnames\n-------------------------\n\nEvery workstation is given its own unique hostname. All workstations in a\nworkstation cluster share a common, cluster-specific domain name, and the\nworkstation cluster takes care of routing requests for this hostname to the\nrunning workstation. The workstation hostname can be used to connect to the\nworkstation through your browser.\n\nConfiguration updates\n---------------------\n\nUpdates to a workstation configuration automatically apply to workstations\nwhen each workstation restarts after the configuration update.\nFor example, changing the machine type in a workstation configuration changes\nthe machine type of the VMs used by the associated workstations the next time\neach workstation restarts. Administrators and platform teams can configure an\n*idle timeout* or *running timeout* in the\n[workstation configuration](/workstations/docs/customize-development-environment#resource:-workstationconfig)\nto help make sure that workstations synchronize with configuration updates\nwithin a bounded period of time.\n\nGemini Code Assist\n------------------\n\n[Gemini Code Assist](/gemini/docs/overview) is an AI-powered\ncollaborator in Google Cloud. If you select the Cloud Workstations **Base Editor (Code OSS for Cloud Workstations)**\nwhen you\n[create your workstation configuration](/workstations/docs/create-configuration#customize_environment),\nGemini can help you with the following in the base editor:\n\n- Provide guidance to help you solve problems with your code.\n\n- Generate code for your project.\n\n- Receive inline suggestions while you're coding.\n\nGemini provides source citations when suggestions directly\nquote at length from a source to help you comply with any license requirements.\nFor more information about using Gemini with Cloud Workstations, see\n[Code with Gemini Code Assist assistance](/workstations/docs/write-code-gemini).\n\nLearn [how and when Gemini\nfor Google Cloud uses your data](/gemini/docs/discover/data-governance).\n\nSoftware supply chain security\n------------------------------\n\nCloud Workstations is one of the Google Cloud components you\ncan use to protect your software supply chain. You can use\nCloud Workstations together with other Google Cloud products and\nfeatures to improve the security posture of developer workflows and tools,\nsoftware dependencies, CI/CD systems used to build and deploy your software,\nand runtime environments such as Google Kubernetes Engine and Cloud Run. To learn\nmore, see\n[Software supply chain security](/software-supply-chain-security/docs/overview)."]]