All Products
Document Center

Add whitelist

Last Updated: Mar 21, 2019

To make sure the security and stability of databases, you can add the IP addresses or IP segments used for accessing the database to the whitelist or security group of the target instance before using certain database instances. This article describes how to add a corresponding whitelist and security group when you are using DataWorks in different regions.

Add a whitelist

  1. Enter the DTplus console as a developer. Click DataWorks and navigate to the Project list page.

  2. Select a project region.

    Currently, the supported regions are China East 2 (Shanghai), China South 1 (Shenzhen), Hong Kong, and Asia Pacific SE 1 (Singapore). The default region is China East 2, and you can switch to other regions where your project is located, as shown in the following figure.


  3. Select the whitelist for your project region.

    A part of the data sources have a white list restrictions, they need to release access IPs of data integration. The common data sources, such as RDS, MongoDB, and Redis, need to release access IPs in their consoles. Adding a white list has the following two cases.

    • When a sync task is running on the custom resource group. You must authorize machines for the custom resource group, and add machines intranet IPs and extranet IPs to the white list of data source.

    • The whitelist entries differs from region to region. Select the whitelist for the selected region from the following whitelist table.

region Whitelist
China East 1(Hangzhou),,,,,,,,,,,,
China East 2(Shanghai),,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
China South 1(Shenzhen),,,,,,,,,,
Hong Kong,,,,,,,,
Asia Pacific SE 1(Singapore),,,,,,,,,,,,,,,,,,,,,,,
Asia Pacific SE 2(Sydney),,,,,,,,,
China North 2(Beijing),,,,,,,,,,,,,,
US West 1,,,,
US East 1,,,,,
Asia Pacific SE 3 (Malaysia),,,,,,,
EU Central 1(Germany),,,,,,,,,,,,,,,,,,
Asia Pacific NE1(Japan),,,,,,,,,
Middle East 1(Dubai),,,,,
Asia Pacific SE 1(Mumbai),,,,,,,
Asia Pacific SE 5 (Jakarta),,,,,,,

Add an RDS whitelist

The RDS data source can be configured in the following two ways.

  • RDS instance

    In this case, a data source is created by using an RDS instance. Currently, the connectivity test (including the RDS in VPC environments) is supported. If the connectivity test fails, you can try to add the data source by using the jdbcUrl.

  • jdbcUrl

    For the IP in jdbcUrl, enter an intranet IP address or an Internet IP address if no intranet IP address is available. The intranet IP address features faster synchronization because the address is relevant to Alibaba Cloud data centers, while the synchronization speed of the Internet IP address is subject to the available Internet bandwidth.

RDS whitelist configuration

When Data Integration is connected to RDS for data synchronization, the database standard protocol must be connected to the database. The RDS permits all IP connections by default. If you specify an IP whitelist during RDS configuration, you must add an IP whitelist of Data Integration execution nodes. If no RDS whitelist is specified, no whitelist is provided for Data Integration.

If you have set an RDS IP whitelist, enter the RDS console and navigate to Security Control to Set whitelist.

Note: If you use a custom resource group to schedule the RDS data synchronization task, you must add the IP address of the computer hosting the custom resource group to the RDS whitelist.