VK Cloud logo

Attaching and detaching a disk

Attaching a disk to a VM

  1. Go to the VK Cloud management console.

  2. Go to the Cloud Computing → Disks section.

  3. Find a disk that is not attached to a VM in the list: the icon to the left of the disk name is gray, and when you hover over it, the label Not attached to an instance appears.

  4. Use one of the following methods to open the virtual machine selection window for attaching the disk.

    • Via the disk context menu:

      1. In the list of disks, click  for the desired disk.
      2. Select Attach to instance.
    • On the disk page:

      1. Click the name of the disk that you want to attach to the VM.
      2. On the disk page, go to the General information tab.
      3. Above the list of disks, click the More button and select Attach to instance.
  5. In the window that opens, specify the virtual machine in the Select an instance field.

  6. Click the Attach disk button.

Detaching a disk from a VM

  1. Go to the VK Cloud management console.

  2. Open the page with the desired list of disks.

    • All disks: go to the Cloud Computing → Disks section.

    • Disks of a specific virtual machine:

      1. Go to the Cloud Computing → Virtual machines section.
      2. In the list of virtual machines, click the name of the VM from which you want to detach the disk.
      3. On the VM page, go to the Disks tab.
  3. Detach the disk from the VM using one of the following methods.

    • Via the disk context menu:

      1. In the list of disks, click  for the desired disk.
      2. Select Detach from instance.
    • On the disk page:

      1. Click the name of the disk that you want to detach from the VM.
      2. On the disk page, go to the General information tab.
      3. Above the list of disks, click the More button and select Detach from instance.
  4. In the window that opens, verify the disk name and click the Confirm button.

Was this article helpful?