# Connecting to Instances

> Connect to Thunder instances via VS Code. Configure SSH settings and manage remote development sessions for low-latency coding workflows.

VS Code

Editor extension

[Open](https://www.thundercompute.one/docs/vscode/operations/connecting-to-instances.md)

CLI

Command line

[Open](https://www.thundercompute.one/docs/cli/operations/connecting-to-instances.md)

Console

Web interface

[Open](https://www.thundercompute.one/docs/console/operations/connecting-to-instances.md)

## Before You Connect

Make sure you have:

* Installed the Thunder VS Code extension
* Signed in to Thunder from the extension
* Installed the [Remote - SSH](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh) extension
* Created an instance and waited for it to show `RUNNING`

> [!NOTE]
>
> If your instance does not appear, click the refresh button in the Thunder sidebar.

## Connect to an Instance

1. Open VS Code
2. Click the Thunder lightning icon in the Activity Bar
3. If prompted, click **Login** and complete the browser sign-in
4. Under **Instances**, find the running instance
5. Click the connect button on the instance row

![Thunder VS Code extension showing a running instance](https://www.thundercompute.one/assets/media/abbdfd08bd-connect-instance-sidebar.png)

VS Code opens a new Remote SSH window for the instance. The lower-left status bar shows the active SSH target, such as `SSH: tnr-0`.

![VS Code connected to a Thunder instance over Remote SSH](https://www.thundercompute.one/assets/media/478034c3b2-remote-ssh-window.png)

You can browse files, edit code, and open terminals in this window as if you were working locally. Commands run on the Thunder instance.

> [!NOTE]
>
> On your first connection, VS Code may ask whether you trust the remote folder. Choose **Yes, I trust the authors** only for folders you expect to work in.

## Exposing Services

To expose web servers, Jupyter notebooks, or other services running on your instance, use a [Cloudflare Tunnel](https://www.thundercompute.one/docs/technical-specs.md#port-access).

## Using Standard SSH

If you prefer using your own SSH client, Thunder is compatible with standard SSH tools.

Need to manage saved keys or copy a raw SSH command? Use the [console SSH workflow](https://www.thundercompute.one/docs/console/operations/ssh.md).
