tencent cloud

Feedback

Enabling Public Network Address

Last updated: 2024-07-05 09:14:59
    This document introduces how to manually enable or disable the public network address through the TencentDB for MySQL console, to facilitate public access to the MySQL instance. Using the system-assigned domain name and port, you can connect to the database via a public network address. Once the public network is enabled, it is convenient for daily testing and management, thereby enhancing the convenience for users in development and use.
    Note:
    Failures of public network access will not be counted in the overall availability calculation of the TencentDB for MySQL service.
    Public network access to your TencentDB for MySQL instance poses a risk to its security, hence it is advisable to employ it solely for administrative purposes, testing, or auxiliary database management. The availability of the Service Level Agreement (SLA) cannot be ensured in this context. For business access, please select private network access.

    Precautions

    After enabling public network access, TencentDB for MySQL instances switch to a CLB architecture, and the system automatically creates a basic CLB instance in the same region on the CLB Console, to provide public network capabilities. Be aware of the resource limitation policies of the CLB architecture (as shown in the table below). For higher performance requirements, you can also directly purchase a CLB.
    Classification
    Number of Concurrent Connections
    Number of New Connections
    Packet Volume
    Inbound Bandwidth
    Outbound Bandwidth
    CLB
    2000
    200/s
    Unlimited
    20 Mbps
    20 Mbps
    
    Note:
    The CLB instance automatically created upon enabling the public network address can be tried for free.
    After disabling the public network address, the corresponding CLB instance on the CLB console will be automatically deleted.
    Starting mid-May 2024, the CLB health check source IP will be in the 100.64.0.0/10 subnet. Once the public network is enabled, if your simple CLB instance shows an abnormal health status, you can allow the 100.64.0.0/10 subnet in the security group settings for your TencentDB for MySQL instance to resolve the issue of failed health checks causing the CLB instance to display an abnormal health status. Please refer to Manage Cloud Database Security Groups for operations.
    
    You need to configure monitoring and alarms for the above-mentioned simple CLB instances, to monitor public network connections through metrics (such as the number of new public network connections established, number of public network connections, public network outbound bandwidth, and public network inbound bandwidth) after enabling the public network address. Refer to Alarm Policy for operation steps, and select the policy type as shown in the following figure.
    

    Use Limitations

    Currently, the primary instance regions of Guangzhou, Shanghai, Beijing, Chengdu, Chongqing, Nanjing, Hong Kong (China), Singapore, Seoul, Tokyo, Silicon Valley, Virginia, and Frankfurt support enabling the public network. For regions where read-only instances can enable the public network, refer to the console. If your instance's region does not support enabling but requires the public network, see Enable Public Network Access through CLB to access TencentDB for MySQL instance via the public network.

    Enable the Public Network Address

    1. Log in to the TencentDB for MySQL console. In the instance list, click an instance ID or Manage in the Operation column to access the instance details page.
    2. Under Public Network Address on the instance details page, click Enable.
    
    3. In the pop-up window, click OK.
    Note:
    After the public network address is enabled, it can be found in the basic information section.
    The public network connection can be disabled through the switch. After it is re-enabled, the public network address corresponding to the domain name remains the same.

    Disable the Public Network Address

    1. Log in to MySQL Console, in the Instance List, click Instance ID or Manage in the Operate column to enter the Instance Details page.
    2. On the Instance Details page, click Off behind the Public Network Address.
    3. In the pop-up window, confirm that everything is correct, and click OK.
    4. Return to the Instance Details page, the Public Network Address will no longer display the public network address, indicating that the public network feature is turned off.
    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