Connecting Cloud Services to AOM
AOM provides a unified entry for observability analysis of Huawei Cloud services. Through the access center, you can connect cloud services to AOM. Cloud service metrics (such as CPU/memory usage) can then be reported to AOM.
To quickly connect cloud services to AOM, perform the following steps:
- Create a Prometheus instance for cloud services. This instance is used to store collected data. For details, see Creating a Prometheus Instance for Cloud Services.
- Connect cloud services to AOM. For details, see Connecting Cloud Services to AOM.
- After cloud services are connected to AOM, their metrics can be reported to AOM. You can go to the Metric Browsing page to monitor metrics.
Constraints
- Only one Prometheus instance for cloud services can be created in an enterprise project.
Creating a Prometheus Instance for Cloud Services
- Log in to the AOM 2.0 console.
- In the navigation pane on the left, choose Prometheus Monitoring > Instances. On the displayed page, click Add Prometheus Instance.
- Set the instance name, enterprise project, and instance type.
Table 1 Parameters for creating a Prometheus instance Parameter
Description
Instance Name
Prometheus instance name.
Enter a maximum of 100 characters and do not start or end with an underscore (_) or hyphen (-). Only letters, digits, underscores, and hyphens are allowed.
Enterprise Project
Enterprise project.
- If you have selected All for Enterprise Project on the global settings page, select one from the drop-down list here.
- If you have already selected an enterprise project on the global settings page, this option will be dimmed and cannot be changed.
Instance Type
Type of the Prometheus instance. Select Prometheus for Cloud Services.
- Click OK.
Connecting Cloud Services to AOM
- Log in to the AOM 2.0 console.
- In the navigation pane on the left, select either of the following methods to ingest cloud service metrics:
- Method 1:
- Choose Access Center > Access Center. The Access Center page is displayed. (To switch from the new access center to the old one, click Back to Old Version in the upper right corner.)
- Click the cloud service to be connected on the Cloud Services panel.
- Method 2:
Table 2 Cloud service card Card
Description
Auto Scaling, FunctionGraph, Elastic Volume Service (EVS), Cloud Backup and Recovery (CBR), Object Storage Service (OBS), Scalable File Service (SFS), SFS Turbo, Virtual Private Cloud (VPC), Elastic Load Balance (ELB), Direct Connect, Virtual Private Network (VPN), NAT Gateway, Enterprise Router, Distributed Message Service (DMS), Distributed Cache Service (DCS), API Gateway (APIG), GaussDB(for MySQL), GeminiDB, Relational Database Service (RDS), Document Database Service (DDS), Data Replication Service (DRS), ModelArts, LakeFormation, CloudTable, MapReduce Service (MRS), GaussDB(DWS), Data Lake Insight (DLI), Cloud Search Service (CSS), IoT Device Access (IoTDA), Intelligent EdgeFabric (IEF), Web Application Firewall (WAF), Cloud Bastion Host (CBH), Simple Message Notification (SMN), Content Delivery Network (CDN)
- ModelArts automatically reports metrics to AOM as ready-to-use data. No manual configuration is required.
For details about ModelArts metrics, see Basic Metrics: ModelArts Metrics.
- IoTDA automatically reports metrics to AOM as ready-to-use data. No manual configuration is required.
For details about IoTDA metrics, see Basic Metrics: IoTDA Metrics.
- Intelligent EdgeFabric (IEF) automatically reports metrics to AOM as ready-to-use data. No manual configuration is required.
For details about IEF metrics, see Basic Metrics: IEF Metrics.
- For other cloud services, ingest their metrics to AOM by referring to 3. For details about cloud service metrics, see Cloud Service Metrics.
- Method 1:
- In the displayed dialog box, set information about the cloud service.
Table 3 Connecting a cloud service Parameter
Description
Select Prometheus Instance for Cloud Services
Select the Prometheus instance for metric ingestion.
- Enterprise Project
- Connecting cloud services on the Cloud Service Connection page of the Prometheus instance details page: By default, the enterprise project is the same as that selected during the creation of the Prometheus instance for cloud services. This option is grayed and cannot be changed.
- Connecting cloud services through the access center: Select a required enterprise project from the drop-down list.
If the existing enterprise projects cannot meet your requirements, create one by referring to Creating an Enterprise Project.
- Prometheus Instance for Cloud Services
- Connecting cloud services on the Cloud Service Connection page of the Prometheus instance details page: By default, the value of this parameter is set to the target Prometheus instance selected in 1. This option is grayed here and cannot be changed.
- Connecting cloud services through the access center: By default, the value of this parameter is the Prometheus instance for cloud services under your selected enterprise project. If there is no such a Prometheus instance, create one.
Connect Cloud Service Tags
You can determine whether to add cloud service tags to metric dimensions. After this function is enabled, tags of cloud service resources will be added to metric dimensions. Tag changes will be synchronized every hour. If the existing tags cannot meet your requirements, click Go to Tag Management Service (TMS) to add tags.
- Enterprise Project
- Click Connect Now.
Other Operations
You can also perform the operations listed in Table 4 on the Cloud Service Connection page of the Prometheus instance for cloud services.
Operation |
Description |
---|---|
Searching for cloud services |
On the Cloud Service Connection page, enter a keyword in the search box to search for a cloud service. |
Disconnecting cloud services |
On the Cloud Service Connection page, click a target cloud service. In the displayed dialog box, click Disconnect Cloud Service. |
Checking or modifying tag configurations of connected cloud services |
On the Cloud Service Connection page, click a cloud service under Connected Cloud Services to change cloud service tag settings. For details, see Table 3. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot