All Products
Search
Document Center

Elastic Desktop Service:Create an image

Last Updated:Jun 17, 2024

You can use a custom image to quickly create multiple cloud computers with the same settings. This prevents the trouble of repeating operations when you create the cloud computers. This topic describes how to create a custom image.

Background information

Images are region-bound resources. You cannot use images to create cloud computers across regions. When you create a custom image, make sure that the image and the cloud computer that you want to create from the image belong to the same region. For example, if you want to create a cloud computer in the China (Hangzhou) region, you must use a custom image from the China (Hangzhou) region.

You can create a custom image based on a cloud computer or snapshot. You can also import an image from your on-premises machine to the Elastic Desktop Service console and use the imported image to generate a custom image.

Note
  • You cannot delete an image that is being created.

  • The time that is required to create an image varies based on the size of data on the cloud computer that is used to create the image.

  • You cannot shut down or restart a cloud computer that is being used to create a custom image. Otherwise, image creation fails.

Prerequisites

Create an image by using a cloud computer

You can create an image based on a cloud computer to save and copy the OS or data of the cloud computer. The created image can be used to create cloud computers with the same settings.

  1. Log on to the Elastic Desktop Service console.

  2. Create an image by using one of the following methods:

    Create a custom image on the Images page

    1. In the left-side navigation pane, choose Deployment > Images.

    2. In the upper-left corner of the top navigation bar, select a region.

    3. On the Images page, click Create Image.

    Create an image on the Cloud Computers page

    1. In the left-side navigation pane, choose Resources & Terminals > Cloud Computers.

    2. In the upper-left corner of the top navigation bar, select a region.

    3. On the Cloud Computers page, find the cloud computer that you want to use to create an image, click the ⋮ icon in the Actions column, and then click Create Image.

    Create an image based on a pooled cloud computer

    1. In the left-side navigation pane, choose Resources & Terminals > Cloud Computer Pools.

    2. In the upper-left corner of the top navigation bar, select a region.

    3. On the Cloud Computer Pools page, find the cloud computer pool that you want to manage and click its ID.

    4. On the Cloud Computer Information tab, find the cloud computer that you want to use to create an image, click the ⋮ icon in the Actions column, and then click Create Image.

  3. In the Create Image panel, configure the following parameters and click Create.

    Parameter

    Description

    Image Name

    Enter a name for the image. Make sure that the name meets the naming conventions.

    Note

    The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).

    Clean Personal Residual Data

    Specify whether to clean personal data. By default, Clean Personal Residual Data is turned on to prevent personal data and logon information from being retained in the image.

    Note

    If you use an encrypted cloud computer, this parameter is unavailable.

    Before you enable or disable this feature, take note of the following items:

    • Turn on Clean Personal Residual Data

      The system clears the personal data of users. This may extend the duration of image creation (by about 20 minutes).

      The following data is cleared:

      • Linux cloud computers

        The cleanup operation affects only the generated image. The generated image file does not contain data of common users and data stored in the /home directory. Data of the root user, applications installed in the system, and data generated by the applications are not affected.

      • Windows cloud computers

        The cleanup operation affects only the generated image. In the generated image, data of users is cleared except for data in the C:\Users\Administrator and C:\Users\Public directories. C:\Users\Administrator, C:\Users\Public, installed applications, and data generated by the applications are not affected.

    • Turn off Clean Personal Residual Data

      The system does not clear any personal data. The data of the generated image is the same as the data of the cloud computer. In this case, personal data may be leaked.Clean Personal Residual Data

    Scope

    Valid values:

    • System Disk and Data Disk: The image that you create contains the data on the system disk and data disk of the cloud computer. The cloud computers that are created based on the image also contain the same data on their system disks and data disks as the source cloud computer.

    • System Disk Only: The image that you create contains only data on the system disk of the cloud computer. The cloud computers that are created based on the image contain the same data on their system disks as the source cloud computer. However, their data disks are empty.

    Important

    If you create a custom image based on a Linux cloud computer and set Scope to System Disk and Data Disk, the Clean Personal Residual Data feature is unavailable.

    Description

    Enter a description for the image based on your business requirements. By default, if you do not specify this parameter, the image name is used as the image description.

    Select Cloud Computer

    Select a cloud computer as needed. This parameter is required if you create an image on the Images page.

Create an image by using a snapshot

A snapshot is a data status file of a disk at a specific point in time. It can be used to back up and restore data. You can use a snapshot to create a custom image to make a copy of the operating system and data of a cloud computer. The custom image can then be used to create more cloud computers with the same settings.

Note

You can use a snapshot of only the system disk of a cloud computer to create images.

  1. Create an image by using one of the following methods:

    Create an image on the Snapshots tab

    1. In the left-side navigation pane, choose Resources & Terminals > Cloud Computers.

    2. In the upper-left corner of the top navigation bar, select a region.

    3. On the Cloud Computers page, find the cloud computer that you want to manage and click its ID.

    4. On the Snapshots tab, find the system disk snapshot that you want to use to create an image and click Create Image in the Actions column.

    Create an image on the Snapshots page

    1. In the left-side navigation pane, choose Deployment > Snapshots.

    2. In the upper-left corner of the top navigation bar, select a region.

    3. On the Snapshots tab, find the system disk snapshot that you want to use to create an image and click Create Image in the Actions column.

  2. In the Create Image panel, set the Image Name and Description parameters and click Create.

Create an image from an imported image

You can create an image on your on-premises computer and import the image to the Elastic Desktop Service console to generate a custom image. For more information, see Import an image.

View and manage custom images

In the left-side navigation pane, choose Deployment > Images. On the Custom Image tab, you can view the status and progress of images.

  • If an image is created, the state of the image changes from Creating to Available, and the progress of the image changes to 100%.

  • If an image fails to be created, the state of the image changes from Creating to Failed. In this case, you can click Delete in the Actions column to delete the image and try to create another image.

What to do next

After you create a custom image, you can perform the following tasks: