All Products
Search
Document Center

Elastic Compute Service:Find an image

Last Updated:Aug 08, 2024

If you want to find an image among a large number of images, you can specify the type, name, or ID of the image as a search condition. Then, you can use the image to create Elastic Compute Service (ECS) instances or perform other operations. This improves the fineness of image management. This topic describes how to find an image.

Find an image on the Images page

You can find an image on the Images page in the ECS console.

  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. Select an image category.

  5. (Optional) Select an image family.

    Note

    Image families are used to classify images into groups and help you better manage and use images. You can select an image family only for custom images. You cannot filter other categories of images by image family. By default, all images are displayed. For more information, see Overview.

  6. Specify a search condition to search for an image. The search condition varies based on the image category. The following table describes the search conditions supported by each image category.

    Image category

    Supported search condition

    Custom images

    Image ID, image name, snapshot ID, image family, status, or architecture

    Public images

    Image ID, image name, status, or architecture

    Shared images

    Image ID, image name, status, architecture, or owner ID

    Alibaba Cloud Marketplace images

    Image ID, instance ID, image product name, or image product version

    Community images

    Image ID, image name, publisher ID, status, or architecture

    • Enter a keyword in the search box and click the Search icon. The results for your keyword are displayed. For example, if you enter image, images whose names contain image are displayed.

      image.png

    • Select an option from the drop-down list as the search condition, such as Image ID or Image Name.

      image.png

      1. Enter a keyword in the search box.

      2. Click the 搜索图标 icon or press the Enter key.

Find an image by calling an API operation

You can call the DescribeImages operation to query images.

  1. Go to the OpenAPI Portal.

  2. In the RegionId field, enter a region ID.

  3. (Optional) Specify other parameters, such as the ImageName and ImageId parameters.

    Note
    • You can specify the ImageName parameter in one of the following formats to perform a fuzzy search: *<Specified value>, <Specified value>*, and *<Specified value>*. For example, you can set the ImageName parameter to Image* to search for images whose names start with Image.

    • Image IDs must comply with the following naming conventions:

      • IDs of public images are named after the operating system version numbers, architectures, languages, and release dates of the images. For example, the ID of a Windows Server 2008 R2 Enterprise 64-bit (English) public image is win2008r2_64_ent_sp1_en-us_40G_alibase_20190318.vhd.

      • IDs of custom images, Alibaba Cloud Marketplace images, and community images start with m.

      • IDs of shared images are the same as those of the custom images that are shared.

  4. Click Initiate Call.

  5. Click the Response tab.

    If an image is found, information about the image such as the image ID, description, and operating system is displayed on the Response tab. For more information, see DescribeImages.

References

After you find an image that matches your search condition, you can use the image to create ECS instances or perform other operations. For more information, see the following topics: