Skip to main content
Preemptible VMs, also known as spot VMs or spot instances, are virtual machines that Compute may stop at any time. This can happen when the system needs resources to launch a regular VM in the same region. Compute sends a SIGTERM signal 60 seconds before stopping the VM. If your system does not respond in time, Compute sends a SIGKILL signal to force shutdown. Compute preserves all data on the volumes attached to a stopped preemptible VM. It does not preserve dynamic resources, such as dynamic public IP addresses. Preemptible VMs cost less than regular ones, but they do not provide guaranteed availability. You can create a preemptible VM, but you cannot change the type of an existing VM—either from regular to preemptible or from preemptible to regular.

Supported platforms

You can run preemptible VMs on all VM platforms with GPUs. To get an up-to-date list of platforms, run the nebius compute platform list command. The platforms available for preemptible VMs are marked as allowed_for_preemptibles: true.

How to create a preemptible VM

  1. Go to the web console, click Create resource and then select Virtual machine.
  2. When creating a VM, set the VM type parameter to Preemptible.
A dynamic IP address is released when a preemptible VM stops. To keep your workload stable, consider using a static IP address instead.

How to continue working with a stopped preemptible VM

When Compute stops a preemptible VM, it preserves all data on the attached volumes. To resume work, start the VM again. If you used a dynamic IP address, update all systems that depended on the old IP address. You can also create a regular VM with the same attached volumes.