Skip to main content
Serverless AI jobs run container images as one-off or scheduled batch workloads. They are suitable for training, fine-tuning and data processing where you want to use computing resources only to perform a task and stop when the task is done. Each job runs on a container over a Compute virtual machine (VM) that is billed only while the job is running.

How to create a job

To run a container image as a batch workload for training, fine-tuning or data processing, create a job:
  1. In the sidebar, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/ai-services.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=ab4ff229f7690c99deb1dc52d3daf987 AI Services → Jobs.
  2. Click https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/plus.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=7c9efc69d65fc58db0eb73702fd81aa1 Create job.
  3. In the Job settings section, specify the path to the container image. If you use a private registry, click https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/plus.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=7c9efc69d65fc58db0eb73702fd81aa1 Add registry, and provide the details for your registry.
  4. (Optional) Add advanced settings:
    • Entrypoint command: Specify an entrypoint command for the job container.
    • Arguments: Override container arguments that are passed to the entrypoint.
    • Job timeout in hours: Specify the number of hours after which the job will be canceled if not completed.
    • Environment variables: Specify environment variables in key-value pairs.
  5. (Optional) Configure the Computing resources section:
    1. Select whether the VM should have GPUs.
    2. Specify the VM type: regular or preemptible. VMs without GPUs only support the regular type.
    3. Select the platform and preset.
  6. (Optional) Configure Storage settings:
  7. (Optional) In the Access section, add an SSH key for the VM’s user so you can connect to the VM. You can add new credentials or select existing ones. If you decide to use an existing credential, make sure that the SSH key is stored for the nebius username.
  8. Review the Network section. The subnet is selected by default.
  9. Click Create.
The job creation usually takes a few minutes. Jobs run until the workload finishes. When the job completes successfully or fails, the container over VM is deleted automatically. If you mounted volumes, they will remain, and you should delete them manually.

How to check job logs

To view logs from a running or completed job:
  1. In the sidebar, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/ai-services.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=ab4ff229f7690c99deb1dc52d3daf987 AI Services → Jobs.
  2. Next to the job, click View logs. Alternatively, select the job that you want to view the logs for 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 cancel a job

If you don’t need a job to continue running, you can cancel it. The jobs that finish with COMPLETED status are canceled automatically. To cancel a job:
  1. In the sidebar, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/ai-services.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=ab4ff229f7690c99deb1dc52d3daf987 AI Services → Jobs.
  2. Find the job and then click https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/button-vellipsis.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e80b8e57c43bfd117679262e6a1334ad → Cancel.
  3. In the window that opens, confirm canceling the job.
Canceling a job immediately stops the container over VM and deletes the container disk. The job remains in the list of jobs. Mounted volumes are retained. You can remove the mounted volumes manually. See the guides on deleting a filesystem and deleting a bucket. If you need to remove any record about the job from the job list, delete the job instead of canceling it.

How to delete a job

To delete a job:
  1. In the sidebar, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/ai-services.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=ab4ff229f7690c99deb1dc52d3daf987 AI Services → Jobs.
  2. Locate the job and then click https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/button-vellipsis.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e80b8e57c43bfd117679262e6a1334ad → Delete.
  3. In the window that opens, confirm deleting the job.
When the job is deleted, it disappears from the list of jobs. If a job is running, deleting cancels the job first. If the job 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.