Back
Run Jupyter Notebooks on a Cloud GPU Inside VS Code: Step-by-Step Guide
Step‑by‑step instructions to launch Jupyter Notebooks on a Thunder Compute cloud GPU from Visual Studio Code.
Published:
Apr 19, 2025
|
Last updated:
Apr 19, 2025

1) Prerequisites
VS Code ≥ 1.80
Thunder Compute account (includes $20 free GPU credit)
Thunder Compute VS Code extension
(Optional) Jupyter extension for VS Code
2) Install and Authenticate
Open Extensions (Ctrl + Shift + X) or click here.
Search “Thunder Compute” and click Install.
Press F1 → Thunder: Login.
Paste your Thunder Compute API token.
If you need one: Thunder: Get API Token opens the console.
3) Create a Cloud GPU Instance
Click the ⚡ Thunder Compute icon in the activity bar.
Press Thunder: Create Instance (plus icon)
Choose GPU type (A100, T4, etc.), vCPUs, and disk size and click "Create Instance."
Wait until the instance status reads Running.
4) Connect with Remote‑SSH
In the Thunder sidebar, right‑click the instance → Connect to Instance.
VS Code opens a new remote window rooted at
~/
.
5) Open a Jupyter Notebook
VS Code detects
.ipynb
files and prompts to install the Jupyter extension inside the remote VM. Accept the prompt.Create a new notebook: F1 → Jupyter: Create New Blank Notebook.
Select the kernel Python 3 (ipykernel).
6) Verify GPU Access (PyTorch)
Expected
7) Manage Instance State
Action | Command |
---|---|
Stop billing when idle | Thunder: Stop Instance |
Restart | Thunder: Start Instance |
Delete (permanent) | Thunder: Delete Instance |
Refresh list | Thunder: Refresh Instances |
8) Thunder Compute Extension Reference
Simple Authentication: secure API‑token login
Instance Management: list, start, stop, delete, refresh
One‑Click Connect: SSH session launched automatically
Cost Control: stop instances from VS Code to pause charges
9) Next Steps
Benchmark your GPU cost with the A100 Pricing Showdown 2025 article.
Check out the Thunder Compute documentation
Automate environment setup with Thunder Compute snapshots.
Quick Shut‑Down Reminder
When you finish a notebook session, run Thunder: Stop Instance or press the ⏹ Stop button in the sidebar to avoid unnecessary charges.

Carl Peterson
Other articles you might like
Learn more about how Thunder Compute will virtualize all GPUs
Try Thunder Compute
Start building AI/ML with the world's cheapest GPUs