Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Connecting to local runtime via Google Cloud SDK #30

Open
markmorr opened this issue Mar 16, 2022 · 0 comments
Open

Connecting to local runtime via Google Cloud SDK #30

markmorr opened this issue Mar 16, 2022 · 0 comments

Comments

@markmorr
Copy link

Hi,

I am attempting to connect to a VM instance I started from GCP so that I can take advantage of a GPU in Google Colab. I am following the instructions here. I also attempted solutions from the issues raised here and here but they didn't work--I think my problem is somewhat different. I am using the following commands
First in Google Cloud SDK:
gcloud compute ssh --zone "us-central1-a" [instance_name] --project [project_name] -- -L 8889:locahost:8889
Then, in the instance that starts up:
jupyter serverextension enable --py jupyter_http_over_ws
jupyter notebook --NotebookApp.allow_origin="https://colab.research.google.com" --port=8889 --NotebookApp.port_retries=0 --no-browser

After those, my instance generates the url as expected, but when I paste it into my browser it says 'The site can't be reached.' (Connection reset error).
Any help or suggestions would be greatly appreciated!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant