Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Application Operations Management/ Best Practices (2.0)/ Interconnecting Third-Party/IDC/Huawei Cloud Cross-Region Self-Built Prometheus with AOM Prometheus Instances

Interconnecting Third-Party/IDC/Huawei Cloud Cross-Region Self-Built Prometheus with AOM Prometheus Instances

Updated on 2024-10-30 GMT+08:00

Background

It is common for cloud users to interconnect IDC/third-party self-built Prometheus with AOM Prometheus instances.

Scenario

You need to configure a VPC endpoint first. If you have an ECS on Huawei Cloud, perform steps 2 and 3 to verify the network connectivity as required. Then, access the AOM domain name through Direct Connect to interconnect self-built Prometheus with an AOM Prometheus instance.

Precaution

This function is available only in CN North-Beijing4 and CN East-Qingdao.

Step 1: Configure a VPC Endpoint

For example, in CN North-Beijing4, purchase a VPC endpoint according to the following procedure.

  1. Log in to the VPC Endpoint console.
  2. In the navigation pane on the left, choose VPC Endpoint > VPC Endpoints.
  3. Click Buy VPC Endpoint and set parameters as required.

    1. Region: Select CN North-Beijing4.
    2. Service Category: Select Find a service by name.
    3. VPC Endpoint Service Name: Enter cn-north-4.aom-access.df1ac4a2-7088-4cbe-990f-97ec3e121269 and click Verify. For the service names in other regions, see Table 1.
      1. If "Service name found" is displayed, proceed with subsequent operations.
      2. If "Service not found" is displayed, check whether the region is the same as that of the VPC endpoint service or whether the entered service name is correct.
      Table 1 VPC endpoint service names

      Region

      Service Name

      CN North-Beijing4

      cn-north-4.aom-access.df1ac4a2-7088-4cbe-990f-97ec3e121269

      CN East-Qingdao

      cn-east-5.aom-access.bf610bc3-24b5-43fa-a6ae-74d64d601817

    4. VPC/Subnet: Set the parameters by referring to Buying a VPC Endpoint for Accessing Interface VPC Endpoint Services.
      NOTE:

      The VPC must be the same as that of the purchased ECS.

  4. Confirm the configuration and click Next.

    • If the configuration is correct, click Submit.
    • If any parameter is incorrect, click Previous to modify it as needed, and then click Submit.

(Optional) Step 2: Check the ECS Security Group Configuration

Verify the connectivity between AOM and ECS.

  1. Log in to the ECS console.
  2. In the navigation pane, choose Elastic Cloud Server > Elastic Cloud Server.
  3. Click the target ECS. The Summary tab page of the ECS is displayed.
  4. Check whether the VPC of the ECS is the same as the VPC selected when you purchase the endpoint in step 1.

    • If yes, go to the next step.
    • If no, modify the configuration to ensure that they are the same.

  5. On the Summary page of the ECS, click Security Groups. On the Outbound Rules tab page of the security group, check the values of Protocol & Port and Destination.

    Ensure that Protocol & Port is set to All and Destination is set to 0.0.0.0/0.

(Optional) Step 3: Verify Connectivity

Log in to the ECS and run the curl command to call the API to verify the connectivity.

  1. Log in to the ECS console.
  2. In the navigation pane, choose Elastic Cloud Server > Elastic Cloud Server.
  3. Click Remote Login in the Operation column that contains the target ECS to remotely log in to the ECS.
  4. Run the following command to access AOM. Figure 1 shows how to access AOM in CN North-Beijing4.

    curl aom-access.cn-north-4.myhuaweicloud.com:8443
    Figure 1 Domain name and port number for accessing AOM

Step 4: Access the AOM Domain Name Through Direct Connect

A self-built host can access the VPC endpoint based on the endpoint IP address and then access the domain name interconnected with the VPC endpoint. Alternatively, configure domain name resolution on the host and then access AOM through an API. The following describes how to configure domain name resolution to access AOM.

  1. Take CentOS as an example. Run the following command on the self-built host:

    sudo vi /etc/hosts

  2. Configure domain name resolution. For example, add the following configuration:

    192.168.0.31 aom-access.cn-north-4.myhuaweicloud.com

    192.168.0.31 is the IP address of the VPC endpoint, and aom-access.cn-north-4.myhuaweicloud.com is the domain name of AOM.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback