Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Connecting to the Vertex AI Workbench container from VS Code

Hello, I would like to use the Workbench instance, but code from VS Code.

I realize it's possible to connect to the jupyter kernel running on the VM. But this is not sufficient.

I am trying to use VS Code's remote ssh development feature. It allows to seamlessly work on the VM as if developing locally.

I think that I need to ssh into the payload-container on the VM, but I can't find a way to do it.

One important note is that the VM can not execute binaries (security restriction), so I can not run the VS Code server on the VM os itself.

 

How can I do that?