Skip to main content

Access Resources via VPC Private Network

This document will guide you on how to connect Lighthouse instances with Tencent Cloud VPC private networks through the private network interconnection capability, enabling internal network access to CloudBase resources and other Tencent Cloud services.

Overview

Through the Private Network Interconnection capability, you can connect Lighthouse instances with Tencent Cloud VPC private networks to achieve low-latency, high-bandwidth internal network communication.

Accessible Resources

After connecting to the VPC private network, you can access the following CloudBase resources:

  • SQL Database: Access CloudBase MySQL database through the internal network, improving access speed and reducing public network traffic costs

You can also further access other resources purchased on Tencent Cloud, such as:

  • Cloud databases (MySQL, Redis, MongoDB, etc.)
  • Caching products (Memcached, etc.)
  • Message queues (CKafka, TDMQ, etc.)
  • Other cloud services within the VPC

Prerequisites

Important
  • Lighthouse Instance: You need to create a Lighthouse instance first. See Create and Manage Lighthouse Instances for details
  • Region Requirement: Currently CloudBase only provides Lighthouse instances in the Shanghai region, so only private network interconnection in the Shanghai region is supported
  • VPC Network: A VPC private network must already be created in the Shanghai region

Configuration Steps

Step 1: Access the Lighthouse Console

  1. Log in to the CloudBase Console, select "Cloud Functions/CloudRun" in the left navigation bar, and click "Lighthouse"
  2. Find the target instance and click "Manage" to enter the Lighthouse console

Step 2: Configure Private Network Interconnection

  1. In the Lighthouse console, select "Private Network Interconnection"
  2. Click "Associate Cloud Connect Network"
  3. Select a VPC private network in the Shanghai region to associate

Step 3: Verify Connectivity

After configuration is complete, you can verify whether the private network interconnection is effective through the following method:

# Ping the internal IP of a resource in the VPC from the Lighthouse instance
ping <target-resource-internal-IP>
tip

After the private network interconnection configuration is complete, the Lighthouse instance can directly access resources within the VPC through internal IPs without going through the public network, resulting in lower access latency and higher security.

Notes

Billing Information
ItemDescription
Region LimitationCurrently only supports private network interconnection in the Shanghai region
Security Group ConfigurationEnsure the security group of the target resource has allowed the internal IP of the Lighthouse instance
Effective TimeUsually takes effect within seconds after configuration