Virtual machines
Technical parameters
What VM configuration (memory, vCPU) can I use?
When creating a VM, you select its vCPU performance level. This determines the required number and performance of cores (vCPUs). You can choose the computing resources that are appropriate for the expected load.
Read more in vCPU performance levels.
How can I change the amount of RAM and the number of cores allocated to a VM?
Read more in Changing VM computing resources.
Operations on VMs
Can I copy or clone an existing VM?
Yes, you can take snapshots of disks attached to a VM and use them when creating a new VM.
Can I move my VM to a different availability zone?
You cannot directly change the availability zone the VM lives in. However, you can create a copy of the VM in the availability zone you need.
Can I move my VM to a different folder?
You cannot directly change the folder the VM belongs to. However, you can create a copy of the VM in the appropriate folder.
If I accidentally delete my VM, can I restore it?
No, you can't. Deleting a VM is an operation that cannot be undone.
To avoid losing your data in case of accidental deletion, you can configure disk backup using snapshots, or specify that the disks should not be automatically deleted when deleting the VM.
If I lose a private key file from a Linux VM, how else can I log in to it?
If you configured the serial console, you can use it to connect to the VM.
You can also access your data the following way:
- Create a snapshot of the boot disk.
- Create a VM from a public image.
- Attach the disk restored from the snapshot to the VM.
You can then export your data or restore access to the VM.
To restore access:
- Change the SSH key in the
/home/<username>/.ssh/authorized_keys
file. - Make a snapshot of the attached disk.
- Create a VM with the disk from the snapshot.