tencent cloud

Feedback

Adding DTS IP Address to Database Allowlist

Last updated: 2023-11-16 17:16:32

    Overview

    When creating a data migration, sync, or subscription task, you need to add the DTS service IP address to the allowlists of the source and target databases so that DTS and the source and target databases can be interconnected.

    Comparison Between IP Address Addition Methods

    There are two methods of adding DTS service IP addresses, as compared below.
    Method
    Description
    Option 1 (recommended): Complete the connectivity test first. If the test fails, add the allowed DTS IP addresses as prompted.
    Advantage: High security. This method ensures that the source/target database can only be accessed by the specified DTS IP addresses.
    Disadvantage: You need to complete the connectivity test for each task separately before adding the allowed IP addresses. This is time-consuming when there are many tasks.
    Option 2: Add all the DTS IP ranges.
    Advantage: You only need to add the IP addresses once even when there are multiple tasks.
    Disadvantage: The allowed IP range is broad. In addition to DTS IP addresses, other IP addresses in the IP range can also access the source/target database. This poses the risk of data leakage. Choose this method with caution.

    Option 1 (Recommended)

    1. Complete the connectivity test first. If the test fails, obtain the DTS IP addresses as prompted.
    
    2. Add these IP address to the allowlists of the source and target databases.
    For a self-built database, allow the DTS IP address to access the database in the firewall settings of the server where the database is deployed.
    For a TencentDB database or self-built database on CVM, go to the instance management page, select the Security Group or Data Security tab, and add the DTS service IP address to the security group.
    For a third-party cloud database, add the DTS service IP address to the security group of that database.

    Option 2

    1. Obtain the DTS IP addresses.
    Obtain the corresponding DTS IP addresses based on the access type and region in the tables below.
    Access type: Public network access
    Region
    DTS IP Address
    Guangzhou
    111,230,198,143.118.89.34.161,123.207.84,254.139.199.74.159
    Shanghai
    111.231.139.59,111.231.142.94,115.159.71.186,182.254.153.245
    Beijing
    123.207.145.84,211.159.157.165,211.159.160.104,58.87.92.66
    Chengdu
    111.231.225.99,118.24.42.158
    Chongqing
    139.186.122.1/24,129.28.12.1/24,129.28.14.1/24,139.186.77.242,139.186.109.1/24,
    139.186.131.1/23,94.191.102.144,94.191.98.210
    Hangzhou-ec
    111.231.139.59,111.231.142.94,115.159.71.186,182.254.153.245
    Nanjing
    129211166117,129.211,167,130
    Tianjin
    154.8.246.150,154.8.246.48
    Shenzhen
    118.126.124.6,118.126.124.83
    Hong Kong (China)
    119.29.180.130,119.29.208.220,124.156.168.151,150.109.72.54
    Beijing Finance
    62.234.240.36,62.234.241.241
    Shenzhen Finance
    118.89.251.206,139.199.90.75
    Shanghai Finance
    115159237246.211.159.242.74
    Singapore
    119.28.103.40,119.28.104.184,119.28.116.123,150.109.11.113
    Jakarta
    43.129.33.41,43.129.35.144
    Bangkok
    150109164203.150.109.164.82
    Mumbai
    119.28.246.130,119.28.246.18
    Seoul
    119.28.150.71,119.28.157.173
    Tokyo
    150109195201,150.109,196,137
    Silicon Valley
    49.51.38.216,49.51.39.189
    Virginia
    170.106.2.63,49.51.85.120
    Toronto
    45.113.70.156,45.113.70.6,49.51.10.104,49.51.9.221
    Frankfurt
    49.51.132.38,49.51.133.85
    Access type: VPN access/Direct Connect/CCN/Self-build on CVM/VPC/Database
    Region
    DTS IP Address
    All Regions
    169.254.128.0/17,11.0.0.0/8,100.64.0.0/10,10.0.0.0/8,9.0.0.0/8,30.0.0.0/8,172.16.0.0/12
    2. Add the DTS IP address to the allowlists of the source/target database.
    For a self-built database, allow the DTS IP address to access the database in the firewall settings of the server where the database is deployed.
    For a TencentDB database or self-built database on CVM, go to the instance management page, select the Security Group or Data Security tab, and add the DTS service IP address to the security group.
    For a third-party cloud database, add the DTS service IP address to the security group of that database.
    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