Skip to main content
Every virtual machine (VM) in Compute can have one of the following statuses:
  • Stopped: VM is stopped.
  • Starting: VM is launching.
  • Running: VM is running.
  • Stopping: VM is stopping.
  • Deleting: VM is being deleted.
  • Error: VM crashed and cannot be restored. When a VM assumes this status, delete this VM and create a new one. You cannot stop and start a VM with the Error status.

Transitions between VM statuses

VM is being created

StoppedStartingRunning If you create a VM by using the CLI or Terraform, you can specify "stopped": true in the VM configuration. In this case, the VM is created with the Stopped status. The status does not change until you launch this VM.

VM is being started

StoppedStartingRunning When a VM is Starting, its hypervisor launches the VM’s operating system. Additionally, the service allocates computing resources to the VM, such as RAM, GPUs and CPUs. When a VM is Running, it functions fully. This influences billing and quotas. The service charges you for a running VM. Also, the number of resources occupied in the tenant or project increases.

VM is being stopped

RunningStoppingStopped When a VM is Stopping, its hypervisor shuts down the operating system of this VM. Before the OS is turned off completely, the hypervisor gracefully terminates all running processes within 60 seconds to prevent data loss. After that, the VM is Stopped.

VM is being deleted

RunningDeleting After the Deleting status, a VM is removed from the list of VMs and the occupied quotas are released.

VM crashed and is being recovered

If the VM recovery is successful, statuses of this VM change in the following order: RunningStoppingStoppedRunning If Compute cannot start the VM properly during the recovery, for example, because of a lack of available resources, the VM goes through one of the following lifecycles:
  • RunningStoppingStoppedStartingStoppingStopped or Error
  • RunningStoppingStopped or Error

When Compute charges for the VM usage

When you create a VM, Compute starts charging for it once the VM assumes the Running status. When you delete a VM, Compute stops charging for it once you send the deletion command. For example, you click the https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/trash-bin.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=b9b80db3d011e608480c36552df703a0 Delete button or run a CLI command. When a VM has crashed, Compute stops charging for it when recovery begins. If the VM is recovered successfully, the service continues charging. If not, the charging does not start again.

When Compute quotas are released

Compute quotas are only released after the VM deletion. If a VM is Stopped, the quotas are still occupied. To avoid running out of the quotas, revise your list of VMs from time to time and delete unused VMs. Stopping them will not help.