When a DataWorks resource group connects to a data source, the connection fails if the resource group's IP addresses are not in the data source's IP whitelist. Add the resource group's IP addresses to the data source's whitelist before creating Data Service tasks.
Resource group types
DataWorks supports different resource group types for Data Service. The type determines how to obtain and configure IP whitelist addresses.
Resource group type | IP whitelist source | When to use |
Shared resource group | Regional IP tables in this document | Default option. IP addresses are published per region and cover all shared resource group users. |
Exclusive resource group for Data Service | Your VPC or elastic IP address (EIP) configuration | Dedicated resources, VPC-level isolation, or access to on-premises data centers. Only available in the China (Shanghai) region. |
Serverless resource group (recommended) | Stronger resource isolation, more stable network connectivity, better disaster recovery, and higher availability. |
After identifying your resource group type, go to the corresponding section below.
Shared resource group IP whitelist
Before creating a Data Service API, configure its data source. Add the IP addresses for the region where your data source is deployed to the data source's IP whitelist. Find your region in the tables below and copy all listed IP addresses.
The IP CIDR blocks for shared resource groups may change as the underlying infrastructure scales out. For stronger resource isolation, more stable network connectivity, better disaster recovery, and higher availability, use serverless resource groups.
IP addresses effective before March 23, 2026
The IP addresses for shared resource groups in the China (Shanghai) region and the China East 2 Finance region will be updated starting March 23, 2026. The following table lists the whitelist IP addresses for all regions before that date.
China mainland regions
China (Shanghai), China (Chengdu), and China (Zhangjiakou)
39.107.223.0/26,39.107.223.64/26,39.107.223.128/26,39.107.223.192/26,101.200.116.192/26,182.92.17.128/26,182.92.17.192/26,182.92.137.0/26,101.200.20.0/26,182.92.137.64/26,182.92.137.128/26,182.92.137.192/26,39.107.7.0/26,39.107.7.64/26,182.92.32.128/26,182.92.32.192/26,39.97.22.192/26,39.97.195.0/26,39.97.195.64/26,39.97.195.128/26,8.146.184.64/26,8.146.184.128/26,8.146.184.192/26,8.146.185.0/26,47.108.33.192/26,47.109.170.0/26,47.109.170.64/26,47.109.170.128/26,47.108.32.0/26,47.108.32.128/26,47.108.32.192/26,47.108.33.0/26,8.137.26.64/26,8.137.26.128/26,8.137.26.192/26,8.137.29.0/26,47.108.46.0/26,47.108.46.64/26,47.108.46.128/26,47.108.46.192/26,47.108.45.128/26,47.108.45.192/26,47.108.47.0/26,47.108.47.64/26,8.134.224.0/26,8.134.224.64/26,8.134.22.128/26,8.134.22.192/26,8.134.0.64/26,8.134.0.128/26,8.134.0.192/26,8.134.5.0/26,8.139.234.64/26,8.139.234.128/26,8.139.234.192/26,8.139.235.0/26,223.4.187.192/26,223.5.153.0/26,223.5.153.64/26,223.5.153.128/26,110.75.186.0/26,110.75.186.64/26,110.75.190.0/26,110.75.190.64/26,8.139.99.192/26,8.139.112.0/26,8.139.112.64/26,8.139.112.128/26,47.111.201.64/26,47.111.201.128/26,47.111.201.192/26,47.111.202.0/26,47.113.157.64/26,47.113.157.128/26,47.113.157.192/26,47.113.158.0/26,47.123.113.192/26,47.123.121.0/26,47.123.121.64/26,47.123.121.128/26,47.123.122.128/26,47.123.122.192/26,47.123.123.0/26,47.123.123.64/26,39.101.0.64/26,39.101.0.128/26,39.101.0.192/26,39.101.5.0/26,39.101.7.0/26,39.101.7.64/26,39.101.7.128/26,39.101.7.192/26,39.104.199.192/26,39.104.220.0/26,39.104.220.64/26,39.104.220.128/26,39.99.77.0/26,39.99.77.64/26,39.99.77.128/26,39.104.220.192/26,120.27.72.0/26,120.27.72.64/26,120.27.72.128/26,120.27.72.192/26,47.123.116.0/26,47.123.116.64/26,47.123.117.128/26,47.123.117.192/26,47.123.112.64/26,47.123.112.128/26,47.123.112.192/26,47.123.113.0/26,8.132.161.192/26,101.133.85.64/26,101.133.85.128/26,101.133.85.192/26,47.123.127.192/26,47.123.146.128/26,47.123.146.192/26,47.123.149.0/26,8.132.48.128/26,8.132.48.192/26,101.133.88.128/26,101.133.88.192/26,47.103.170.128/26,47.103.170.192/26,47.103.171.0/26,47.103.171.64/26,47.102.181.128/26,47.102.181.192/26,47.102.234.0/26,47.102.234.64/26,47.101.109.0/26,47.101.109.64/26,47.101.109.128/26,47.101.109.192/26,47.123.155.192/26,47.123.255.0/26,47.123.255.64/26,47.123.255.128/26,47.123.1.128/26,47.123.1.192/26,47.123.10.0/26,47.123.10.64/26,8.128.64.0/26,8.128.64.64/26,8.128.64.128/26,8.128.64.192/26,47.121.73.192/26,47.121.96.128/26,47.121.96.192/26,47.121.97.0/26,47.106.63.0/26,47.106.63.64/26,47.106.63.128/26,47.106.63.192/26,47.112.83.192/26,47.112.84.0/26,47.112.84.64/26,47.112.84.128/26,47.120.229.128/26,47.121.45.0/26,119.23.166.64/26,120.24.136.0/26,47.92.185.0/26,47.92.185.64/26,47.92.185.128/26,47.92.185.192/26,39.98.96.0/26,39.98.96.64/26,39.98.96.128/26,39.98.96.192/26,8.147.210.0/26,8.147.210.64/26,8.147.210.128/26,8.147.210.192/26,8.128.32.0/19,8.128.64.0/18,115.28.120.0/23,115.28.123.0/24,47.95.173.80,47.95.173.81,47.108.22.35,47.108.22.65,47.96.60.109,47.96.60.110,47.96.60.211,47.96.60.212,47.96.60.213,47.96.60.214,47.96.60.215,47.96.60.216,47.96.60.217,47.96.60.218,39.107.188.202,106.15.171.137,106.15.171.138,100.68.162.67,100.68.162.76,106.15.171.35,106.15.171.218,106.15.171.219,106.15.171.220,106.15.101.220,119.23.183.122,119.23.183.252,120.76.34.229,120.76.34.230,39.101.6.25,39.101.6.34,39.101.5.213,39.101.5.220,39.101.5.248,39.101.5.250,47.92.22.16,47.92.22.68,47.92.22.131,47.92.22.110,47.92.22.169,47.92.22.208,47.92.22.209,47.92.22.210,47.92.22.211,47.92.22.212China (Shenzhen)
39.107.223.0/26,39.107.223.64/26,39.107.223.128/26,39.107.223.192/26,101.200.116.192/26,182.92.17.128/26,182.92.17.192/26,182.92.137.0/26,101.200.20.0/26,182.92.137.64/26,182.92.137.128/26,182.92.137.192/26,39.107.7.0/26,39.107.7.64/26,182.92.32.128/26,182.92.32.192/26,39.97.22.192/26,39.97.195.0/26,39.97.195.64/26,39.97.195.128/26,8.146.184.64/26,8.146.184.128/26,8.146.184.192/26,8.146.185.0/26,47.108.33.192/26,47.109.170.0/26,47.109.170.64/26,47.109.170.128/26,47.108.32.0/26,47.108.32.128/26,47.108.32.192/26,47.108.33.0/26,8.137.26.64/26,8.137.26.128/26,8.137.26.192/26,8.137.29.0/26,47.108.46.0/26,47.108.46.64/26,47.108.46.128/26,47.108.46.192/26,47.108.45.128/26,47.108.45.192/26,47.108.47.0/26,47.108.47.64/26,8.134.224.0/26,8.134.224.64/26,8.134.22.128/26,8.134.22.192/26,8.134.0.64/26,8.134.0.128/26,8.134.0.192/26,8.134.5.0/26,8.139.234.64/26,8.139.234.128/26,8.139.234.192/26,8.139.235.0/26,223.4.187.192/26,223.5.153.0/26,223.5.153.64/26,223.5.153.128/26,110.75.186.0/26,110.75.186.64/26,110.75.190.0/26,110.75.190.64/26,8.139.99.192/26,8.139.112.0/26,8.139.112.64/26,8.139.112.128/26,47.111.201.64/26,47.111.201.128/26,47.111.201.192/26,47.111.202.0/26,47.113.157.64/26,47.113.157.128/26,47.113.157.192/26,47.113.158.0/26,47.123.113.192/26,47.123.121.0/26,47.123.121.64/26,47.123.121.128/26,47.123.122.128/26,47.123.122.192/26,47.123.123.0/26,47.123.123.64/26,39.101.0.64/26,39.101.0.128/26,39.101.0.192/26,39.101.5.0/26,39.101.7.0/26,39.101.7.64/26,39.101.7.128/26,39.101.7.192/26,39.104.199.192/26,39.104.220.0/26,39.104.220.64/26,39.104.220.128/26,39.99.77.0/26,39.99.77.64/26,39.99.77.128/26,39.104.220.192/26,120.27.72.0/26,120.27.72.64/26,120.27.72.128/26,120.27.72.192/26,47.123.116.0/26,47.123.116.64/26,47.123.117.128/26,47.123.117.192/26,47.123.112.64/26,47.123.112.128/26,47.123.112.192/26,47.123.113.0/26,8.132.161.192/26,101.133.85.64/26,101.133.85.128/26,101.133.85.192/26,47.123.127.192/26,47.123.146.128/26,47.123.146.192/26,47.123.149.0/26,8.132.48.128/26,8.132.48.192/26,101.133.88.128/26,101.133.88.192/26,47.103.170.128/26,47.103.170.192/26,47.103.171.0/26,47.103.171.64/26,47.102.181.128/26,47.102.181.192/26,47.102.234.0/26,47.102.234.64/26,47.101.109.0/26,47.101.109.64/26,47.101.109.128/26,47.101.109.192/26,47.123.155.192/26,47.123.255.0/26,47.123.255.64/26,47.123.255.128/26,47.123.1.128/26,47.123.1.192/26,47.123.10.0/26,47.123.10.64/26,8.128.64.0/26,8.128.64.64/26,8.128.64.128/26,8.128.64.192/26,47.121.73.192/26,47.121.96.128/26,47.121.96.192/26,47.121.97.0/26,47.106.63.0/26,47.106.63.64/26,47.106.63.128/26,47.106.63.192/26,47.112.83.192/26,47.112.84.0/26,47.112.84.64/26,47.112.84.128/26,47.120.229.128/26,47.121.45.0/26,119.23.166.64/26,120.24.136.0/26,47.92.185.0/26,47.92.185.64/26,47.92.185.128/26,47.92.185.192/26,39.98.96.0/26,39.98.96.64/26,39.98.96.128/26,39.98.96.192/26,8.147.210.0/26,8.147.210.64/26,8.147.210.128/26,8.147.210.192/26,8.128.32.0/19,8.128.64.0/18,115.28.120.0/23,115.28.123.0/24,47.95.173.80,47.95.173.81,47.108.22.35,47.108.22.65,47.96.60.109,47.96.60.110,47.96.60.211,47.96.60.212,47.96.60.213,47.96.60.214,47.96.60.215,47.96.60.216,47.96.60.217,47.96.60.218,39.107.188.202,106.15.171.137,106.15.171.138,100.68.162.67,100.68.162.76,106.15.171.35,106.15.171.218,106.15.171.219,106.15.171.220,106.15.101.220,119.23.183.122,119.23.183.252,120.76.34.229,120.76.34.230,39.101.6.25,39.101.6.34,39.101.5.213,39.101.5.220,39.101.5.248,39.101.5.250,47.92.22.16,47.92.22.68,47.92.22.131,47.92.22.110,47.92.22.169,47.92.22.208,47.92.22.209,47.92.22.210,47.92.22.211,47.92.22.212,26.13.210.120,26.13.210.121China (Hangzhou)
39.107.223.0/26,39.107.223.64/26,39.107.223.128/26,39.107.223.192/26,101.200.116.192/26,182.92.17.128/26,182.92.17.192/26,182.92.137.0/26,101.200.20.0/26,182.92.137.64/26,182.92.137.128/26,182.92.137.192/26,39.107.7.0/26,39.107.7.64/26,182.92.32.128/26,182.92.32.192/26,39.97.22.192/26,39.97.195.0/26,39.97.195.64/26,39.97.195.128/26,8.146.184.64/26,8.146.184.128/26,8.146.184.192/26,8.146.185.0/26,47.108.33.192/26,47.109.170.0/26,47.109.170.64/26,47.109.170.128/26,47.108.32.0/26,47.108.32.128/26,47.108.32.192/26,47.108.33.0/26,8.137.26.64/26,8.137.26.128/26,8.137.26.192/26,8.137.29.0/26,47.108.46.0/26,47.108.46.64/26,47.108.46.128/26,47.108.46.192/26,47.108.45.128/26,47.108.45.192/26,47.108.47.0/26,47.108.47.64/26,8.134.224.0/26,8.134.224.64/26,8.134.22.128/26,8.134.22.192/26,8.134.0.64/26,8.134.0.128/26,8.134.0.192/26,8.134.5.0/26,8.139.234.64/26,8.139.234.128/26,8.139.234.192/26,8.139.235.0/26,223.4.187.192/26,223.5.153.0/26,223.5.153.64/26,223.5.153.128/26,110.75.186.0/26,110.75.186.64/26,110.75.190.0/26,110.75.190.64/26,8.139.99.192/26,8.139.112.0/26,8.139.112.64/26,8.139.112.128/26,47.111.201.64/26,47.111.201.128/26,47.111.201.192/26,47.111.202.0/26,47.113.157.64/26,47.113.157.128/26,47.113.157.192/26,47.113.158.0/26,47.123.113.192/26,47.123.121.0/26,47.123.121.64/26,47.123.121.128/26,47.123.122.128/26,47.123.122.192/26,47.123.123.0/26,47.123.123.64/26,39.101.0.64/26,39.101.0.128/26,39.101.0.192/26,39.101.5.0/26,39.101.7.0/26,39.101.7.64/26,39.101.7.128/26,39.101.7.192/26,39.104.199.192/26,39.104.220.0/26,39.104.220.64/26,39.104.220.128/26,39.99.77.0/26,39.99.77.64/26,39.99.77.128/26,39.104.220.192/26,120.27.72.0/26,120.27.72.64/26,120.27.72.128/26,120.27.72.192/26,47.123.116.0/26,47.123.116.64/26,47.123.117.128/26,47.123.117.192/26,47.123.112.64/26,47.123.112.128/26,47.123.112.192/26,47.123.113.0/26,8.132.161.192/26,101.133.85.64/26,101.133.85.128/26,101.133.85.192/26,47.123.127.192/26,47.123.146.128/26,47.123.146.192/26,47.123.149.0/26,8.132.48.128/26,8.132.48.192/26,101.133.88.128/26,101.133.88.192/26,47.103.170.128/26,47.103.170.192/26,47.103.171.0/26,47.103.171.64/26,47.102.181.128/26,47.102.181.192/26,47.102.234.0/26,47.102.234.64/26,47.101.109.0/26,47.101.109.64/26,47.101.109.128/26,47.101.109.192/26,47.123.155.192/26,47.123.255.0/26,47.123.255.64/26,47.123.255.128/26,47.123.1.128/26,47.123.1.192/26,47.123.10.0/26,47.123.10.64/26,8.128.64.0/26,8.128.64.64/26,8.128.64.128/26,8.128.64.192/26,47.121.73.192/26,47.121.96.128/26,47.121.96.192/26,47.121.97.0/26,47.106.63.0/26,47.106.63.64/26,47.106.63.128/26,47.106.63.192/26,47.112.83.192/26,47.112.84.0/26,47.112.84.64/26,47.112.84.128/26,47.120.229.128/26,47.121.45.0/26,119.23.166.64/26,120.24.136.0/26,47.92.185.0/26,47.92.185.64/26,47.92.185.128/26,47.92.185.192/26,39.98.96.0/26,39.98.96.64/26,39.98.96.128/26,39.98.96.192/26,8.147.210.0/26,8.147.210.64/26,8.147.210.128/26,8.147.210.192/26,8.128.32.0/19,8.128.64.0/18,115.28.120.0/23,115.28.123.0/24,47.95.173.80,47.95.173.81,47.108.22.35,47.108.22.65,47.96.60.109,47.96.60.110,47.96.60.211,47.96.60.212,47.96.60.213,47.96.60.214,47.96.60.215,47.96.60.216,47.96.60.217,47.96.60.218,39.107.188.202,106.15.171.137,106.15.171.138,100.68.162.67,100.68.162.76,106.15.171.35,106.15.171.218,106.15.171.219,106.15.171.220,106.15.101.220,119.23.183.122,119.23.183.252,120.76.34.229,120.76.34.230,39.101.6.25,39.101.6.34,39.101.5.213,39.101.5.220,39.101.5.248,39.101.5.250,47.92.22.16,47.92.22.68,47.92.22.131,47.92.22.110,47.92.22.169,47.92.22.208,47.92.22.209,47.92.22.210,47.92.22.211,47.92.22.212,26.15.76.4,26.15.76.3China (Beijing)
39.107.223.0/26,39.107.223.64/26,39.107.223.128/26,39.107.223.192/26,101.200.116.192/26,182.92.17.128/26,182.92.17.192/26,182.92.137.0/26,101.200.20.0/26,182.92.137.64/26,182.92.137.128/26,182.92.137.192/26,39.107.7.0/26,39.107.7.64/26,182.92.32.128/26,182.92.32.192/26,39.97.22.192/26,39.97.195.0/26,39.97.195.64/26,39.97.195.128/26,8.146.184.64/26,8.146.184.128/26,8.146.184.192/26,8.146.185.0/26,47.108.33.192/26,47.109.170.0/26,47.109.170.64/26,47.109.170.128/26,47.108.32.0/26,47.108.32.128/26,47.108.32.192/26,47.108.33.0/26,8.137.26.64/26,8.137.26.128/26,8.137.26.192/26,8.137.29.0/26,47.108.46.0/26,47.108.46.64/26,47.108.46.128/26,47.108.46.192/26,47.108.45.128/26,47.108.45.192/26,47.108.47.0/26,47.108.47.64/26,8.134.224.0/26,8.134.224.64/26,8.134.22.128/26,8.134.22.192/26,8.134.0.64/26,8.134.0.128/26,8.134.0.192/26,8.134.5.0/26,8.139.234.64/26,8.139.234.128/26,8.139.234.192/26,8.139.235.0/26,223.4.187.192/26,223.5.153.0/26,223.5.153.64/26,223.5.153.128/26,110.75.186.0/26,110.75.186.64/26,110.75.190.0/26,110.75.190.64/26,8.139.99.192/26,8.139.112.0/26,8.139.112.64/26,8.139.112.128/26,47.111.201.64/26,47.111.201.128/26,47.111.201.192/26,47.111.202.0/26,47.113.157.64/26,47.113.157.128/26,47.113.157.192/26,47.113.158.0/26,47.123.113.192/26,47.123.121.0/26,47.123.121.64/26,47.123.121.128/26,47.123.122.128/26,47.123.122.192/26,47.123.123.0/26,47.123.123.64/26,39.101.0.64/26,39.101.0.128/26,39.101.0.192/26,39.101.5.0/26,39.101.7.0/26,39.101.7.64/26,39.101.7.128/26,39.101.7.192/26,39.104.199.192/26,39.104.220.0/26,39.104.220.64/26,39.104.220.128/26,39.99.77.0/26,39.99.77.64/26,39.99.77.128/26,39.104.220.192/26,120.27.72.0/26,120.27.72.64/26,120.27.72.128/26,120.27.72.192/26,47.123.116.0/26,47.123.116.64/26,47.123.117.128/26,47.123.117.192/26,47.123.112.64/26,47.123.112.128/26,47.123.112.192/26,47.123.113.0/26,8.132.161.192/26,101.133.85.64/26,101.133.85.128/26,101.133.85.192/26,47.123.127.192/26,47.123.146.128/26,47.123.146.192/26,47.123.149.0/26,8.132.48.128/26,8.132.48.192/26,101.133.88.128/26,101.133.88.192/26,47.103.170.128/26,47.103.170.192/26,47.103.171.0/26,47.103.171.64/26,47.102.181.128/26,47.102.181.192/26,47.102.234.0/26,47.102.234.64/26,47.101.109.0/26,47.101.109.64/26,47.101.109.128/26,47.101.109.192/26,47.123.155.192/26,47.123.255.0/26,47.123.255.64/26,47.123.255.128/26,47.123.1.128/26,47.123.1.192/26,47.123.10.0/26,47.123.10.64/26,8.128.64.0/26,8.128.64.64/26,8.128.64.128/26,8.128.64.192/26,47.121.73.192/26,47.121.96.128/26,47.121.96.192/26,47.121.97.0/26,47.106.63.0/26,47.106.63.64/26,47.106.63.128/26,47.106.63.192/26,47.112.83.192/26,47.112.84.0/26,47.112.84.64/26,47.112.84.128/26,47.120.229.128/26,47.121.45.0/26,119.23.166.64/26,120.24.136.0/26,47.92.185.0/26,47.92.185.64/26,47.92.185.128/26,47.92.185.192/26,39.98.96.0/26,39.98.96.64/26,39.98.96.128/26,39.98.96.192/26,8.147.210.0/26,8.147.210.64/26,8.147.210.128/26,8.147.210.192/26,8.128.32.0/19,8.128.64.0/18,115.28.120.0/23,115.28.123.0/24,47.95.173.80,47.95.173.81,47.108.22.35,47.108.22.65,47.96.60.109,47.96.60.110,47.96.60.211,47.96.60.212,47.96.60.213,47.96.60.214,47.96.60.215,47.96.60.216,47.96.60.217,47.96.60.218,39.107.188.202,106.15.171.137,106.15.171.138,100.68.162.67,100.68.162.76,106.15.171.35,106.15.171.218,106.15.171.219,106.15.171.220,106.15.101.220,119.23.183.122,119.23.183.252,120.76.34.229,120.76.34.230,39.101.6.25,39.101.6.34,39.101.5.213,39.101.5.220,39.101.5.248,39.101.5.250,47.92.22.16,47.92.22.68,47.92.22.131,47.92.22.110,47.92.22.169,47.92.22.208,47.92.22.209,47.92.22.210,47.92.22.211,47.92.22.212,26.15.143.80,26.15.143.81,26.15.49.7,26.15.49.8Government Cloud and Finance Cloud regions
China North 2 Ali Gov 1
39.107.223.0/26,39.107.223.64/26,39.107.223.128/26,39.107.223.192/26,101.200.116.192/26,182.92.17.128/26,182.92.17.192/26,182.92.137.0/26,101.200.20.0/26,182.92.137.64/26,182.92.137.128/26,182.92.137.192/26,39.107.7.0/26,39.107.7.64/26,182.92.32.128/26,182.92.32.192/26,39.97.22.192/26,39.97.195.0/26,39.97.195.64/26,39.97.195.128/26,8.146.184.64/26,8.146.184.128/26,8.146.184.192/26,8.146.185.0/26,47.108.33.192/26,47.109.170.0/26,47.109.170.64/26,47.109.170.128/26,47.108.32.0/26,47.108.32.128/26,47.108.32.192/26,47.108.33.0/26,8.137.26.64/26,8.137.26.128/26,8.137.26.192/26,8.137.29.0/26,47.108.46.0/26,47.108.46.64/26,47.108.46.128/26,47.108.46.192/26,47.108.45.128/26,47.108.45.192/26,47.108.47.0/26,47.108.47.64/26,8.134.224.0/26,8.134.224.64/26,8.134.22.128/26,8.134.22.192/26,8.134.0.64/26,8.134.0.128/26,8.134.0.192/26,8.134.5.0/26,8.139.234.64/26,8.139.234.128/26,8.139.234.192/26,8.139.235.0/26,223.4.187.192/26,223.5.153.0/26,223.5.153.64/26,223.5.153.128/26,110.75.186.0/26,110.75.186.64/26,110.75.190.0/26,110.75.190.64/26,8.139.99.192/26,8.139.112.0/26,8.139.112.64/26,8.139.112.128/26,47.111.201.64/26,47.111.201.128/26,47.111.201.192/26,47.111.202.0/26,47.113.157.64/26,47.113.157.128/26,47.113.157.192/26,47.113.158.0/26,47.123.113.192/26,47.123.121.0/26,47.123.121.64/26,47.123.121.128/26,47.123.122.128/26,47.123.122.192/26,47.123.123.0/26,47.123.123.64/26,39.101.0.64/26,39.101.0.128/26,39.101.0.192/26,39.101.5.0/26,39.101.7.0/26,39.101.7.64/26,39.101.7.128/26,39.101.7.192/26,39.104.199.192/26,39.104.220.0/26,39.104.220.64/26,39.104.220.128/26,39.99.77.0/26,39.99.77.64/26,39.99.77.128/26,39.104.220.192/26,120.27.72.0/26,120.27.72.64/26,120.27.72.128/26,120.27.72.192/26,47.123.116.0/26,47.123.116.64/26,47.123.117.128/26,47.123.117.192/26,47.123.112.64/26,47.123.112.128/26,47.123.112.192/26,47.123.113.0/26,8.132.161.192/26,101.133.85.64/26,101.133.85.128/26,101.133.85.192/26,47.123.127.192/26,47.123.146.128/26,47.123.146.192/26,47.123.149.0/26,8.132.48.128/26,8.132.48.192/26,101.133.88.128/26,101.133.88.192/26,47.103.170.128/26,47.103.170.192/26,47.103.171.0/26,47.103.171.64/26,47.102.181.128/26,47.102.181.192/26,47.102.234.0/26,47.102.234.64/26,47.101.109.0/26,47.101.109.64/26,47.101.109.128/26,47.101.109.192/26,47.123.155.192/26,47.123.255.0/26,47.123.255.64/26,47.123.255.128/26,47.123.1.128/26,47.123.1.192/26,47.123.10.0/26,47.123.10.64/26,8.128.64.0/26,8.128.64.64/26,8.128.64.128/26,8.128.64.192/26,47.121.73.192/26,47.121.96.128/26,47.121.96.192/26,47.121.97.0/26,47.106.63.0/26,47.106.63.64/26,47.106.63.128/26,47.106.63.192/26,47.112.83.192/26,47.112.84.0/26,47.112.84.64/26,47.112.84.128/26,47.120.229.128/26,47.121.45.0/26,119.23.166.64/26,120.24.136.0/26,47.92.185.0/26,47.92.185.64/26,47.92.185.128/26,47.92.185.192/26,39.98.96.0/26,39.98.96.64/26,39.98.96.128/26,39.98.96.192/26,8.147.210.0/26,8.147.210.64/26,8.147.210.128/26,8.147.210.192/26,8.128.32.0/19,8.128.64.0/18,115.28.120.0/23,115.28.123.0/24,47.95.173.80,47.95.173.81,47.108.22.35,47.108.22.65,47.96.60.109,47.96.60.110,47.96.60.211,47.96.60.212,47.96.60.213,47.96.60.214,47.96.60.215,47.96.60.216,47.96.60.217,47.96.60.218,39.107.188.202,106.15.171.137,106.15.171.138,100.68.162.67,100.68.162.76,106.15.171.35,106.15.171.218,106.15.171.219,106.15.171.220,106.15.101.220,119.23.183.122,119.23.183.252,120.76.34.229,120.76.34.230,39.101.6.25,39.101.6.34,39.101.5.213,39.101.5.220,39.101.5.248,39.101.5.250,47.92.22.16,47.92.22.68,47.92.22.131,47.92.22.110,47.92.22.169,47.92.22.208,47.92.22.209,47.92.22.210,47.92.22.211,47.92.22.212China East 2 Finance
39.107.223.0/26,39.107.223.64/26,39.107.223.128/26,39.107.223.192/26,101.200.116.192/26,182.92.17.128/26,182.92.17.192/26,182.92.137.0/26,101.200.20.0/26,182.92.137.64/26,182.92.137.128/26,182.92.137.192/26,39.107.7.0/26,39.107.7.64/26,182.92.32.128/26,182.92.32.192/26,39.97.22.192/26,39.97.195.0/26,39.97.195.64/26,39.97.195.128/26,8.146.184.64/26,8.146.184.128/26,8.146.184.192/26,8.146.185.0/26,47.108.33.192/26,47.109.170.0/26,47.109.170.64/26,47.109.170.128/26,47.108.32.0/26,47.108.32.128/26,47.108.32.192/26,47.108.33.0/26,8.137.26.64/26,8.137.26.128/26,8.137.26.192/26,8.137.29.0/26,47.108.46.0/26,47.108.46.64/26,47.108.46.128/26,47.108.46.192/26,47.108.45.128/26,47.108.45.192/26,47.108.47.0/26,47.108.47.64/26,8.134.224.0/26,8.134.224.64/26,8.134.22.128/26,8.134.22.192/26,8.134.0.64/26,8.134.0.128/26,8.134.0.192/26,8.134.5.0/26,8.139.234.64/26,8.139.234.128/26,8.139.234.192/26,8.139.235.0/26,223.4.187.192/26,223.5.153.0/26,223.5.153.64/26,223.5.153.128/26,110.75.186.0/26,110.75.186.64/26,110.75.190.0/26,110.75.190.64/26,8.139.99.192/26,8.139.112.0/26,8.139.112.64/26,8.139.112.128/26,47.111.201.64/26,47.111.201.128/26,47.111.201.192/26,47.111.202.0/26,47.113.157.64/26,47.113.157.128/26,47.113.157.192/26,47.113.158.0/26,47.123.113.192/26,47.123.121.0/26,47.123.121.64/26,47.123.121.128/26,47.123.122.128/26,47.123.122.192/26,47.123.123.0/26,47.123.123.64/26,39.101.0.64/26,39.101.0.128/26,39.101.0.192/26,39.101.5.0/26,39.101.7.0/26,39.101.7.64/26,39.101.7.128/26,39.101.7.192/26,39.104.199.192/26,39.104.220.0/26,39.104.220.64/26,39.104.220.128/26,39.99.77.0/26,39.99.77.64/26,39.99.77.128/26,39.104.220.192/26,120.27.72.0/26,120.27.72.64/26,120.27.72.128/26,120.27.72.192/26,47.123.116.0/26,47.123.116.64/26,47.123.117.128/26,47.123.117.192/26,47.123.112.64/26,47.123.112.128/26,47.123.112.192/26,47.123.113.0/26,8.132.161.192/26,101.133.85.64/26,101.133.85.128/26,101.133.85.192/26,47.123.127.192/26,47.123.146.128/26,47.123.146.192/26,47.123.149.0/26,8.132.48.128/26,8.132.48.192/26,101.133.88.128/26,101.133.88.192/26,47.103.170.128/26,47.103.170.192/26,47.103.171.0/26,47.103.171.64/26,47.102.181.128/26,47.102.181.192/26,47.102.234.0/26,47.102.234.64/26,47.101.109.0/26,47.101.109.64/26,47.101.109.128/26,47.101.109.192/26,47.123.155.192/26,47.123.255.0/26,47.123.255.64/26,47.123.255.128/26,47.123.1.128/26,47.123.1.192/26,47.123.10.0/26,47.123.10.64/26,8.128.64.0/26,8.128.64.64/26,8.128.64.128/26,8.128.64.192/26,47.121.73.192/26,47.121.96.128/26,47.121.96.192/26,47.121.97.0/26,47.106.63.0/26,47.106.63.64/26,47.106.63.128/26,47.106.63.192/26,47.112.83.192/26,47.112.84.0/26,47.112.84.64/26,47.112.84.128/26,47.120.229.128/26,47.121.45.0/26,119.23.166.64/26,120.24.136.0/26,47.92.185.0/26,47.92.185.64/26,47.92.185.128/26,47.92.185.192/26,39.98.96.0/26,39.98.96.64/26,39.98.96.128/26,39.98.96.192/26,8.147.210.0/26,8.147.210.64/26,8.147.210.128/26,8.147.210.192/26,8.128.32.0/19,8.128.64.0/18,115.28.120.0/23,115.28.123.0/24,47.95.173.80,47.95.173.81,47.108.22.35,47.108.22.65,47.96.60.109,47.96.60.110,47.96.60.211,47.96.60.212,47.96.60.213,47.96.60.214,47.96.60.215,47.96.60.216,47.96.60.217,47.96.60.218,39.107.188.202,106.15.171.137,106.15.171.138,100.68.162.67,100.68.162.76,106.15.171.35,106.15.171.218,106.15.171.219,106.15.171.220,106.15.101.220,119.23.183.122,119.23.183.252,120.76.34.229,120.76.34.230,39.101.6.25,39.101.6.34,39.101.5.213,39.101.5.220,39.101.5.248,39.101.5.250,47.92.22.16,47.92.22.68,47.92.22.131,47.92.22.110,47.92.22.169,47.92.22.208,47.92.22.209,47.92.22.210,47.92.22.211,47.92.22.212International regions
China (Hong Kong)
47.240.180.192/26,47.240.195.0/26,47.240.195.64/26,47.240.195.128/26,47.240.211.0/26,47.240.210.64/26,47.240.210.128/26,47.240.210.192/26,47.77.112.0/20,47.87.192.0/18Singapore
47.74.206.0/26,47.74.206.128/26,47.74.206.192/26,47.74.206.64/26,161.117.146.128/26,161.117.146.192/26,161.117.164.0/26,161.117.164.64/26,47.88.233.0/26,47.88.233.64/26,47.88.233.128/26,47.88.233.192/26,47.77.112.0/20,47.87.192.0/18,47.89.88.0/26,47.89.90.0/26,47.246.108.64/26,47.246.164.64/26,47.89.88.0/26,47.89.90.0/26,47.246.108.64/26,47.246.164.64/26,47.89.88.128/26,47.246.73.64/26,47.246.74.0/26,47.246.175.192/26,161.117.90.21,161.117.90.22,47.241.251.31US (Silicon Valley)
47.88.98.0/26,47.88.98.128/26,47.88.98.192/26,47.88.98.64/26,47.77.112.0/20,47.87.192.0/18US (Virginia)
47.252.91.0/26,47.252.91.128/26,47.252.91.192/26,47.252.91.64/26,47.252.71.128/26,47.252.71.192/26,47.252.90.0/26,47.252.90.64/26,47.77.112.0/20,47.87.192.0/18,47.252.88.154Malaysia (Kuala Lumpur)
47.250.30.0/26,47.250.30.128/26,47.250.30.192/26,47.250.30.64/26,47.250.29.0/26,47.250.29.128/26,47.250.29.192/26,47.250.29.64/26,47.77.112.0/20,47.87.192.0/18,47.254.212.25,47.254.212.181Germany (Frankfurt)
47.254.180.0/26,47.254.180.128/26,47.254.180.192/26,47.254.180.64/26,47.254.165.128/26,47.254.165.192/26,47.254.165.64/26,8.209.86.0/26,47.77.112.0/20,47.87.192.0/18,47.254.185.174Japan (Tokyo)
47.245.51.128/26,47.245.51.192/26,47.91.0.128/26,47.91.0.192/26,47.245.18.128/26,47.245.18.192/26,47.245.51.0/26,47.245.51.64/26,47.77.112.0/20,47.87.192.0/18,47.91.27.144,47.91.27.145UK (London)
8.208.73.0/26,8.208.73.128/26,8.208.73.192/26,8.208.73.64/26,8.208.72.0/26,8.208.72.128/26,8.208.72.192/26,8.208.72.64/26,47.77.112.0/20,47.87.192.0/18,8.208.17.76Indonesia (Jakarta)
147.139.156.0/26,147.139.156.128/26,147.139.156.64/26,149.129.230.192/26,149.129.229.0/26,149.129.229.128/26,149.129.229.192/26,149.129.229.64/26,8.215.158.0/26,8.215.158.128/26,8.215.158.192/26,8.215.158.64/26,47.77.112.0/20,47.87.192.0/18,149.129.228.88,149.129.228.182IP addresses effective on and after March 23, 2026
Starting March 23, 2026, two IP addresses (26.13.235.116 and 26.13.235.117) will be added to the China (Shanghai) region whitelist, and two IP addresses (10.254.209.73 and 10.254.212.57) will be added to the China East 2 Finance region whitelist. The IP whitelist addresses for all other regions remain unchanged.
China (Shanghai) -- updated
39.107.223.0/26,39.107.223.64/26,39.107.223.128/26,39.107.223.192/26,101.200.116.192/26,182.92.17.128/26,182.92.17.192/26,182.92.137.0/26,101.200.20.0/26,182.92.137.64/26,182.92.137.128/26,182.92.137.192/26,39.107.7.0/26,39.107.7.64/26,182.92.32.128/26,182.92.32.192/26,39.97.22.192/26,39.97.195.0/26,39.97.195.64/26,39.97.195.128/26,8.146.184.64/26,8.146.184.128/26,8.146.184.192/26,8.146.185.0/26,47.108.33.192/26,47.109.170.0/26,47.109.170.64/26,47.109.170.128/26,47.108.32.0/26,47.108.32.128/26,47.108.32.192/26,47.108.33.0/26,8.137.26.64/26,8.137.26.128/26,8.137.26.192/26,8.137.29.0/26,47.108.46.0/26,47.108.46.64/26,47.108.46.128/26,47.108.46.192/26,47.108.45.128/26,47.108.45.192/26,47.108.47.0/26,47.108.47.64/26,8.134.224.0/26,8.134.224.64/26,8.134.22.128/26,8.134.22.192/26,8.134.0.64/26,8.134.0.128/26,8.134.0.192/26,8.134.5.0/26,8.139.234.64/26,8.139.234.128/26,8.139.234.192/26,8.139.235.0/26,223.4.187.192/26,223.5.153.0/26,223.5.153.64/26,223.5.153.128/26,110.75.186.0/26,110.75.186.64/26,110.75.190.0/26,110.75.190.64/26,8.139.99.192/26,8.139.112.0/26,8.139.112.64/26,8.139.112.128/26,47.111.201.64/26,47.111.201.128/26,47.111.201.192/26,47.111.202.0/26,47.113.157.64/26,47.113.157.128/26,47.113.157.192/26,47.113.158.0/26,47.123.113.192/26,47.123.121.0/26,47.123.121.64/26,47.123.121.128/26,47.123.122.128/26,47.123.122.192/26,47.123.123.0/26,47.123.123.64/26,39.101.0.64/26,39.101.0.128/26,39.101.0.192/26,39.101.5.0/26,39.101.7.0/26,39.101.7.64/26,39.101.7.128/26,39.101.7.192/26,39.104.199.192/26,39.104.220.0/26,39.104.220.64/26,39.104.220.128/26,39.99.77.0/26,39.99.77.64/26,39.99.77.128/26,39.104.220.192/26,120.27.72.0/26,120.27.72.64/26,120.27.72.128/26,120.27.72.192/26,47.123.116.0/26,47.123.116.64/26,47.123.117.128/26,47.123.117.192/26,47.123.112.64/26,47.123.112.128/26,47.123.112.192/26,47.123.113.0/26,8.132.161.192/26,101.133.85.64/26,101.133.85.128/26,101.133.85.192/26,47.123.127.192/26,47.123.146.128/26,47.123.146.192/26,47.123.149.0/26,8.132.48.128/26,8.132.48.192/26,101.133.88.128/26,101.133.88.192/26,47.103.170.128/26,47.103.170.192/26,47.103.171.0/26,47.103.171.64/26,47.102.181.128/26,47.102.181.192/26,47.102.234.0/26,47.102.234.64/26,47.101.109.0/26,47.101.109.64/26,47.101.109.128/26,47.101.109.192/26,47.123.155.192/26,47.123.255.0/26,47.123.255.64/26,47.123.255.128/26,47.123.1.128/26,47.123.1.192/26,47.123.10.0/26,47.123.10.64/26,8.128.64.0/26,8.128.64.64/26,8.128.64.128/26,8.128.64.192/26,47.121.73.192/26,47.121.96.128/26,47.121.96.192/26,47.121.97.0/26,47.106.63.0/26,47.106.63.64/26,47.106.63.128/26,47.106.63.192/26,47.112.83.192/26,47.112.84.0/26,47.112.84.64/26,47.112.84.128/26,47.120.229.128/26,47.121.45.0/26,119.23.166.64/26,120.24.136.0/26,47.92.185.0/26,47.92.185.64/26,47.92.185.128/26,47.92.185.192/26,39.98.96.0/26,39.98.96.64/26,39.98.96.128/26,39.98.96.192/26,8.147.210.0/26,8.147.210.64/26,8.147.210.128/26,8.147.210.192/26,8.128.32.0/19,8.128.64.0/18,115.28.120.0/23,115.28.123.0/24,47.95.173.80,47.95.173.81,47.108.22.35,47.108.22.65,47.96.60.109,47.96.60.110,47.96.60.211,47.96.60.212,47.96.60.213,47.96.60.214,47.96.60.215,47.96.60.216,47.96.60.217,47.96.60.218,39.107.188.202,106.15.171.137,106.15.171.138,100.68.162.67,100.68.162.76,106.15.171.35,106.15.171.218,106.15.171.219,106.15.171.220,106.15.101.220,119.23.183.122,119.23.183.252,120.76.34.229,120.76.34.230,39.101.6.25,39.101.6.34,39.101.5.213,39.101.5.220,39.101.5.248,39.101.5.250,47.92.22.16,47.92.22.68,47.92.22.131,47.92.22.110,47.92.22.169,47.92.22.208,47.92.22.209,47.92.22.210,47.92.22.211,47.92.22.212,26.13.235.116,26.13.235.117China East 2 Finance -- updated
39.107.223.0/26,39.107.223.64/26,39.107.223.128/26,39.107.223.192/26,101.200.116.192/26,182.92.17.128/26,182.92.17.192/26,182.92.137.0/26,101.200.20.0/26,182.92.137.64/26,182.92.137.128/26,182.92.137.192/26,39.107.7.0/26,39.107.7.64/26,182.92.32.128/26,182.92.32.192/26,39.97.22.192/26,39.97.195.0/26,39.97.195.64/26,39.97.195.128/26,8.146.184.64/26,8.146.184.128/26,8.146.184.192/26,8.146.185.0/26,47.108.33.192/26,47.109.170.0/26,47.109.170.64/26,47.109.170.128/26,47.108.32.0/26,47.108.32.128/26,47.108.32.192/26,47.108.33.0/26,8.137.26.64/26,8.137.26.128/26,8.137.26.192/26,8.137.29.0/26,47.108.46.0/26,47.108.46.64/26,47.108.46.128/26,47.108.46.192/26,47.108.45.128/26,47.108.45.192/26,47.108.47.0/26,47.108.47.64/26,8.134.224.0/26,8.134.224.64/26,8.134.22.128/26,8.134.22.192/26,8.134.0.64/26,8.134.0.128/26,8.134.0.192/26,8.134.5.0/26,8.139.234.64/26,8.139.234.128/26,8.139.234.192/26,8.139.235.0/26,223.4.187.192/26,223.5.153.0/26,223.5.153.64/26,223.5.153.128/26,110.75.186.0/26,110.75.186.64/26,110.75.190.0/26,110.75.190.64/26,8.139.99.192/26,8.139.112.0/26,8.139.112.64/26,8.139.112.128/26,47.111.201.64/26,47.111.201.128/26,47.111.201.192/26,47.111.202.0/26,47.113.157.64/26,47.113.157.128/26,47.113.157.192/26,47.113.158.0/26,47.123.113.192/26,47.123.121.0/26,47.123.121.64/26,47.123.121.128/26,47.123.122.128/26,47.123.122.192/26,47.123.123.0/26,47.123.123.64/26,39.101.0.64/26,39.101.0.128/26,39.101.0.192/26,39.101.5.0/26,39.101.7.0/26,39.101.7.64/26,39.101.7.128/26,39.101.7.192/26,39.104.199.192/26,39.104.220.0/26,39.104.220.64/26,39.104.220.128/26,39.99.77.0/26,39.99.77.64/26,39.99.77.128/26,39.104.220.192/26,120.27.72.0/26,120.27.72.64/26,120.27.72.128/26,120.27.72.192/26,47.123.116.0/26,47.123.116.64/26,47.123.117.128/26,47.123.117.192/26,47.123.112.64/26,47.123.112.128/26,47.123.112.192/26,47.123.113.0/26,8.132.161.192/26,101.133.85.64/26,101.133.85.128/26,101.133.85.192/26,47.123.127.192/26,47.123.146.128/26,47.123.146.192/26,47.123.149.0/26,8.132.48.128/26,8.132.48.192/26,101.133.88.128/26,101.133.88.192/26,47.103.170.128/26,47.103.170.192/26,47.103.171.0/26,47.103.171.64/26,47.102.181.128/26,47.102.181.192/26,47.102.234.0/26,47.102.234.64/26,47.101.109.0/26,47.101.109.64/26,47.101.109.128/26,47.101.109.192/26,47.123.155.192/26,47.123.255.0/26,47.123.255.64/26,47.123.255.128/26,47.123.1.128/26,47.123.1.192/26,47.123.10.0/26,47.123.10.64/26,8.128.64.0/26,8.128.64.64/26,8.128.64.128/26,8.128.64.192/26,47.121.73.192/26,47.121.96.128/26,47.121.96.192/26,47.121.97.0/26,47.106.63.0/26,47.106.63.64/26,47.106.63.128/26,47.106.63.192/26,47.112.83.192/26,47.112.84.0/26,47.112.84.64/26,47.112.84.128/26,47.120.229.128/26,47.121.45.0/26,119.23.166.64/26,120.24.136.0/26,47.92.185.0/26,47.92.185.64/26,47.92.185.128/26,47.92.185.192/26,39.98.96.0/26,39.98.96.64/26,39.98.96.128/26,39.98.96.192/26,8.147.210.0/26,8.147.210.64/26,8.147.210.128/26,8.147.210.192/26,8.128.32.0/19,8.128.64.0/18,115.28.120.0/23,115.28.123.0/24,47.95.173.80,47.95.173.81,47.108.22.35,47.108.22.65,47.96.60.109,47.96.60.110,47.96.60.211,47.96.60.212,47.96.60.213,47.96.60.214,47.96.60.215,47.96.60.216,47.96.60.217,47.96.60.218,39.107.188.202,106.15.171.137,106.15.171.138,100.68.162.67,100.68.162.76,106.15.171.35,106.15.171.218,106.15.171.219,106.15.171.220,106.15.101.220,119.23.183.122,119.23.183.252,120.76.34.229,120.76.34.230,39.101.6.25,39.101.6.34,39.101.5.213,39.101.5.220,39.101.5.248,39.101.5.250,47.92.22.16,47.92.22.68,47.92.22.131,47.92.22.110,47.92.22.169,47.92.22.208,47.92.22.209,47.92.22.210,47.92.22.211,47.92.22.212,10.254.209.73,10.254.212.57Exclusive resource group for Data Service
An exclusive resource group for Data Service can access data sources deployed over the internet, within Alibaba Cloud VPCs, or in on-premises data centers. It does not support classic network connections.
Only the China (Shanghai) region supports exclusive resource groups for Data Service. For details, see Use an exclusive resource group for DataService Studio.
Network connectivity by scenario
The following table summarizes connectivity solutions for each network environment. Find the scenario that matches your data source deployment and follow the corresponding procedure.
Data source location | Supported | Configuration summary |
Internet | Yes | Create an EIP and Internet NAT gateway, configure SNAT, then add the EIP to the data source whitelist. |
Classic network | No | Use a shared resource group instead. |
Same region, same VPC, same vSwitch | Yes | Add the vSwitch IPv4 CIDR block to the data source whitelist. |
Same region, same VPC, different vSwitches | Yes | Add the vSwitch IPv4 CIDR block to the data source whitelist. |
Same region, different VPCs | Yes | Connect VPCs with a VPN gateway and IPsec-VPN, then add the vSwitch CIDR block to the data source whitelist. |
Different regions | Yes | Connect VPCs with Cloud Enterprise Network (CEN), then add the vSwitch CIDR block to the data source whitelist. |
On-premises data center | Yes | Connect the VPC to the data center with Express Connect and CEN, then add the vSwitch CIDR block to the data source whitelist. |
Access a data source over the internet
To connect an exclusive resource group to a data source over the internet, create an EIP, associate it with an Internet NAT gateway, and configure a Source Network Address Translation (SNAT) entry.
Log on to the VPC console. In the left-side navigation pane, choose Access to Internet > Elastic IP Addresses. Click Create EIP. > Note: The EIP must be in the same region as the exclusive resource group. For detailed steps, see Apply for EIPs.
In the left-side navigation pane of the VPC console, choose NAT Gateway > Internet NAT Gateway. Click Create NAT Gateway. > Note: The NAT gateway must be in the same region as the exclusive resource group. For detailed steps, see Purchase an Internet NAT gateway.
Find the NAT gateway and click Manage in the Actions column. On the instance details page, click the Associated EIP tab, then click Associate EIP. In the dialog box, select an existing EIP, enter a name, and click OK.
Click the SNAT tab, then click Create SNAT Entry. Set SNAT Entry to Specify vSwitch. From the Select vSwitch drop-down list, select the vSwitch that the exclusive resource group for Data Service uses. From the Select EIP drop-down list, select the EIP. Enter a custom Entry Name and click OK. > Note: The vSwitch must be the same vSwitch that the exclusive resource group for Data Service uses.
After the SNAT entry is created, copy the associated EIP address and add it to the IP whitelist of the data source. For details, see Configure data sources.
Access a data source in the same VPC
If the data source and DataWorks are in the same region and VPC (same or different vSwitches), the exclusive resource group can connect directly.
Log on to the VPC console. In the left-side navigation pane, click vSwitch. Find the vSwitch that the exclusive resource group for Data Service uses and copy its IPv4 CIDR Block.
Add the IPv4 CIDR block of the vSwitch to the IP whitelist of the data source.
Connect across VPCs in the same region
If the data source and DataWorks are in the same region but different VPCs, use a VPN gateway with an IPsec-VPN connection.
Log on to the VPC console.
Create a VPN gateway, a customer gateway, and an IPsec-VPN connection. Configure routes for the VPN gateway and test the private network connection. For details, see Enable communication between two VPCs by using an IPsec-VPN connection in dual-tunnel mode.
Add the CIDR block of the vSwitch that the exclusive resource group for Data Service uses to the IP whitelist of the data source. > Note: For high availability, create two sets of VPN gateways, customer gateways, and IPsec-VPN connections.
Connect across regions
If the data source and DataWorks are in different regions, use Cloud Enterprise Network (CEN).
Log on to the Cloud Enterprise Network (CEN) console.
Create a CEN instance, attach network instances, purchase a bandwidth plan, configure cross-region bandwidth, and verify the connection. For details, see Use CEN and Basic Edition transit routers to connect VPCs in the same region or Connect network instances created by different accounts and in different regions.
Add the CIDR block of the vSwitch in which the exclusive resource group for Data Service resides to the IP whitelist of the data source.
Connect to an on-premises data center
If the data source is in an on-premises data center, use Express Connect and CEN to bridge the network.
Use Express Connect and CEN to connect the VPC that contains the exclusive resource group for Data Service to the on-premises data center.
Add the CIDR block of the vSwitch in which the exclusive resource group for Data Service resides to the IP whitelist of the data source.
Configure IP whitelists for data sources
After determining which IP addresses to add, configure the IP whitelist on your data source. The following section uses ApsaraDB RDS as an example, since RDS has two whitelist modes that affect how the whitelist behaves.
RDS whitelist modes
ApsaraDB RDS supports two whitelist modes: standard mode and enhanced whitelist mode.
Standard mode
Does not distinguish between classic network and VPC whitelist groups.
The shared resource group and the exclusive resource group for Data Service can use the same whitelist group configuration.
IP addresses in the whitelist can access the RDS instance from both the classic network and a VPC.
Enhanced whitelist mode
Distinguishes between classic network and VPC whitelist groups.
Specify a network type for each whitelist group. An IP address added to a classic network whitelist cannot access the RDS instance from a VPC, and vice versa.
In enhanced mode, choose the correct whitelist group type:
Access method | Whitelist group type |
Exclusive resource group connecting over the VPC internal network | VPC whitelist group |
Shared resource group accessing a data source in a VPC (for example, an ApsaraDB RDS for MySQL instance with a VPC connection) | VPC whitelist group |
Data Service resource group using a public endpoint or a classic network endpoint | Classic network whitelist group |
Switching from standard mode to enhanced whitelist mode copies the standard IP whitelist and generates two identical whitelist groups: one for the classic network and one for VPC.
Usage notes
Configuring IP whitelists does not affect the normal operation of the RDS instance.
The default IP whitelist group, named
default, cannot be deleted. Only its entries can be cleared.Do not modify or delete system-created whitelist groups such as
ali_dms_group(the IP whitelist group for DMS) andhdm_security_ips(the IP whitelist group for DAS). Modifying these groups may cause related Alibaba Cloud services to stop working.By default, the IP whitelist contains only
127.0.0.1, which means no external IP address can access the RDS instance.
Create a separate whitelist group dedicated to DataWorks. This keeps DataWorks IP addresses isolated from other whitelist configurations and simplifies future updates.
For more information about configuring RDS connections, see Connect to an ApsaraDB RDS for MySQL instance by using a client or the CLI. For other data source types, follow the official documentation for your specific data source to configure its IP whitelist.
Troubleshooting
Connection fails after adding IP addresses to the whitelist
If a DataWorks task fails to connect to a data source after configuring the IP whitelist, check the following:
Correct region: Verify that the IP addresses match the data source region listed in the IP whitelist table.
Complete IP list: Confirm that all IP addresses for the region were added, not just a subset. Shared resource groups use multiple CIDR blocks.
Whitelist mode (RDS): If the RDS instance uses enhanced whitelist mode, verify that the IP addresses were added to the correct whitelist group type (VPC or classic network) based on the connection method.
Network connectivity: For exclusive resource groups, verify that the underlying network path is established (SNAT entry, VPN tunnel, or CEN route) before checking the IP whitelist.
Whitelist group conflicts: Confirm that system-created whitelist groups such as
ali_dms_groupandhdm_security_ipshave not been modified or deleted.