Skip to main content

Jupyter Kernels Preview

ยท 4 min read
Eric Charles

Jupyter Kernels is being released in a PREVIEW mode. This means that the account you will create will not stay and can be removed at any time based on Datalayer's new releases.

First things first, what is a Jupyter Kernel? A Jupyter Kernel is the place where the computation of your Jupyter Notebook is happening. A Kernel is separated from the Notebook, hence can run your code remotely on a different system.

Install Datalayerโ€‹

Jupyter Kernels is a JupyterLab extension. To install it, just run the following command in your terminal.

pip install jupyter-kernels

You will need python>=3.9 and pip available on your machine.

Launch JupyterLab as usual.

jupyter lab

JupyterLab Launcherโ€‹

JupyterLab users are used to go the their launcher which present typical tiles to create a Notebook and launch a Kernel.

Jupyter Kernels introduces a new element at the top of the JupyterLab launcher.


The first step is to authenticate.

If this is your fist contact with Datalayer, you will need an account. Just fill in a few details and check your mailbox for the confirmation code.


Once authenticated, Datalayer takes care of the rest and will create the needed services for you in its own infrastructure.

You don't have to worry on anything, just wait on the green light that should appear on your Home page.


Once the services are available, it may take a bit of time to have your kernels up-and-running. For now, we offer you 3 differents remote kernels.

The Home page also list your local machine Kernels, and will offer in next releases the ability to create local browser Kernels.

Remote Kernelsโ€‹

Jupyter Kernels PREVIEW creates for now predefined Remote Kernels from your local JupyterLab.


To ease the onboarding, you can create example of Notebooks clicking on the Example buttons.

This step is of course completely optional and you are welcome to directly use your own Notebooks.

You can use the Kernels from the standard JupyterLab kernel picker.

Click on the top-right picker of the Notebook, and assign a Kernel to Notebook (the Remote Kernels are listed at the top).

Local Filesโ€‹


Highly experimental.

  • You need a local SSH Server.
  • Once a folder is mounted, you'd better restart your server to unmount it (we are working on a better implementation).
  • Windows is not supported for now.
  • ssh from you local machine on your user account has to work without prompt

To mount your Local Files to the Remote Kernel, a SSH Server must be running on your local machine (on port 22) and you must be able to connect without password prompt from your local terminal.

# Has to connect without password prompt.
ssh localhost
# ...

Kernel Lifecycleโ€‹

You can delete a Kernel.

We will support the start as pause of the Kernel.


Kernel start and pause is not supported in the current release.

Need Help?โ€‹

Contact us for support, we are here to help.