All Products
Search
Document Center

Data Transmission Service:Terminate a DTS instance

Last Updated:Dec 20, 2023

Data Transmission Service (DTS) allows you to terminate an instance that you want to stop or a failed instance that is no longer needed. This prevents data in the destination database from being overwritten by data in the source database.

Prerequisites

Usage notes

  • After a DTS instance is terminated, the instance is in the Completed state and cannot be restarted. In this case, if you want to use the instance again, you must reconfigure the instance. Proceed with caution when you terminate an instance.

  • You cannot terminate a change tracking instance. You can release the instance based on your business requirements. For more information, see Release DTS instances.

Procedure

Note

In this example, a data synchronization instance is used to show how to terminate an instance.

  1. Go to the Data Synchronization Tasks page.
    1. Log on to the Data Management (DMS) console.
    2. In the top navigation bar, click DTS.
    3. In the left-side navigation pane, choose DTS (DTS) > Data Synchronization.
    Note
  2. From the drop-down list to the right of Data Synchronization Tasks, select the region in which the data synchronization instance resides.
    Note If you use the new DTS console, you must select the region in which the data synchronization instance resides in the top navigation bar.
  3. Terminate the instance.

    Note

    To terminate an instance in the Running state, click the 更多设置 > Stop Task.

    1. Select the instance that you want to terminate.

    2. In the lower part of the page, click Stop Task.

    3. In the message that appears, click OK.

What to do next

After a DTS instance is terminated, we recommend that you remove the CIDR blocks of DTS servers that are added to the instance. This prevents DTS from accessing the databases of the instance again. For more information, see the "CIDR blocks of DTS servers" table in the Add the CIDR blocks of DTS servers to the security settings of on-premises databases topic.

  • Among the IP address whitelists of Alibaba Cloud database instances, delete the IP address whitelists whose names contain dts.

  • For the security group rules of Elastic Compute Service (ECS) instances, delete the security groups whose names contain DTS.

  • In the security settings of self-managed databases or databases hosted on third-party cloud services, remove the CIDR blocks of DTS servers.