7.4 VS Code Remote
VS Code Remote
What You’ll Learn
- Installing the Remote-SSH extension
- Connecting VS Code to your workspace or cluster head node
- Using the integrated terminal and file explorer remotely
- Running Jupyter notebooks inside VS Code
- Platform-specific tips (Compute Service, PCluster, Loome)
Quick Start
- Install Visual Studio Code on your local machine
- Install the Remote - SSH extension from the Extensions marketplace
- Open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) → Remote-SSH: Connect to Host - Enter your connection string:
ec2-user@<workspace-ip>(or equivalent) - VS Code opens a new window connected to your remote environment
Platform Notes
| Platform | Connection | Notes |
|---|---|---|
| Compute Service | SSH to workspace IP | Ensure your IP is whitelisted in the security group |
| PCluster | SSH to head node | Install extensions to /shared for persistence |
| Loome | SSH to VM IP | Check firewall allows port 22 |
| AWS Direct | SSH to EC2 instance | Standard EC2 key pair authentication |