tencent cloud

Feedback

Configuring Public Network Address

Last updated: 2022-06-24 17:15:20

    This document describes how to enable/disable the public network address in the TencentDB for Redis console. You can use the system-assigned domain name and port to access an instance over the public network, facilitating your daily test, management, use, and development of the database.

    Note:

    • The instance service downtime caused by public network errors won't be counted into the "Single Instance Service Downtime" in Redis Service Level Agreement (SLA).
    • Public network access will undermine the security of instances, and service availability is not guaranteed by SLA. Therefore, we recommend you access Redis over the public network only when testing, managing, or assisting in managing databases. In the production environment, access Redis over the private network.

    Notes

    1. After enabling this feature, you can connect to TencentDB for Redis by using system assigned domain name and port over the public network. It takes about five minutes for the configuration to take effect.
    2. Public network access should be used only for development or auxiliary management. For business production, be sure to use the private network access.
    3. After the public network access is enabled, it will be controlled by the security group policy. You should configure the database access source in the security group's inbound rules and open the protocol ports (both the private network port (6379 by default) and public network port) as instructed in Configuring Security Group.
    4. The instance service downtime caused by public network errors won't be counted into the "Single Instance Service Downtime" in Redis Service Level Agreement (SLA).

    Prerequisites

    • Only instances in VPCs can enable the public network address.
    • Currently, only instances in the Chengdu, Beijing, Shanghai, and Guangzhou regions can enable the public network address.
    • The password exemption access feature needs to be disabled before the public network address is enabled.

    Enabling Public Network Address

    1. Log in to the TencentDB for Redis console, click an instance ID in the instance list, and enter the instance details page.
    2. Click Enable next to Public Network Address in the Network Info block.
      Note:

      After the public network access is enabled, it will be controlled by the security group policy. You should configure the database access source in the security group's inbound rules and open the protocol ports (both the private network port (6379 by default) and public network port) as instructed in Configuring Security Group.

    3. In the pop-up window, confirm that everything is correct and click OK.
    4. Return to the instance details page, where you can see the instance in the Enabling public network status. If the status stays the same for a long time, refresh the page.
    5. If Public Network Address shows an address comprising a domain name and port, the address is enabled successfully. Now you can use it to access Redis over the public network.

    Disabling Public Network Address

    1. Log in to the TencentDB for Redis console, click an instance ID in the instance list, and enter the instance details page.
    2. Click Disable next to Public Network Address in the Network Info block.
    3. In the pop-up window, confirm that everything is correct and click OK.
    4. Return to the instance details page, where you can see the instance in the Disabling public network status and Public Network Address display nothing.
    API Description
    AllocateWanAddress Enables public network access
    ReleaseWanAddress Disables public network access
    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