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 |
地域 | 所在城市(地域) | 公网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 |
中国 | 华东1金融云(杭州) | https://service.cn-hangzhou-finance.maxcompute.aliyun.com/api | https://dt.cn-hangzhou-finance.maxcompute.aliyun.com |
中国 | 华东2金融云(上海) | https://service.cn-shanghai-finance-1.maxcompute.aliyun.com/api | https://dt.cn-shanghai-finance-1.maxcompute.aliyun.com |
中国 | 华北2(北京) | https://service.cn-beijing.maxcompute.aliyun.com/api | https://dt.cn-beijing.maxcompute.aliyun.com |
中国 | 华北2政务云(北京) | https://service.cn-north-2-gov-1.maxcompute.aliyun.com/api | https://dt.cn-north-2-gov-1.maxcompute.aliyun.com |
中国 | 华北3(张家口) | https://service.cn-zhangjiakou.maxcompute.aliyun.com/api | https://dt.cn-zhangjiakou.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 |
中国 | 华南1金融云(深圳) | https://service.cn-shenzhen-finance-1.maxcompute.aliyun.com/api | https://dt.cn-shenzhen-finance-1.maxcompute.aliyun.com |
中国 | 西南1(成都) | https://service.cn-chengdu.maxcompute.aliyun.com/api | https://dt.cn-chengdu.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 |
VPC Endpoint
您仅需配置VPC Endpoint,MaxCompute将自动解析出用于数据传输的VPC Tunnel Endpoint。
地域 | 所在城市(地域) | VPC Endpoint | 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 |
中国 | 华东1金融云(杭州) | https://service.cn-hangzhou-finance-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-hangzhou-finance-vpc.maxcompute.aliyun-inc.com |
中国 | 华东2金融云(上海) | https://service.cn-shanghai-finance-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-shanghai-finance-1-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 |
中国 | 华北2政务云(北京) | https://service.cn-north-2-gov-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-north-2-gov-1-vpc.maxcompute.aliyun-inc.com |
中国 | 华北3(张家口) | https://service.cn-zhangjiakou-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-zhangjiakou-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 |
中国 | 华南1金融云(深圳) | https://service.cn-shenzhen-finance-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-shenzhen-finance-1-vpc.maxcompute.aliyun-inc.com |
中国 | 西南1(成都) | https://service.cn-chengdu-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-chengdu-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 |
附录:控制台查看EndPoint
登录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介绍。
使用PyODPS创建MaxCompute入口对象、配置PyODPS,请参见配置选项。
使用SQLTask配合Tunnel数据传输服务导出SQL运行结果,请参见SQLTask配合Tunnel方式导出。
- 本页导读 (1)
- 如何选择Endpoint
- 公网 Endpoint
- VPC Endpoint
- 云产品互联 EndPoint
- 附录:控制台查看EndPoint
- 相关文档