Add an image resource

Updated at:

You can add custom images.

Prerequisites

An image repository has been created. For more information, see Create an image repository.

Procedure

  1. Log on to the Data Resource Platform console.

  2. In the upper-left corner of the page, click the Navigation icon icon and select Elastic Computing.

  3. In the navigation pane on the left, choose Resource Management > Image Resources.

  4. In the upper-right corner of the Image Resources page, click Add Image.

  5. In the dialog box that appears, configure the basic information for the image.

    Parameter

    Description

    Environment Name

    Enter a custom name for the environment.

    Environment Version

    You can customize the environment version.

    Image Type

    Select the image type. Valid values are Image Environment, Image Service, and Image Task.

    • Image Environment: Used for online service deployments or offline task runtimes.

    • Image Service: Used when you add an online service application and select an algorithm image.

    • Image Task: Used when you add an offline task application and select an algorithm image.

    Registry Address Name

    Enter the name of the registry address.

    Image Version

    Enter the image version. Example: v1.0.

    Image Repository

    Select an image repository.

    Description

    Custom description:

    Upload File

    This parameter is optional. If an image already exists in the image repository, you can add the image directly without uploading a file.

    To upload a file, click the upload area or drag a resource file to it. Supported file types are .tar.gz, .gz, and .tar.

  6. After you complete the configuration, click OK.

Related operations

Operation

Description

View version details

On the Image Resources page, in the Version column, click an environment version to view the details of the corresponding image resource.

Edit an image resource

On the Image Resources page, in the Actions column, click Edit. You can then modify the environment name, registry address name, image version, and description.

Delete an image resource

On the Image Resources page, in the Actions column, click Delete to remove the image resource.