6

Is it possible to work with AWS Sagemaker Studio Notebooks using an IDE such as VSCode or PyCharm/IntelliJ running on my local machine? And if yes, how?

Ideally I'd like to want to connect to the Sagemaker-managed Jupyter kernel from my local IDE, so I can see and edit the notebook in my IDE while execution happens in the kernel on AWS Sagemaker.

I know how to connect to a self-managed Jupyter installation on a remote server like EC2. This is not want I want. I'm looking to connect to a kernel managed by Sagemaker Studio.

florian
  • 161
  • 1
  • 3

2 Answers2

3

VSCode supports a client-server architecture where the server is remote and the client is local. The process is to set up a Visual Studio Code Server on AWS and then connect that remote instance to your local VSCode client, step-by-step directions are here.

Brian Spiering
  • 23,131
  • 2
  • 29
  • 113
3

The only approach that I have found to work is to use the sagemaker-ssh-helper. This uses AWS SSM + SSH along with VSCode's remote development extension.

Ben Jackel
  • 131
  • 1