Skip to main content

Upload and create an image

You can upload the following images to the Servercore image storage:

You can create a disk image from any local or network cloud server disk.
The disk can be either a boot or additional disk.

Such an image can be used for:

  • for quick setup of identical cloud servers — server cloning. If an operating system and software are installed on the server, you can deploy already configured servers from a boot disk image. This is faster than configuring the required settings for multiple servers;
  • changing the boot disk type;
  • transferring a server to other pools, projects, or accounts;
  • exporting a cloud server network volume;
  • if the image from which the server was previously created is deleted, you can create an image from the server disk and, if necessary, create an identical cloud server.

Limitations

When uploading an image to the Servercore image storage from a file or via a link, the image size must be less than 2048 GB (2 TB).

You can create an image from a disk smaller than 2048 GB (2 TB).

Upload image from a file

In Servercore image storage, an image can be uploaded from a file of certain sizes from a local computer. Learn more about image size limitations in the Limitations section.

  1. In the control panel, in the top menu, click Products and select Cloud Servers.

  2. Go to the Images section.

  3. Click Create image.

  4. Enter the image name.

  5. Select the location to which the image will be uploaded.

    Images under 16 GB are automatically replicated to adjacent segments in the location pool.

  6. Select an operating system.

  7. Select a file as the image source.

  8. Click Upload.

  9. Select an image format or container format. Learn more about formats in the Custom images section.

    If you upload an archive with the .ova container format, we recommend unpacking the archive before uploading so that the image works correctly.

    If you do not know which formats to specify, specify the image format raw, container — bare.

  10. Optional: select the Specify minimum disk and memory size checkbox and specify the RAM size in MB and disk size in GB. This is the minimum disk and RAM size required to create a server from this image. For .iso images, you cannot specify minimum values.

    After creating the image, you cannot change the minimum disk and memory size in the control panel. To change the minimum values, you will need to recreate the image or use the OpenStack CLI.

  11. Click Create.

In Servercore image storage, an image can be uploaded via a public URL to an image file of a certain size. Learn more about image size limitations in the Limitations section.

  1. In the control panel, in the top menu, click Products and select Cloud Servers.

  2. Go to the Images section.

  3. Click Create image.

  4. Enter the image name.

  5. Select the location to which the image will be uploaded.

    Images under 16 GB are automatically replicated to adjacent segments of the location pool.

  6. Select an operating system.

  7. Select URL as the image source.

  8. Enter the link to the image file in the format https://example.com/file.raw.

  9. Select an image format or container format. Learn more about formats in the Custom images section.

    If you upload an archive with the .ova container format, we recommend unpacking the archive before uploading so that the image works correctly.

    If you do not know which formats to specify, specify the image format raw, container — bare.

  10. Optional: select the Specify minimum disk and memory size checkbox and specify the RAM size in MB and disk size in GB. This is the minimum disk and RAM size required to create a server from this image. For .iso images, you cannot specify minimum values.

    After creating the image, you cannot change the minimum disk and memory size in the control panel. To change the minimum values, you will need to recreate the image or use the OpenStack CLI.

  11. Click Create.

Upload vmdk from a file or by link

Learn more about image size limitations in the Limitations section.

  1. Export the virtual machine from VMware in .ovf format. Learn more in the Export an ovf Template guide in VMware documentation.

    If the virtual disk type is MONOLITHIC_SPARSE or MONOLITHIC_FLAT, you can skip this step, but we recommend exporting the VM in .ovf format.

  2. In the control panel, in the top menu, click Products and select Cloud Servers.

  3. Go to the Images section.

  4. Click Create image.

  5. Enter the image name.

  6. Select the location to which the image will be uploaded.

    Images under 16 GB are automatically replicated to adjacent segments of the location pool.

  7. Select an operating system.

  8. Select a file or URL as the image source.

  9. If you selected a file, click Upload. If you selected a URL, enter the link to the image file in the format https://example.com/file.raw.

  10. Select an image format:

    • vmdk — if the virtual machine was exported from VMware in .ovf format or you are uploading a virtual disk of type MONOLITHIC_SPARSE;
    • raw — if you are uploading a virtual disk of type MONOLITHIC_FLAT.
  11. Select a container format:

    • ovf — if the virtual machine was exported from VMware in .ovf format;
    • bare — if you are uploading a virtual disk of type MONOLITHIC_SPARSE or MONOLITHIC_FLAT.
  12. Optional: select the Specify minimum disk and memory size checkbox and specify the RAM size in MB and disk size in GB. This is the minimum disk and RAM size required to create a server from this image. For .iso images, you cannot specify minimum values.

    After creating the image, you cannot change the minimum disk and memory size in the control panel. To change the minimum values, you will need to recreate the image or use the OpenStack CLI.

  13. Click Create.

Create an image from a disk

See limitations on the size of the disk from which you can create an image.

The image creation process depends on the disk type.

  1. If the disk is attached to a cloud server, we recommend turning off the cloud server — creating an image from a running disk may result in an inconsistent image.

  2. In the control panel, in the top menu, click Products and select Cloud Servers.

  3. Go to the Servers section.

  4. In the server menu, select Create local disk image.

  5. Enter the image name.

  6. Optional: select the Specify minimum disk and memory size checkbox and specify the RAM size in MB and disk size in GB. This is the minimum disk and RAM size required to create a server from this image. For .iso images, you cannot specify minimum values.

  7. Click Create.