All Products
Search
Document Center

Elastic Compute Service:Create an instance by using a custom image

Last Updated:Oct 21, 2024

This topic describes how to use a created or imported custom image, image copy, or shared image to quickly create Elastic Compute Service (ECS) instances that have the same operating system, applications, and data. This helps improve the O&M efficiency of your business in the cloud.

Prerequisite

A custom image exists in the account and region in which you want to create an instance.

If no custom images exist in the account or region in which you want to create an instance, perform the operations that are described in the following table based on your business scenarios.

Scenario

Operation

You have an image on an on-premises device.

Import the on-premises image to Alibaba Cloud as a custom image. For more information, see Import an image.

You have a custom image in another region.

Copy the custom image to the region in which you want to create an instance. For more information, see Copy a custom image.

You have a custom image in another account.

Share the custom image with the account that you want to use to create an instance. For more information, see Share a custom image.

You have an instance or snapshot from which you can create a custom image.

Procedure

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Instances & Images > Images.

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. On the Custom Images or Shared Images tab, find the image that you want to use and click Create Instance in the Actions column.

    image

  5. The region and the image are automatically specified. Configure other parameters, such as Billing Method and Instance Type, based on your business requirements.

    Note

    If the custom image that you selected contains one or more data disk snapshots, the same number of data disks are automatically created from the snapshots during the ECS instance creation.

    For more information, see the "Parameters" section of the Create an instance on the Custom Launch tab topic.

What to do next