tencent cloud

Feedback

Accessing TCHouse-D via JDBC over the Public Network

Last updated: 2024-12-25 17:55:16
    Access to TCHouse-D is only supported over the private network by default. If you need to access TCHouse-D via the public network, you can enable public network connectivity through Cloud Load Balancer. Below, we will introduce the configuration method.

    Creating Public Network CLB

    You can go to the CLB official website, and click Buy Now to enter the CLB purchasing process.
    1. Choose the region where your TCHouse-D cluster is located.
    2. Select Public Network.
    3. Choose the VPC where your TCHouse-D cluster is located.
    4. Select the bandwidth upper limit.
    
    
    
    After creation, you can view the CLB instance on the CLB Console > Instance Management page.
    
    
    
    Click the instance ID in the instance list to view instance details.
    
    
    

    Creating Listeners

    1. Click Instance List > Operations > Configure Listener or go to the Listener Management page from the instance details, and click Create in the TCP/UDP/TCP SSL/QUIC Listener module.
    
    
    
    2. Fill in the basic configuration for the listener:
    The selection of listener protocol and port is as follows:
    When adding the FE node of the TCHouse-D cluster to the public network, select TCP: 9030.
    When adding the BE node of the TCHouse-D cluster to the public network, select TCP: 8040.
    
    
    
    3. Set health checks.
    
    
    
    4. Click Submit to complete the listener creation.
    
    
    

    Binding Backend Services

    1. Click the created listener, and on the page that pops up on the right, click Bind.
    
    
    
    2. Bind backend services.
    Target Type: Select IP Type.
    IP: Fill in the IP address from the JDBC connection address of the TCHouse-D cluster. This IP address can be obtained from the TCHouse-D Cluster Details page, which is the same IP address used in the JDBC connection address (see the figure below).
    Port: For the FE public network, enter 9030; for the BE public network, enter 8040. Then click OK.
    
    
    
    Note:
    The IP address for the TCHouse-D cluster's JDBC connection can be obtained from the Details page of the Doris cluster, as shown in the figure below:
    
    
    
    3. After completing the backend service binding, you can access the TCHouse-D cluster via the CLB's VIP over the public network.
    
    
    
    
    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