Google Cloud Workbench Brings Cloud ML to VS Code
Google just released a VS Code extension that connects your editor directly to cloud Jupyter environments. It’s called the Workbench Notebooks extension, it’s fully open source, and it solves a problem that every ML engineer I know has complained about at least once: the friction of switching between local development and cloud compute.
Here’s the basic pitch: you’re working on a model in VS Code, you hit a cell that needs GPU, and instead of SSH-ing into a cloud VM or uploading your notebook to Colab, you connect to a Google Cloud Workbench instance from within your editor. The cloud environment mounts as if it were local. You get the VS Code experience (keybindings, extensions, git integration) with cloud-scale compute behind it.
This isn’t a new category — GitHub Codespaces, Gitpod, and AWS SageMaker Studio all offer cloud development environments. But Google’s angle is specifically tuned for ML workflows: managed Jupyter environments with pre-configured GPU access, integrated with Vertex AI’s experiment tracking and model serving infrastructure.
What the Extension Actually Does
Install it from the VS Code Marketplace (or build from source on GitHub), authenticate with your Google Cloud account, and you see your Workbench instances in the VS Code sidebar. Click one, and it connects.
Under the hood, this is more than a remote SSH connection with a nice UI. The extension handles:
- Kernel management: Jupyter kernels on the cloud instance show up in VS Code’s native notebook UI. You don’t need to open a browser tab for Jupyter Lab.
- File sync: Files in your VS Code workspace sync to the cloud instance. Changes are bidirectional — edit locally, run remotely.
- Resource monitoring: GPU/CPU usage, memory consumption, and disk space for the cloud instance are visible in the VS Code status bar. No more switching to the GCP console to check if you’re about to OOM.
- Environment configuration: Cloud instances are defined as code (using Workbench’s instance templates), so you can version your ML environment alongside your model code.
The open-source angle matters. The extension is on GitHub under an Apache 2.0 license. If Google ever deprecates it or changes the pricing model, the community can fork and maintain it. For a tool that you’d integrate into a production ML pipeline, that’s a meaningful signal.
One detail worth mentioning: the extension doesn’t require a specific Google Cloud project structure. It works with existing Workbench instances, regardless of how they were created (console, Terraform, gcloud CLI). This backward compatibility is important for teams with established infrastructure-as-code setups — you don’t need to recreate your instances to use the extension.
Why This Matters for ML Infrastructure
The ML tooling landscape in 2026 has a weird split. On one side, you have fully managed platforms like Vertex AI, SageMaker, and Azure ML that handle infrastructure but constrain your workflow. On the other side, you have local development with whatever GPU you can fit under your desk, plus ad-hoc SSH sessions to cloud VMs when you need more compute.
The Workbench extension lands in the middle. You get the managed infrastructure (GPU provisioning, environment config, experiment tracking) without leaving your editor. For teams that have standardized on VS Code — which is most ML teams I talk to — this removes a significant context-switching tax.
The model serving angle is worth paying attention to. Workbench instances can be configured with Vertex AI endpoints, meaning the same environment you use for training can publish directly to a serving endpoint. In theory: train a model in your Workbench notebook, run evaluation, and deploy to a Vertex AI endpoint without changing tools. In practice, the “deploy” step still involves YAML configs and IAM permissions, but the integration path exists.
For GPU computing specifically, Google’s advantage is the TPU ecosystem. Workbench instances can attach to TPU v5 pods, which for certain workloads (large transformer training, batch inference) offer better price-performance than NVIDIA A100/H100 alternatives. The extension doesn’t add new GPU capabilities — it just makes existing ones more accessible.
Comparison: Workbench vs Colab vs SageMaker Studio
I keep a running comparison of cloud ML environments because the pricing and capability gaps change every quarter. Here’s where Workbench fits as of mid-2026:
| Workbench + VS Code | Colab | SageMaker Studio | |
|---|---|---|---|
| Editor | VS Code (native) | Browser-based | Browser-based (JupyterLab fork) |
| GPU types | A100, H100, L4, TPU v5 | T4, A100, L4 | A100, H100, Trainium |
| Pricing model | Per-instance-hour | Per-compute-unit | Per-instance-hour |
| Offline mode | Yes (local fallback) | Limited | Limited |
| Git integration | Native VS Code | Manual | Built-in but clunky |
| Experiment tracking | Vertex AI | None (manual) | SageMaker Experiments |
| Open source | Extension: yes; Backend: no | No | No |
The killer feature for Workbench is the VS Code integration. Colab’s web editor is fine for quick experiments but becomes painful when you’re refactoring across multiple files or working with a real git workflow. SageMaker Studio’s JupyterLab fork is better than Colab but still feels like a browser app pretending to be a desktop editor.
Workbench in VS Code feels like a desktop editor because it is one. Extensions, themes, keybindings, terminal panes — everything you’ve configured in VS Code carries over.
The “No Context Switch” Pitch vs Reality
Google’s marketing for this extension leans hard on “no context switching.” The reality is more nuanced.
What you actually avoid: opening a separate browser tab for Jupyter, copying code between local and cloud environments, reconfiguring your Python environment on each new instance, and manually checking GPU utilization in the GCP console.
What you still deal with: instance startup time (30-90 seconds for GPU instances), IAM permission debugging (“why can’t my service account access this bucket?”), and the occasional kernel disconnect that requires reconnecting.
The startup time issue is worth flagging because it’s the main friction that remains. A 90-second cold start isn’t terrible if you’re starting a multi-hour training run. It’s annoying if you’re doing fifteen 5-minute experiments in an afternoon. There’s a “keep warm” option that prevents instance shutdown, but it costs money while idle.
For MLOps Teams
If your team already uses Vertex AI for experiment tracking and model serving, the Workbench extension is a straightforward upgrade. It slots into existing GCP IAM structures, uses the same service accounts, and works with the same instance types you’ve already provisioned.
If your team is on AWS or Azure, this extension alone isn’t a reason to switch. The cloud-agnostic parts (VS Code integration, notebook UX) are nice, but the real value — the tight coupling with Vertex AI — requires Google Cloud infrastructure.
That said, the extension’s architecture is open source. There’s nothing stopping the community from building Azure ML or AWS SageMaker backends. The VS Code extension API is well-documented, and the Workbench extension separates the UI layer from the cloud provider integration. If someone at AWS is reading this: please steal the idea.
For teams that rely on model serving at scale, the Workbench-to-Vertex-AI pipeline closes a loop that’s been broken for years. Training and serving environments should be as similar as possible — ideally identical — to avoid the “works in my notebook, fails in production” class of bugs. When your training environment (Workbench) and serving environment (Vertex AI endpoints) share the same container images, Python versions, and dependency trees, those bugs mostly go away. The extension makes this workflow feel intentional rather than hacked together.
What I’d Improve
A few things I’d like to see in the next few releases:
Faster cold starts. 30-90 seconds is acceptable for production but not for exploratory work. Pre-warmed instance pools or snapshot-based fast boot would help. Google Cloud has the infrastructure for this (it’s how Cloud Run achieves sub-second cold starts), it just hasn’t been applied to Workbench instances yet.
Cost visibility. The extension shows GPU utilization but not dollar cost. A running estimate in the status bar — “this instance has cost $4.32 so far this session” — would prevent the classic “I left a GPU instance running over the weekend” surprise. Google has the billing API for this; it’s a UX problem, not a data problem.
SSH tunnel fallback. The extension currently requires the Workbench proxy service, which means it depends on Google Cloud’s control plane being up. A direct SSH tunnel option would add resilience for teams that want it. The SSH config is already generated for each instance (visible in the GCP console); the extension just needs to surface it.
Local GPU passthrough. If you have a local GPU (M3 Ultra MacBook, RTX workstation), it’d be useful to use it through the same VS Code notebook interface, falling back to cloud only when local memory runs out. This is a harder engineering problem but would make the extension the single interface for all ML compute.
The Bottom Line
The Workbench extension is a well-scoped tool that does one thing: connect VS Code to cloud Jupyter environments. It doesn’t try to be a full ML platform, doesn’t introduce a new notebook format, and doesn’t lock you into a proprietary workflow. The open-source license is a trust signal in a space where ML tools tend to be closed-source and vendor-locked.
For Google Cloud ML users, install it. The GPU monitoring alone saves enough console-tab-switching to justify the five-minute setup. For everyone else, watch the open-source community — if someone builds AWS/Azure backends, this architecture could become the standard way to connect local editors to cloud GPU infrastructure.
A practical note on getting started: after installing the extension, you’ll need to enable the Notebooks API in your GCP project and create at least one Workbench instance. The extension’s onboarding walks through both steps, but if you hit IAM issues (common when using a service account with restricted permissions), the fix is usually adding roles/notebooks.viewer to the service account. If you’re using a personal GCP account with owner permissions, it should work out of the box.
The real test will be whether Google maintains it. VS Code extensions have a pattern: a team ships something useful, gets promoted, team dissolves, extension stagnates. If Workbench is still getting updates in six months with faster cold starts and cost visibility, that’s the signal that Google is serious about the developer experience for ML infrastructure.
Sources: Google Developers Blog (2026-07-01); Workbench Extension GitHub repository; AIHOT platform item cmr2cbj7s06qgsl8zt4giih2x.