VK Cloud logo
Updated at March 27, 2024   03:20 PM

Images management

An image is a file that contains a virtual disk with an installed operating system or other data. Images are used to create virtual machines in the cloud.

Creating an image

The VK Cloud service allows you to create an image from the disk of an existing virtual machine.

  1. Go to personal account VK Cloud.

  2. Go to Cloud computing → Images.

  3. Click the Create button.

  4. In the window that appears:

    1. Source: choose Disk.
    2. Select disk: select the disk of the existing VM. The VM must be stopped.
    3. Name of the image: specify the name of the image.
    4. Click the Create image button.

Importing an image

The VK Cloud service supports uploading your own virtual machine images with some restrictions by operating systems.

  1. Go to personal account VK Cloud.

  2. Go to Cloud computing → Images.

  3. Click the Create button.

  4. In the window that appears:

    1. Source: select File.
    2. Selected file: upload the image file in RAW format.
    3. Name of the image: specify the name of the image.
    4. Click the Create image button.

Exporting an image

  1. Get the ID of the image from the list:

    openstack image list
  2. Export the image:

    openstack image save --file <image file path>.raw <image ID>

Changing the visibility status of an image

Changing the visibility status of an image allows you to access an image from multiple projects. Sharing an image across multiple projects allows you to speed up the deployment of virtual machines.

The VK Cloud service provides the following image visibility statuses for users:

Status
Description
private
The image is for personal access only
shared
The image can be used in several projects

To change the visibility status of an image:

  1. Go to personal account VK Cloud.

  2. Go to Cloud computing → Images.

  3. Expand the menu of the desired image and select Share image.

  4. In the window that appears:

    1. Choose one of the options:

      • My projects: select the desired projects from the drop-down list.
      • Other projects: specify the project ID.
    2. Click the Allow access button.

Deleting an image

  1. Go to personal account VK Cloud.

  2. Go to Cloud computing → Images.

  3. Do one of the following for the desired image:

    • Select the image using the checkbox, then click Delete.
    • Expand the menu of the desired image and select Remove image.
  4. Click the Confirm button.