Creating an Application

Updated on 2025-03-17 GMT+08:00

Scenarios

An application groups identical or similar components based on service requirements. After an application is created, you can add sub-applications and components to it.

Precautions

If the large-scale application structure is selected, you can configure sub-applications.

Nodes of the same level under an application or sub-application cannot contain sub-applications and components at the same time.

Creating an Application

  1. Log in to COC.
  2. In the navigation pane, choose Resources > Application and Resource Management.
  3. Click Applications in the upper left corner.
  4. Click Create Application.
  5. Set parameters for creating an application.

    NOTE:

    After filling in the mandatory fields of each level, you need to click OK to go to the next level. After filling in the mandatory fields of all levels, you can click OK to create an application.

    Table 1 Parameters for creating an application

    Parameter

    Description

    Example Value

    Application Structure Type

    Select a value based on the complexity of the application structure.

    Lightweight application

    Application

    Customize an application name based on the naming rule.

    Test Application

    Description

    Optional. Description of the application.

    -

    Subapplication Name

    This parameter is required only when the large-scale application type is selected.

    Customize the sub-application name based on the naming rule.

    Test sub-application

    Description

    Optional. Description of a sub-application.

    -

    Component

    Customize the component name based on the naming rule.

    Test Component

    Group

    Customize a group name based on the naming rule.

    Test Group

    Vendor

    Select the cloud vendor to which the target instance belongs.

    Huawei Cloud

    Resource Association Method

    Select a resource association mode.

    • Manual association: You can manually associate resources with the group you created for unified management.
    • Automatic association: You can add all resources with the same tag in an enterprise project to a resource group.

    Manual association

    Region

    Select a region from the drop-down list.

    -

    Enterprise Project

    This parameter is required only when Association Mode is set to Intelligent Association.

    Select an enterprise project from the drop-down list.

    -

    Tag Key

    This parameter is required only when Association Mode is set to Intelligent Association.

    Enter the tag key of the target instance.

    testKey

    Tag Value

    This parameter is required only when Association Mode is set to Intelligent Association.

    Optional. Enter the tag value of the target instance.

    testValue

    Associate APM Environment

    Optional. Configure the application, component, and environment of the APM service corresponding to the group. APM service performance information can be obtained through this field during fault diagnosis.

    -

  6. Click Create.

    The application is created.

Creating a Sub-application

  1. Log in to COC.
  2. In the navigation pane, choose Resources > Application and Resource Management.
  3. Click Applications in the upper left corner.
  4. In the navigation pane on the left, select the application for which you want to create a sub-application for and click .
  5. Set parameters for creating a sub-application.

    Table 2 Parameters for creating a sub-application

    Parameter

    Description

    Example Value

    Subapplication Name

    Customize the sub-application name based on the naming rule.

    Test sub-application

    Description

    Optional. Description of a sub-application.

    -

  6. Click OK.

    The sub-application is created.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback