MaxCompute Endpoint是您訪問MaxCompute服務的存取點。您在配置MaxCompute用戶端工具、SDK或API時需要指定這個Endpoint,以便能夠正確串連MaxCompute服務並提交各種操作請求。
如何選擇Endpoint
MaxCompute Endpoint同時支援HTTP和HTTPS協議,選擇Endpoint主要取決於地區(region)和網路連接方式。
地區選擇:請選擇與您的MaxCompute專案(Project)所在地區一致的Endpoint。否則,將無法訪問您的目標專案。
網路選擇:若您的用戶端位於阿里雲內部(如ECS執行個體等阿里雲產品),推薦使用VPC Endpoint,VPC串連更安全且穩定;若位於阿里雲外部(如辦公電腦),請使用公網 Endpoint。
說明若您的用戶端所在的VPC網路未開通公網訪問,僅可使用VPC Endpoint。
公網 Endpoint
您僅需配置公網Endpoint,MaxCompute將自動解析出用於資料轉送的公網Tunnel Endpoint。
地區 | 所在城市(地區) | 公網Endpoint | 公網Tunnel Endpoint |
中國 | 華東1(杭州) | https://service.cn-hangzhou.maxcompute.aliyun.com/api | https://dt.cn-hangzhou.maxcompute.aliyun.com |
中國 | 華東2(上海) | https://service.cn-shanghai.maxcompute.aliyun.com/api | https://dt.cn-shanghai.maxcompute.aliyun.com |
中國 | 華北2(北京) | https://service.cn-beijing.maxcompute.aliyun.com/api | https://dt.cn-beijing.maxcompute.aliyun.com |
中國 | 華北6(烏蘭察布) | https://service.cn-wulanchabu.maxcompute.aliyun.com/api | https://dt.cn-wulanchabu.maxcompute.aliyun.com |
中國 | 華南1(深圳) | https://service.cn-shenzhen.maxcompute.aliyun.com/api | https://dt.cn-shenzhen.maxcompute.aliyun.com |
中國 | 香港 | https://service.cn-hongkong.maxcompute.aliyun.com/api | https://dt.cn-hongkong.maxcompute.aliyun.com |
亞太地區 | 新加坡 | https://service.ap-southeast-1.maxcompute.aliyun.com/api | https://dt.ap-southeast-1.maxcompute.aliyun.com |
亞太地區 | 馬來西亞(吉隆坡) | https://service.ap-southeast-3.maxcompute.aliyun.com/api | https://dt.ap-southeast-3.maxcompute.aliyun.com |
亞太地區 | 印尼(雅加達) | https://service.ap-southeast-5.maxcompute.aliyun.com/api | https://dt.ap-southeast-5.maxcompute.aliyun.com |
亞太地區 | 日本(東京) | https://service.ap-northeast-1.maxcompute.aliyun.com/api | https://dt.ap-northeast-1.maxcompute.aliyun.com |
歐美地區 | 德國(法蘭克福) | https://service.eu-central-1.maxcompute.aliyun.com/api | https://dt.eu-central-1.maxcompute.aliyun.com |
歐美地區 | 美國(矽谷) | https://service.us-west-1.maxcompute.aliyun.com/api | https://dt.us-west-1.maxcompute.aliyun.com |
歐美地區 | 美國(維吉尼亞) | https://service.us-east-1.maxcompute.aliyun.com/api | https://dt.us-east-1.maxcompute.aliyun.com |
歐美地區 | 英國(倫敦) | https://service.eu-west-1.maxcompute.aliyun.com/api | https://dt.eu-west-1.maxcompute.aliyun.com |
中東與印度 | 阿聯酋(杜拜) | https://service.me-east-1.maxcompute.aliyun.com/api | https://dt.me-east-1.maxcompute.aliyun.com |
中東與印度 | 沙特(利雅得) | https://service.me-central-1.maxcompute.aliyun.com/api | https://dt.me-central-1.maxcompute.aliyun.com |
VPC Endpoint
您僅需配置VPC Endpoint,MaxCompute將自動解析出用於資料轉送的VPC Tunnel Endpoint。
地區 | 所在城市(地區) | VPC Endpoint | VPC Tunnel Endpoint |
中國 | 華東1(杭州) | https://service.cn-hangzhou-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-hangzhou-vpc.maxcompute.aliyun-inc.com |
中國 | 華東2(上海) | https://service.cn-shanghai-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-shanghai-vpc.maxcompute.aliyun-inc.com |
中國 | 華北2(北京) | https://service.cn-beijing-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-beijing-vpc.maxcompute.aliyun-inc.com |
中國 | 華北6(烏蘭察布) | https://service.cn-wulanchabu-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-wulanchabu-vpc.maxcompute.aliyun-inc.com |
中國 | 華南1(深圳) | https://service.cn-shenzhen-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-shenzhen-vpc.maxcompute.aliyun-inc.com |
中國 | 香港 | https://service.cn-hongkong-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-hongkong-vpc.maxcompute.aliyun-inc.com |
亞太地區 | 新加坡 | https://service.ap-southeast-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-southeast-1-vpc.maxcompute.aliyun-inc.com |
亞太地區 | 馬來西亞(吉隆坡) | https://service.ap-southeast-3-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-southeast-3-vpc.maxcompute.aliyun-inc.com |
亞太地區 | 印尼(雅加達) | https://service.ap-southeast-5-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-southeast-5-vpc.maxcompute.aliyun-inc.com |
亞太地區 | 日本(東京) | https://service.ap-northeast-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-northeast-1-vpc.maxcompute.aliyun-inc.com |
歐美地區 | 德國(法蘭克福) | https://service.eu-central-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.eu-central-1-vpc.maxcompute.aliyun-inc.com |
歐美地區 | 矽谷 | https://service.us-west-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.us-west-1-vpc.maxcompute.aliyun-inc.com |
歐美地區 | 維吉尼亞 | https://service.us-east-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.us-east-1-vpc.maxcompute.aliyun-inc.com |
歐美地區 | 英國(倫敦) | https://service.eu-west-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.eu-west-1-vpc.maxcompute.aliyun-inc.com |
中東與印度 | 阿聯酋(杜拜) | https://service.me-east-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.me-east-1-vpc.maxcompute.aliyun-inc.com |
中東與印度 | 沙特(利雅得) | https://service.me-central-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.me-central-1-vpc.maxcompute.aliyun-inc.com |
雲產品互聯 EndPoint
附錄:控制台查看Endpoint
支援通過MaxCompute控制台查看Endpoint的地區包括:華東1(杭州)、華東2(上海)、華北2(北京)、華北3(張家口)、華北6(烏蘭察布)、華南1(深圳)和西南1(成都)。
登入MaxCompute控制台,選擇對應地區之後,單擊左側功能表列,即可在控制台擷取Endpoint資訊。
相關文檔
需要配置Endpoint的情境如下:
通過工具串連MaxCompute:
使用MaxCompute用戶端(odpscmd)串連MaxCompute專案,需要配置odps_config.ini檔案,請參見安裝並配置MaxCompute用戶端。
使用MaxCompute Studio串連MaxCompute專案,請參見管理專案串連。
使用DataWorks串連MaxCompute資料來源,請參見配置MaxCompute資料來源。
通過代碼配置串連MaxCompute專案:
使用SDK方式串連MaxCompute專案,請參見Java SDK介紹和Python SDK樣本:SQL。
使用JDBC方式串連MaxCompute專案,請參見JDBC介紹。
使用SQLTask配合TunnelData Transmission Service匯出SQL運行結果,請參見SQLTask配合Tunnel方式匯出。