How to Connect VS Code to a Remote JupyterLab Server on GeoLab

Developers can connect their local VS Code editor to a remote JupyterHub instance running on GeoLab, a 2i2c-managed Kubernetes platform hosted at geolab.earthscope.cloud. The setup requires the VS Code Jupyter extension and a running GeoLab server pod, from which users generate a tokenized public URL using a short Python script. This URL replaces the internal 0.0.0.0:8888 address with the public hub host and appends an authentication token, which must be kept private. Users paste the URL into VS Code's kernel picker under 'Existing Jupyter Server' to route notebook execution to the remote GeoLab pod rather than their local machine. Common issues include expired tokens, incorrect URL encoding of OAuth2 user IDs, and pod culling, all of which have documented workarounds in the guide.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in