tencent cloud

All product documents
Tencent Cloud Observability Platform
Enabling Public Network Access for Prometheus Instances
Last updated: 2024-11-22 18:12:41
Enabling Public Network Access for Prometheus Instances
Last updated: 2024-11-22 18:12:41

Operation Background

In some scenarios, you may need your Prometheus instance to have the ability to access the public network, for example:
When Prometheus is integrated to monitor COS products on the cloud, since COS products do not support private network access, the Prometheus instance needs to have the ability to access the public network.
The WebHook in the Prometheus alarm policy is used, and this WebHook URL is a public network address.
In such cases, you need to enable public network access for Prometheus (which essentially means enabling public network access for the TKE-managed cluster where the Prometheus instance components are located).

Operations

1. Log in to TMP Console.
2. Click the corresponding instance to enter the Instance Management page. Then, click Subnet on the Basic info tab page.



3. In the top menu of the subnet, switch to the Routing rules section. Click the route table link (rtb-xxx on the list) to enter the route table interface.



4. On the route table page, click Add routing policy.
Destination: Enter 0.0.0.0/0.
Next hop type: select NAT Gateway.
Next hop: select the target gateway. If there is no gateway, please refer to the NAT Gateway guide to create one.



5. After completing the settings, click Create. After the creation is successful, public network access is enabled for TKE Serverless.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support