Skip to main content

Accessing GPU/CPU powered instances

There are several ways you can access your GPU/CPU-powered instances, including Jupyter Lab, Command Line Interface (SSH, Terminal), or connecting through your favorite editor like VS Code.

Jarvislabs.ai Launch

Connect to JupyterLab​

Click on the ▢️ button to launch JupyterLab. JupyterLab is a powerful open source development environment for notebooks, code and data. Some of the things you can do using JupyterLab are

  • Open a terminal (command line interface)
  • Upload and Download files.
  • Open CSV, PDF, image files. (The supported file size could vary based on the computer you are running).
  • Build powerful dashboards

Check out the amazing demo video on how to use JupyterLab, you can also explore more about it in the docs.

Connect via SSH​

Before launching the instance, make sure to add your computer SSH keys here to connect from the terminal.

To obtain the required string to SSH into the instance, click on the SSH button ssh button

Jarvislabs.ai SSH

tip

If you have choosen a custom location to store your ssh key, then do not forget to add the location as -i path

ssh -i /path/to/your/key/id_rsa -P port_number domain_name
More TIP

If you are new and all you need is a terminal to install some libraries, we recommend using the terminal from JupyterLab.

Press the + button on upper left corner of the JupyterLab and launch a terminal.

Take care

If you have instances that were launched before adding your SSH keys, you can do one of the following to connect to those instances:

  1. Pause and Resume the instance.
  2. Destroy and launch a new instance.

How to get my local ssh keys?​

If you have already created ssh keys, you can access them using

cat ~/.ssh/id_rsa.pub

Creating a new key is also very simple. Execute the following commands on your terminal/PowerShell to generate an SSH key pair.

ssh-keygen -t rsa -b 4096

It will ask a couple of questions, you can simply press enter to most of them.

Connect via VS Code​

You can also access and run your deep learning programs straight from Visual Studio Code in 3 easy steps. To do that, you should have updated your public_ssh keys as mentioned earlier.

  1. Install Remote - SSH Extension.
  2. Add New SSH Host.
  3. Connect to Host.

Install the Remote-SSH Extension from the Visual Studio code extenstions.

Jarvislabs.ai VSCode

Add & Connect to New Host​

β‡§βŒ˜P for Mac and Ctrl+Shift+P for windows to open Command Palette

Jarvislabs.ai VSCodeConnect

Connect via Jetbrains DataSpell IDE​

You can also connect to the instance through Jetbrains DataSpell.

  1. Copy your instance JupyterLab URL using right-click on jupyter button jupyter button and copying link address.
  2. From DataSpell Extentions -> add New Jupyter Connection
  3. Choose Connect to Jupyter Server using URL
  4. Paste Jupyter URL into Server URL
  5. You will find to JarvisLabs.ai notebook server Running under Files Tab.
  6. Thanks to Isaac for the below demonstration.

Jarvislabs.ai DataspellConnect