Help Center/ Cloud Operations Center/ Getting Started/ Creating an Application and a Model
Updated on 2025-07-28 GMT+08:00

Creating an Application and a Model

This section describes how to use COC to quickly manage your resources and applications on the application and resource management page, including synchronizing resources, creating applications and modeling, and performing operations on a UniAgent. The procedure is as follows:

  1. Preparations: Sign up for a HUAWEI ID, complete real-name authentication, and enable COC.
  2. Synchronize resources. Obtain resources in all regions to which the current user belongs and synchronize the resources to COC.
  3. Create an application and model the associations between the application and resources. This feature facilitates resource management by service logic unit.
  4. Perform operations on a UniAgent. Install, upgrade, and uninstall a UniAgent on the corresponding node.

Preparations

  1. Sign up for a HUAWEI ID and complete real-name authentication.

    Before using COC, sign up for a HUAWEI ID, enable Huawei Cloud services, and complete real-name authentication.

    If you already have enabled Huawei Cloud services and completed real-name authentication, skip this step.

  2. Enable COC.

    Upon your first login, enable COC first.

    If you have enabled COC, skip this step.

Synchronizing Resources

  1. Log in to COC.
  2. In the navigation pane, choose Resources > Application and Resource Management. On the displayed page, click the Resources tab and click to synchronize resources.

    Figure 1 Synchronizing resources

Creating an Application and a Model

  1. In the navigation pane, choose Resources > Application and Resource Management.
  2. Click the Applications tab. On the displayed tab page, click Create Application.

    Figure 2 Creating an application

  3. Set Application Structure Type to Lightweight.
  4. Specify Application and Description. For example, set the application name to COC_01.
  5. Click OK.

    Figure 3 Creating an application

  6. Specify the component name, for example, COC_001, and click OK.

    Figure 4 Creating a component

  7. Configure the new group by referring to Table 1 and retain the preset values for other parameters.

    Table 1 Parameters for creating a group

    Parameter

    Description

    Group

    Customize a group name based on the naming rule. For example, COC_0001.

    Available Cloud Service Providers

    Select the cloud service provider to which the target instance belongs. Example: Huawei Cloud.

    Region

    Select a region from the drop-down list. For example, CN North-Beijing4.

    Resource Association Method

    Select a resource association method. For example, Manual association.

    Associate with Resource

    Manually associate the corresponding resource data with the group.

    Figure 5 Creating a group

  8. Click OK.
  9. Click OK in the lower part of the page to complete the resource modeling.

Performing Operations on a UniAgent

  1. In the navigation pane, choose Resources > Application and Resource Management.
  2. Click the Resources tab. On the My Resources tab page, select the specified instances.
  3. Click UniAgent and select Install.

    Figure 6 Installing a UniAgent

  4. On the displayed Install UniAgent page, specify required information and click OK to trigger the automated installation process. Wait until the installation is complete.

    Figure 7 Setting parameters

    When installing a UniAgent for ECSs in the same VPC, you need to manually install a UniAgent for the first ECS and set this ECS as the installation node. For details, see Installing a UniAgent for the First Time.