Add an application

Updated at:

You can create and manage applications, such as industry applications, compute resources, and offline services. This topic describes how to add an application.

Prerequisites

An App Catalog has been created. For more information, see Create an App Catalog.

Add an online service application

  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, click Application Management.

  4. On the Application Management page, set Application Type to Online Service (Service).

  5. In the upper-right corner of the Application Management page, click Add Application.

  6. In the Add Application pane, configure the application parameters.

    Parameter

    Description

    Application Type

    This is a static field.

    Folder

    Select an App Catalog.

    Application Name

    User-defined application name

    Description

    Enter a description for the application.

    Job Type

    Select a job type. You can select Compressed Package, Image, or Helm Chart.

    • Compressed Package: Supports .zip compressed files.

      • Development Language: Select a development language. You can select JAVA, PYTHON, or NODE.

      • Language Version: Select a version for the development language.

      • File: Click Upload to upload the compressed package file.

    • Image

      • Registry Address: Select a registry address.

      • Image Version: Select an image version.

      • Health Check Method: You can select HTTP, SHELL, or TCP_SOCKET.

        • HTTP: Enter the service port and the URI of the health check.

        • SHELL: Enter the service port and the health check command.

        • TCP_SOCKET: Enter the service port.

    • Helm Chart: Click Upload to upload the YAML file that encapsulates the Kubernetes native application.

    Environment Variable

    Configure environment variables.

    Resource Group Information

    Select whether to enable resource group information. If you enable this feature, you must configure Resource Group Name, Resource Group Type, URI of the request, and URI of the health check.

    Click Add Resource Group to configure multiple resource groups.

  7. After you configure the parameters, click OK.

Add an offline task application

  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, click Application Management.

  4. On the Application Management page, set Application Type to Offline Task (Job).

  5. In the upper-right corner of the Application Management page, click Add Application.

  6. In the Add Application pane, configure the application parameters.

    Parameter

    Description

    Application Type

    This is a static field.

    Contents

    Select an App Catalog.

    Application Name

    Enter a custom application name.

    Description

    Enter a description for the application.

    Job Type

    Select a job type. You can select Compressed Package or Image.

    Environment Variable

    Configure environment variables.

  7. After you configure the parameters, click OK.

Add a service orchestration application

  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, click Application Management.

  4. On the Application Management page, set Application Type to Orchestration Task (YAML).

  5. In the upper-right corner of the Application Management page, click Add Application.

  6. In the Add Application pane, configure the application parameters.

    Parameter

    Description

    Application Type

    This is a static field.

    Contents

    Select an App Catalog.

    Application Name

    Enter a custom application name.

    Configuration Content

    Enter the YAML content for the orchestration service.

    Note

    The content of the YAML file is the standard declarative style for Kubernetes resource management and object orchestration and deployment. For more information, see the official Kubernetes documentation.

  7. After you configure the parameters, click OK.

Related operations

Operation

Description

Edit an application

In the Operations column of the application list, click Edit to edit the application.

Note

You cannot edit built-in system applications.

View application O&M

In the Operations column of the application list, click O&M to view the application running records. For more information, see View online service deployment records, View offline task running records, and View orchestration service deployment records.

View instances

In the Operations column of the application list, click View Instances to view application instances. For more information, see View instance details.

Delete an application

In the Operations column of the application list, click Delete Current Version to delete the corresponding version of the application.

Note
  • You cannot delete built-in system applications.

  • Deleted applications cannot be recovered. Proceed with caution.

Resource group management

For online services, you can assign resource groups to working groups.

In the Operations column of the application list, click Resource Group Management. In the Resource Group Management dialog box, assign the working group.