tencent cloud

Feedback

Instance Connection Scenarios

Last updated: 2024-01-18 17:16:54
    This document describes some scenarios and methods of connecting to a TencentDB for SQL Server instance from a Windows CVM instance or local Windows system through SQL Server Management Studio (SSMS). For detailed directions, see Connecting to TencentDB for SQL Server Instance from Windows CVM Instance and Connecting to TencentDB for SQL Server Instance from Local System.

    Connecting to a TencentDB for SQL Server Instance from a Windows CVM Instance

    Scenario 1

    The CVM and TencentDB for SQL Server instances are in the same VPC or classic network in the same region under the same Tencent Cloud root account. Example: Under account 1, the CVM instance is in subnet A in VPC 1 in Guangzhou region, and the TencentDB for SQL Server instance is in subnet B in VPC 1 in Guangzhou region. Connection method: Connect them over the private network.

    Scenario 2

    The CVM and TencentDB for SQL Server instances are in different VPCs in the same region under the same Tencent Cloud root account. Example: Under account 1, the CVM instance is in subnet A in VPC 1 in Guangzhou region, and the TencentDB for SQL Server instance is in subnet B in VPC 2 in Guangzhou region. Connection method: We recommend that you connect them through CCN.

    Scenario 3

    The CVM and TencentDB for SQL Server instances are in different regions under the same Tencent Cloud root account. Example: Under account 1, the CVM instance is in subnet A in VPC 1 in Guangzhou region, and the TencentDB for SQL Server instance is in subnet B in VPC 2 in Beijing region. Connection method: We recommend that you connect them through CCN.

    Scenario 4

    The CVM and TencentDB for SQL Server instances are under different Tencent Cloud root accounts. Example: The CVM instance is in subnet A in VPC 1 in Guangzhou region under account 1, and the TencentDB for SQL Server instance is in subnet B in VPC 2 in Beijing region under account 2. Connection method: We recommend that you connect them through CCN.

    Connecting to a TencentDB for SQL Server Instance from a Local Windows System

    Two-node (formerly High Availability/Cluster Edition) instance

    Option 1: Use VPN, or Direct Connect, or CCN for interconnection, which are more secure and stable.
    Option 2: Connect to the instance over the public network by enabling the public network address or binding the instance to CLB to enable public network access in the console as instructed in Connecting to TencentDB for SQL Server Instance from Local System.
    Option 3: Use a Linux CVM instance with a public IP to map the ports as instructed in Connecting to TencentDB for SQL Server Instance from Local System.

    Single-node (formerly Basic Edition) instance

    Option 1: Use VPN, or Direct Connect, or CCN for interconnection, which are more secure and stable.
    Option 2: Connect to the instance over the public network by enabling the public network address in the console as instructed in Connecting to TencentDB for SQL Server Instance from Local System.
    Option 3: Use a Linux CVM instance with a public IP to map the ports as instructed in Connecting to TencentDB for SQL Server Instance from Local System.
    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