Virtual machines

A VM is similar to a server in the cloud infrastructure.

VM as a Yandex.Cloud resource

A VM is created in one of the folders in your cloud and inherits access rights from them. More information about the Yandex.Cloud resource model.

You cannot currently move a created VM to a different folder.

Each VM has a unique ID and name. The name is unique within the folder. The ID is generated automatically when the VM is being created and is unique within Yandex.Cloud.

Availability zone

When creating a VM, you can choose the Yandex.Cloud availability zone where it will be located.

You can't move a VM to a different availability zone, but you can create a copy of it in a different availability zone.

Computing resources

When creating a VM, you specify the amount of computing resources to be allocated to it: the number and performance of processor cores (vCPUs) and the amount of RAM. You can choose the computing resources that are appropriate for the expected load. For more information, see Levels of core performance.


At least one disk must be attached to a VM, that is, a boot disk. Currently, you can only attach a boot disk when creating a VM.

You can also attach additional disks to the VM. You can either attach a previously created disk or create a disk along with the VM. The new disk can be empty, or you can restore it from a snapshot or image.


Empty disks do not have a file system. If you attach an empty disk, partition and mount it manually. Alternatively, instead of attaching an empty disk, you can create a snapshot of the boot disk and create a VM based on the snapshot.

You can attach and detach additional disks even after you created the VM.

Read more about disks in Disks.


The status of a VM affects which operations you can currently perform on it.

For example, the STOPPED status means that the VM is stopped and you can't connect to it. To connect to the VM, you must start it first. After the status changes to RUNNING and the OS loading completes, you will be able to connect to the VM.

For more information about statuses, see VM statuses.


You can set your own metadata when creating or updating VMs. For example, to connect to a Linux VM, you need to pass an SSH key to it. This is done using the metadata service. Learn more in VM instance metadata.


When creating a VM, you should specify settings for the network interface connected to it: select the subnet to which the VM will be connected and configure internal and public IP addresses. This allows the VM to interact with other services on the intranet and internet.

For more information, see Network on a VM.