Creating Instances via Images

Last updated: 2020-06-09 14:31:18

    Overview

    You can use a custom image to create CVM instances of the same operating system, applications, and data to improve efficiency. This document guides you through how to create an instance using a custom image.

    Prerequisites

    You must have a custom image under your account and in the region where you want to create an instance.
    If there is no custom image, see the following solutions:

    Image StatusSolution
    Images on local computers or other platformsImport the system disk image on local computers or other platforms to the custom image on CVM. For more information, see Overview.
    There are template instances but no custom imagesFor more information, see Creating Custom Images.
    Custom images in other regionsCopy the custom image to the target region where you want to create an instance. For more information, see Copying Images.
    Custom images under another accountShare the custom image with the account under which you want to create an instance. For more information, see Sharing Custom Images.

    Directions

    1. Log in to the CVM Console.
    2. Click Images on the left sidebar to access the Image page.
    3. Select a region at the top of the Image page.
    4. Select a tab based on the image source to view its image list.
      • Public Image: go to the public image page.
      • Custom Image: go to the custom image page.
      • Shared Image: go to the shared image page.
    5. Under the Operation column of the image you want to use, click Create Instance.
    6. In the pop-up window, click OK.
    7. Configure and create the instance as prompted by the page.
      The Region and Image fields are automatically filled. Complete the other configurations of the instance as needed. For more information, see Creating Instances via CVM Purchase Page.

      If you use a custom image that contains one or more data disk snapshots, the operating system will automatically create the same quantity of Cloud Block Storage (CBS) as snapshots and the same capacity as each snapshot. You can expand, but cannot reduce, the CBS capacity.

    You can also create a custom image using the RunInstances API. For more information, see RunInstances

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help