tencent cloud

Feedback

Granting DTS Access IP for a Single Task

Last updated: 2024-04-30 17:24:40

    Overview

    In data migration, data synchronization, and data subscription tasks, it is necessary to add the DTS assess IP to the allowlist of both the source and target databases so that DTS can access the source/target database. Otherwise, connectivity tests will fail.

    Directions

    1. When the DTS task is configured, on the Set source and target databases page, conduct a connectivity test first after entering the parameters.
    2. If your database and its network have set security access rules, such as network ACLs and security groups, firewalls (iptables rules), and IP access restriction on database account, you need to grant the DTS assess IP according to the scenario. Otherwise, you will encounter the following error, where the address prompted in the image is the DTS service IP.
    If the connectivity test result is Passed, it means the database has not set network restrictions. You can proceed with subsequent tasks without needing to grant access.
    
    3. Add DTS assess IP to the database's security rules.
    Different connection methods require different network access operations. The following only provides a summary. For detailed instructions, see Connectivity Test Failed.
    Connection Method
    Network Access Troubleshooting
    Description
    Public network/VPN Access/Direct Connect/CCN
    Check the network layer of the database to see whether network ACL and security group rules have been set.
    Check the database deployment server layer to see whether firewall rules (such as iptables) have been set.
    Check the database layer to see whether IP access rules (e.g., only host addresses within authorization can access the database) have been set.
    In relevant rules, grant the DTS Service IP.
    Self-built on CVM
    VPC (Self-built on CVM)
    Check the database deployment server layer to see whether firewall rules (such as iptables) have been set
    Check the database layer to see whether IP access rules (such as Check the database layer to see whether IP access rules) have been set.
    In the corresponding rules, grant the DTS Service IP.
    Database
    VPC (Database)
    Check the database layer to see whether IP access rules (such as Only Authorized Host Addresses Can Access Database) have been set.
    In the corresponding rules, grant the DTS Service IP.
    
    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