全部產品
Search
文件中心

Data Management:添加DMS IP地址

更新時間:Nov 26, 2024

為確保DMS能夠正常訪問您的資料庫執行個體,您需要在資料庫執行個體的安全設定(防火牆、白名單、安全性群組等)中添加對應地區的DMS的IP地址。

給阿里雲資料庫添加DMS IP地址

適用範圍:阿里雲資料庫、ECS自建資料庫。

在DMS控制台給執行個體添加DMS IP地址

您可以根據實際情況選擇如下任一方式添加DMS IP地址:

  • 通過系統提示添加

    首次在DMS中登入阿里雲資料庫時,DMS會提示您添加DMS IP地址到資料庫的安全設定中,您只需單擊對話方塊中的設定白名單。設定完成後,您可在DMS中重新登入該執行個體。

  • 通過執行個體管理添加

    說明

    僅管理員或DBA可以使用該方法。

    1. 登入Data Management 5.0
    2. 單擊控制台左上方的2023-01-28_15-57-17.png表徵圖,選擇全部功能 > 資料資產 > 執行個體管理

      說明

      若您使用的是非極簡模式的控制台,在頂部功能表列中,選擇資料資產 > 執行個體管理

    3. 執行個體列表頁簽下,選中目標資料庫執行個體,單擊執行個體列表地區上方的設定白名單

    4. 在彈出對話方塊中,單擊確認即可。

在資料庫管理主控台添加DMS IP地址

  1. 登入雲資料庫控制台,找到目標執行個體。

  2. 單擊目標執行個體ID,在左側導覽列中,單擊白名單與安全性群組

  3. 擷取DMS IP地址,並將該IP地址添加至執行個體的白名單分組,單擊確定

    例如執行個體所在地區為華東1(杭州)、網路類型為專用網路。您需要在DMS IP地址清單中找到華東1(杭州)地區這一行和專用網路地址這一列,再複製IP地址至執行個體白名單分組即可。

給他雲或自建資料庫添加DMS IP地址

他雲或自建資料庫(除ECS自建資料庫)、通過公網IP和VPC專線接入的資料庫,需要手動將DMS IP地址添加至資料庫的安全設定中。

DMS IP地址清單

在添加IP地址時,建議您將對應地區的DMS IP完整拷貝至對應的安全設定中。

重要
  • 添加DMS服務的公網IP位址區段可能存在安全風險,請謹慎使用。

  • 建議加強帳號密碼防範,限制允許存取連接埠號碼,或者通過專線、VPN網關或智能網關接入。

表 1. IP地址清單

地區名稱

專用網路(ECS自建庫或阿里雲資料庫或VPC專線IDC)

傳統網路(ECS自建庫或阿里雲資料庫)

公網

華東1(杭州)

100.104.175.0/24,100.104.201.0/26,100.104.52.0/24,100.104.61.128/26,100.104.244.64/26,100.104.216.192/26,100.104.85.0/26

11.193.54.0/24,10.143.32.0/24,10.143.34.0/24,10.137.42.0/24,10.152.29.0/24,10.6.226.32,10.6.226.33,10.187.128.215,10.187.128.216

8.136.163.64/27,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26

華東2(上海)

100.104.5.0/24,100.104.205.0/24,100.104.226.128/26,100.104.149.64/26

10.152.163.0/24,10.137.42.0/24,11.154.24.173

139.224.4.85,139.224.4.79,101.133.205.192/26,47.102.181.128/26,47.102.181.192/26,47.102.234.0/26,47.102.234.64/26

華東5(南京)

100.104.182.128/26

11.193.54.0/24,10.143.32.0/24,10.143.34.0/24,10.137.42.0/24,10.152.29.0/24,10.6.226.32,10.6.226.33,10.187.128.215,10.187.128.216

8.136.163.64/27,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26

華北1(青島)

100.104.188.0/24,100.104.72.0/24,100.104.35.192/26

10.151.203.0/24,10.137.42.0/24,10.245.213.244,10.3.80.246

114.215.161.28,114.215.161.36,118.190.207.194,118.190.207.25,120.27.72.0/26,120.27.72.64/26,120.27.72.128/26,120.27.72.192/26

華北2(北京)

100.104.72.0/24,100.104.183.0/24,100.104.236.128/26,100.104.128.192/26,100.104.227.192/26

11.192.101.0/24,10.137.42.0/24,11.115.125.224

60.205.89.31,60.205.89.21,8.131.132.0/26,39.107.7.0/26,39.107.7.64/26,182.92.32.128/26,182.92.32.192/26

華北3(張家口)

100.104.205.0/24,100.104.175.0/24

11.192.243.0/24,11.193.233.87

47.92.22.68,39.101.252.128/26,47.92.185.0/26,47.92.185.64/26,47.92.185.128/26,47.92.185.192/26

華北5(呼和浩特)

100.104.205.0/24,100.104.72.0/24

11.193.183.0/24,11.197.113.225

39.104.29.35,39.104.78.173,39.104.79.122,39.104.86.0,39.104.62.152,39.104.72.87,39.99.77.0/26,39.99.77.64/26,39.99.77.128/26,39.104.220.192/26

華北6(烏蘭察布)

100.104.10.192/26

10.152.29.0/24

8.136.163.64/27,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26

西南1(成都)

100.104.5.0/26

11.195.52.68/24,11.119.156.53

47.108.22.35,47.109.5.0/26,47.108.45.128/26,47.108.45.192/26,47.108.47.0/26,47.108.47.64/26

華南1(深圳)

100.104.5.0/24,100.104.75.64/26,100.104.235.192/26,100.104.205.0/24,100.104.41.64/26

10.152.27.0/24,10.137.42.0/24,10.245.164.219

120.76.91.7,120.76.91.29,47.113.76.192/26,47.112.83.192/26,47.112.84.0/26,47.112.84.64/26,47.112.84.128/26

華南2(河源)

100.104.96.64/26

11.118.24.0/24,10.137.42.0/24,10.152.29.0/24

8.136.163.64/27,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26

華南3(廣州)

100.104.248.128/26

10.137.42.0/24,10.152.29.0/24,10.58.93.2

8.134.79.141,8.134.79.143,8.134.0.64/26,8.134.0.128/26,8.134.0.192/26,8.134.5.0/26

華中1(武漢-本地地區)

100.104.193.128/26

11.193.54.0/24,10.143.32.0/24,10.143.34.0/24,10.137.42.0/24,10.152.29.0/24,10.6.226.32,10.6.226.33,10.187.128.215,10.187.128.216

8.136.163.64/27,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26

中國(香港)

100.104.205.0/24,100.104.233.0/24,100.104.177.192/26,100.104.158.192/26

10.152.161.0/24,10.137.42.0/24,10.254.102.13

47.89.61.33,47.89.61.59,47.243.0.32/28,47.56.45.128/26,47.56.45.192/26,47.90.24.0/26,47.90.24.64/26

新加坡

100.104.205.0/24,100.104.188.0/24,100.104.207.128/26,100.104.179.64/26,100.104.12.0/26

10.152.166.0/24,10.137.42.0/24,10.88.51.209

47.88.147.36,47.88.147.22,161.117.172.0/28,161.117.146.128/26,161.117.146.192/26,161.117.164.0/26,161.117.164.64/26

馬來西亞(吉隆坡)

100.104.175.0/24,100.104.5.0/24

11.193.189.0/24,11.196.42.179

47.254.212.25,47.250.34.128/28,47.250.30.0/26,47.250.30.64/26,47.250.30.128/26,47.250.30.192/26

印尼(雅加達)

100.104.5.0/24,100.104.35.192/26,100.104.175.0/24

11.194.48.0/22,11.59.138.151

149.129.228.88,147.139.165.206,147.139.133.46,147.139.179.168,147.139.132.101,147.139.156.0/26,147.139.156.64/26,147.139.156.128/26,149.129.230.192/26

日本(東京)

100.104.205.0/24,100.104.112.0/24,100.104.117.192/26,100.104.112.0/24,100.104.117.192/26

11.192.147.0/24,11.192.148.0/24,11.192.149.0/24

47.91.13.31,47.91.13.77,8.209.192.160/28,47.91.0.128/26,47.91.0.192/26,47.245.51.128/26,47.245.51.192/26

美國(矽谷)

100.104.205.0/24,100.104.48.128/26,100.104.175.0/24

10.152.31.0/24,10.137.42.0/24,10.60.82.16

47.89.224.28,47.89.224.56,47.88.1.17,47.88.6.196,47.88.10.217,47.88.15.174,47.88.98.0/26,47.88.98.64/26,47.88.98.128/26,47.88.98.192/26

美國(維吉尼亞)

100.104.205.0/24,100.104.233.0/24,100.104.240.128/26

10.152.235.0/24,10.137.42.0/24,11.194.67.243

47.88.98.24,47.88.98.20,47.253.64.0/28,47.252.71.128/26,47.252.71.192/26,47.252.90.0/26,47.252.90.64/26

英國(倫敦)

100.104.5.0/24,100.104.133.64/26,100.104.207.128/26

11.199.93.0/24,11.199.225.130

8.208.17.76,8.208.75.64/28,8.208.73.0/26,8.208.73.64/26,8.208.73.128/26,8.208.73.192/26

德國(法蘭克福)

100.104.233.0/24,100.104.5.0/24,100.104.193.128/26

11.192.169.0/24,11.192.170.0/24,11.194.56.218

47.91.83.56,47.91.83.15,47.245.155.0/28,8.209.86.0/26,47.254.165.64/26,47.254.165.128/26,47.254.165.192/26

阿聯酋(杜拜)

100.104.5.0/24,100.104.205.0/24

11.192.189.0/24,11.192.190.0/24,11.192.191.0/24

47.91.102.19,47.91.103.51

菲律賓(馬尼拉)

100.104.36.0/26

10.43.148.217,10.43.148.218

8.212.136.64/26,8.212.136.128/26,8.212.136.192/26,8.212.137.0/26

泰國(曼穀)

100.104.106.192/26

10.186.15.148,10.186.15.149

8.213.162.64/26,8.213.162.128/26,8.213.162.192/26,8.213.163.0/26

沙特(利雅得)

100.104.12.0/26

10.187.119.182,10.187.119.183,10.187.115.137

8.213.0.128/26,8.213.0.192/26,8.213.5.0/26,8.213.5.64/26,8.213.16.59,8.213.16.91,8.213.16.111,8.213.16.17,8.213.16.123,8.213.6.0/26,8.213.6.64/26,8.213.6.128/26,8.213.6.192/26

俄羅斯

100.104.35.192/26

11.111.39.128,11.111.39.129

8.209.134.64/26,8.209.134.128/26,8.209.134.192/26

華北2 金融雲(邀測)

100.104.144.0/26

10.254.13.200,10.254.13.201,10.254.22.182

39.107.7.0/26,39.107.7.64/26,182.92.32.128/26,182.92.32.192/26,47.92.185.0/26,47.92.185.64/26,47.92.185.128/26,47.92.185.192/26

杭州金融雲

100.104.175.0/24,100.104.52.0/24,100.104.216.192/26

11.193.54.0/24,10.143.32.0/24,10.143.34.0/24,10.137.42.0/24,10.152.29.0/24

116.62.251.150,47.96.59.4,47.96.58.245,116.62.250.113,116.62.249.73,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26

海澱金融雲1

100.104.5.0/24

10.152.29.0/24

8.136.163.64/27,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26

上海金融雲1

100.104.72.0/24,100.104.175.0/24

10.152.163.0/24,10.137.42.0/24,10.152.29.0/24,10.254.213.170

139.224.122.227,139.224.123.13,139.224.124.107,139.224.123.165,47.102.181.128/26,47.102.181.192/26,47.102.234.0/26,47.102.234.64/26,47.103.170.128/26,47.103.170.192/26,47.103.171.0/26,47.103.171.64/26

深圳金融雲1

100.104.205.0/24,100.104.72.0/24

10.152.27.0/24,10.137.42.0/24,10.152.29.0/24

8.136.163.64/27,118.31.243.0/26,118.31.243.64/26,118.31.243.128/26,118.31.243.192/26

常見問題

  • Q:添加DMS IP地址至資料庫白名單後,如果DMS仍無法串連資料庫,該如何處理?

    A:請參考如下方式進行排查:

    • 請稍後重試,白名單生效需要時間。

    • 對於公網接入的資料庫,如果添加某地區的DMS IP地址至白名單仍無法串連,請添加杭州地區的DMS IP地址至白名單,並再次重試。

    • 新增執行個體編輯執行個體對話方塊,檢查串連資訊,包括連接埠號碼。

  • Q:DMS串連RDS傳統網路執行個體失敗,執行個體只有公網地址,如何解決?

    A:有如下兩個解決方案,您可任選其一。

    • 將DMS的公網IP地址(與執行個體同地區)添加至執行個體的白名單中。具體操作,請參見設定IP白名單

    • 在RDS控制台上為目標執行個體開通內網地址。