Skip to main content
Serverless AI Devlabs run container images as interactive development environments. They are suitable for coding, prototyping and debugging in the browser, including template-based setups such as code-server, JupyterLab® or ComfyUI. Each Devlab runs on a Compute container virtual machine (VM).

How to create a Devlab

Make sure you are in a group that has at least the editor role within your tenant or project; for example, the default editors group. You can check this in the Administration → IAM section of the web console. To create an interactive development environment, create a Devlab:
  1. In the sidebar, go to  Serverless AI → Devlabs.
  2. Click  Create Devlab.
  3. Specify the Devlab name.
  4. Configure Devlab settings:
    1. Select Custom to provide your own container image, or Template to start from a template.
    2. If you selected Custom, in Image path, set the path to the container image.
    3. If you use a private registry, click  Add registry and provide the details for your registry.
    4. In Ports, set the container ports for the Devlab. For each port, select HTTP or TCP. You can add multiple ports. The primary web UI port gets the Devlab’s managed HTTPS URL; other ports are shown in the Devlab status but are not publicly routed.
    5. (Optional) In Entrypoint command, specify the entrypoint command for the container. If you need to pass container arguments, specify them in this field as well.
    6. (Optional) In Environment variables, specify environment variables in key-value pairs.
    7. (Optional) In Secret environment variables, click  Create secret to store a sensitive value in SecretStash and inject it as an environment variable. In the window that opens, specify the Key (environment variable name) and Value (secret data), then click Create.
    8. (Optional) Enable Token authentication if you want to protect the Devlab web UI with a token.
      1. Under Token, click  Create.
      2. In the Create secret with token window, specify the secret Name and, optionally, a Description.
      3. In Token, enter a token or click Generate. Copy and save the token securely before proceeding. The token is saved as the first value in a SecretStash secret.
      4. Click Create secret.
      If token authentication is disabled, anyone with the Devlab URL can access the service.
  5. (Optional) In Platform, select With GPUs or Without GPUs, then select the platform.
  6. (Optional) In Settings, select the preset. The preset must match the selected platform.
  7. (Optional) Configure Storage settings:
    • Under Disk size, set the container disk size. See how disk performance depends on disk size. Data under the workspace path on this disk persists across start and stop. The workspace is a path on the container disk (/workspace by default, or the path declared by the template). Its size is limited only by the disk size. While the Devlab is stopped, the entire container disk continues to be billed.
    • Under Mounted volumes, click Attach volume to attach a bucket or a filesystem. You can create a bucket or filesystem, or use an existing one. To create a new bucket, see Bucket parameters. To create a new filesystem, see Volume parameters.
  8. (Optional) In Files, upload files or create text files to inject into the container. The maximum file size is 64 KB.
  9. Configure the Network section:
    • Select a network and a subnet, or create a new subnet.
    • Select the IP address type: Auto dynamic IP or Private IP. A public IP address is not required to open the Devlab web UI over the managed HTTPS URL. If you add an SSH key, make sure that network access allows SSH so you can connect to the VM.
  10. Click Create Devlab.
Devlab creation usually takes a few minutes. When the Devlab is running, you can open its web UI and view logs.

How to open a Devlab

Make sure you are in a group that has at least the viewer role within your tenant; for example, the default viewers group. You can check this in the Administration → IAM section of the web console. When a Devlab is running, you can open its web UI over a managed HTTPS URL. A public IP address is not required. If you configured an SSH key and network access that allows SSH, you can also connect to the VM by SSH.
  1. In the sidebar, go to  Serverless AIDevlabs.
  2. Open the page of the required Devlab.
  3. Wait until the Devlab is running. Then, in the Network section, copy the public Devlab address from the Public Devlabs field.
  4. In a browser, open the URL. For the JupyterLab template, enter the Jupyter token in the JupyterLab password field. If you created the Devlab in the console, use the token that the console generated.

How to check Devlab logs

Make sure you are in a group that has at least the viewer role within your tenant; for example, the default viewers group. You can check this in the Administration → IAM section of the web console. To view logs from a running or stopped Devlab:
  1. In the sidebar, go to  Serverless AI → Devlabs.
  2. Next to the Devlab, click View logs. Alternatively, select the Devlab and switch to the Logs tab.
You can use the period or log level filters to filter the logs. You can also use the LogQL query language.

How to stop or start a Devlab

Make sure you are in a group that has at least the editor role within your tenant or project; for example, the default editors group. You can check this in the Administration → IAM section of the web console. If you don’t currently need your Devlab but you want to preserve it, you can stop the Devlab and then start it later. While the Devlab is stopped, you are not billed for computing resources, but you are billed for the entire container disk. Data under the workspace path persists across start and stop. If you mounted a volume to the Devlab, you are also charged for the volume even if the Devlab is stopped.
  1. In the sidebar, go to  Serverless AIDevlabs.
  2. Find the Devlab and then click Stop or Start.
  3. In the window that opens, confirm the action.

How to delete a Devlab

Make sure you are in a group that has at least the editor role within your tenant or project; for example, the default editors group. You can check this in the Administration → IAM section of the web console. When you delete a Devlab, Serverless AI automatically deletes its VM and container disk. If you no longer need the Devlab, delete it:
  1. In the sidebar, go to  Serverless AI → Devlabs.
  2. Find the Devlab and then click → Delete.
  3. In the window that opens, confirm the deletion.
If the Devlab uses additional volumes, they are not deleted with it. You can remove the mounted volumes manually. See the guides on deleting a filesystem and deleting a bucket. “Jupyter” and the Jupyter logos are trademarks or registered trademarks of LF Charities, used by Nebius B.V. with permission.