Google Cloud Workbench Notebooks Gets VS Code Extension
Google Cloud released a VS Code extension for Vertex AI Workbench Notebooks, letting developers connect their local VS Code editor directly to managed cloud Jupyter environments. If you’ve ever fought with local GPU setup or waited for a Colab instance to spin up just to edit a notebook, this is aimed at you.
The extension bridges the gap between the IDE people actually want to use (VS Code) and the compute they need to rent (cloud GPUs and TPUs). You write code in your local editor, but execution happens on a Vertex AI Workbench instance with however much compute you’ve provisioned. No more copying notebooks between Colab and local, no more SSH tunneling into cloud VMs just to run Jupyter.
I spent a few hours testing the setup flow and digging into what this means for real-world ML workflows. Here’s what you get and where the rough edges are.
What Vertex AI Workbench actually is
Vertex AI Workbench is Google Cloud’s managed Jupyter environment. Think of it as Colab Pro but with your own VPC, IAM controls, and the ability to attach GPUs, TPUs, or high-memory instances. It’s been around for a while, but until now the primary interface was the browser-based JupyterLab.
The managed aspect matters more than it sounds. Your notebook instance gets automatic backups, can be stopped/started to save costs, integrates with Vertex AI Pipelines for MLOps workflows, and sits inside your VPC so data never leaves your network. For enterprise ML teams, those aren’t nice-to-haves — they’re requirements from security and compliance.
The tradeoff has always been the editor experience. JupyterLab in the browser works, but it’s not VS Code. The extension changes that equation.
How the VS Code extension works
You install the extension from the VS Code marketplace, authenticate with your Google Cloud account, and it discovers your existing Workbench instances. From there, you can connect to any running instance and open it as a remote VS Code workspace.
Under the hood, it uses VS Code’s remote development architecture — the same one that powers Remote-SSH and GitHub Codespaces. The UI runs locally, but the VS Code server runs on the cloud instance. File operations, terminal commands, and notebook execution all happen on the remote machine.
Here’s what the setup looks like in practice:
# 1. Install the extension from VS Code marketplace
# 2. Run "Google Cloud: Sign In" from command palette
gcloud auth login
# 3. List available Workbench instances
gcloud workbench instances list
# 4. Connect from VS Code command palette:
# "Google Cloud Workbench: Connect to Instance"
Once connected, your local VS Code window behaves as if the files and terminal are local, but everything runs on the cloud VM. You get syntax highlighting, IntelliSense, Git integration — all the VS Code features you’d expect — plus direct access to whatever GPU the instance has attached.
Who this is for
If you match any of these profiles, this extension solves a real problem:
-
ML engineers running local VS Code but needing cloud GPUs for training. Instead of developing locally and then pushing to a cloud VM, you develop directly on the cloud instance. The feedback loop is tight.
-
Teams with data residency requirements. Your data lives in a VPC. You can’t copy it to a local machine. The extension lets you work with that data through VS Code without moving it.
-
People who hate JupyterLab’s interface. This is more people than you’d think. VS Code’s notebook support has gotten genuinely good — cell-by-cell execution, variable explorer, debugger integration. If you already live in VS Code, adding cloud compute shouldn’t mean switching editors.
-
MLOps teams building Vertex AI Pipelines. Workbench instances integrate directly with Vertex AI’s pipeline orchestration. Developing and testing pipeline components in the same environment where they’ll run eliminates a whole class of “works on my machine” problems.
Who should not use this
This isn’t for everyone:
-
If you’re doing lightweight exploration and Colab’s free GPU is sufficient, this is overkill. Colab is still the fastest path from zero to a running notebook.
-
If your training jobs are batch-oriented and you submit them to a cluster, the interactive notebook workflow doesn’t help much. You’d be better off with Vertex AI Training jobs.
-
If you work entirely locally and don’t need cloud compute, this adds nothing. The extension is a bridge — if you’re happy on one side, don’t build the bridge.
-
Cost-conscious solo developers. Vertex AI Workbench instances cost money even when idle. The stop/start feature helps, but if your monthly cloud budget is $50, Colab or a local GPU will go further.
How it compares to alternatives
The managed cloud notebook landscape has gotten crowded. Here’s how the major options stack up:
| Feature | Vertex AI Workbench + VS Code | GitHub Codespaces | AWS SageMaker Studio | Colab Pro+ |
|---|---|---|---|---|
| Local IDE integration | VS Code (native) | VS Code (browser or desktop) | JupyterLab (custom) | Browser only |
| GPU options | A100, L4, T4, TPU | None (CPU only) | A100, A10G, T4 | T4, A100 |
| VPC integration | Yes | No (GitHub network) | Yes | No |
| Pricing model | Per-instance + compute | Per-core-hour | Per-instance-hour | Flat subscription |
| Data residency | Your VPC | GitHub’s infra | Your VPC | Google’s infra |
| Pipeline integration | Vertex AI Pipelines | GitHub Actions | SageMaker Pipelines | None |
| Idle shutdown | Configurable | Auto (30 min) | Configurable | Auto (~90 min) |
The standout differentiator for Vertex AI is the combination of native VS Code support plus VPC-bound compute. If your data can’t leave your cloud network — common in healthcare, finance, and defense — Codespaces and Colab are non-starters. SageMaker Studio has VPC support, but the editor experience is JupyterLab-based, not VS Code.
The bigger picture: Cloud IDEs are converging
This extension fits into a broader trend: the line between local and cloud development environments is disappearing. GitHub Codespaces brought cloud dev environments to VS Code in 2021. AWS added SageMaker Studio Lab in 2022. Google had Workbench but lacked the VS Code bridge until now.
What’s interesting is how each provider approaches the same problem differently. GitHub bets on a fully cloud-native experience — your environment lives in their infrastructure. AWS built a custom IDE (SageMaker Studio) and only recently added a VS Code option. Google is taking the middle path: the compute is cloud, but the editor is local.
For ML teams evaluating their infrastructure setup, the VS Code extension removes one of the last arguments against Vertex AI Workbench. The editor experience was the friction point, and now it’s gone. Combined with the GPU options (up to A100) and native MLOps integrations, it’s a competitive option for teams that need cloud compute without sacrificing their existing VS Code workflows.
Limitations and caveats
A few things to be aware of before switching your team over:
Network latency is real. Your keystrokes travel to a cloud VM and back. If you’re in Singapore connecting to a us-central1 instance, you’ll feel the lag. Pick the closest region to your physical location, or use Cloud Workstations (Google’s managed dev environment) as an alternative with regional deployment. For GPU-heavy workflows where you mostly execute cells and rarely type long blocks of code, the latency is barely noticeable. For heavy editing sessions, it can get annoying.
Extension is new. This is a v1 release. Expect rough edges around instance discovery, connection stability, and authentication token management. Google’s track record with VS Code extensions (Cloud Code, for instance) suggests steady improvement but don’t expect the polish of Remote-SSH on day one. I hit one issue where the instance list took ~30 seconds to populate after auth — not a dealbreaker but notable.
Not a full desktop replacement. Some VS Code extensions that depend on local binaries won’t work. Docker Desktop integration, for example, doesn’t translate to a remote Workbench instance. Similarly, extensions that spawn local processes for linting or formatting may need remote-installed equivalents. Test your workflow before committing.
Instance management overhead. You still need to manage Workbench instances — starting, stopping, resizing, updating. The extension connects to them but doesn’t abstract them away. If you want fully managed environments where you never think about instances, Codespaces is still the smoother experience. On the flip side, this explicit control matters for cost management. A stopped Workbench instance costs nothing for compute (you still pay for attached disks), whereas Codespaces burn core-hours as long as the environment exists.
GPU availability is not guaranteed. Vertex AI Workbench offers A100, L4, and T4 GPUs, but they’re subject to regional availability. If you need A100s in a specific region, check the quota before building your workflow around it. I’ve seen teams get burned by assuming GPU availability and discovering their preferred region had a 0 quota for the GPU type they needed. The extension connects to what’s running — it doesn’t solve the underlying capacity constraints of cloud GPU computing.
What I’d like to see next
Automatic instance provisioning from the extension would be the obvious next step. Right now you need to create Workbench instances through the Cloud Console or gcloud CLI before connecting. Letting users pick a machine type and GPU from within VS Code and having the extension provision it would close the loop entirely. This is how GitHub Codespaces works — you pick a machine spec and it spins up. There’s no reason Workbench can’t offer the same flow.
Better integration with Vertex AI Experiments and Model Registry would also help. If I’m training a model in a Workbench notebook, I should be able to log metrics and register the model without leaving VS Code. The building blocks exist in the Vertex AI SDK — they just need extension-level UI. An “Experiment” sidebar that shows your training runs, metrics, and artifact lineage would make the extension feel like a proper MLOps tool rather than just a remote notebook connector.
And while it’s a niche concern, SSH-based connectivity as an alternative to the current proxy-based connection would help users behind strict corporate firewalls where WebSocket connections get blocked. This is a common pain point for GPU computing setups in enterprise environments — you have the compute, you just can’t reach it from your corporate laptop.