Creating an Application
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
- Log in to COC.
- In the navigation pane, choose Resources > Application and Resource Management.
- Click Applications in the upper left corner.
- Click Create Application.
- 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.
-
- Click Create.
The application is created.
Creating a Sub-application
- Log in to COC.
- In the navigation pane, choose Resources > Application and Resource Management.
- Click Applications in the upper left corner.
- In the navigation pane on the left, select the application for which you want to create a sub-application for and click
.
- 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.
-
- Click OK.
The sub-application is created.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.