A MaxCompute endpoint is an access point for the MaxCompute service. When you configure a MaxCompute client tool, software development kit (SDK), or API, specify an endpoint to connect to the MaxCompute service and submit operation requests.
How to choose an endpoint
MaxCompute endpoints support both the HTTP and HTTPS protocols. The endpoint you choose depends on the region and the network connectivity type.
Region: Choose an endpoint in the same region as your MaxCompute project. Otherwise, you cannot access the target project.
Network Selection:
If your client is within Alibaba Cloud, such as on an Elastic Compute Service (ECS) instance, use a VPC endpoint. VPC connections are more secure and stable.
If your client is located outside Alibaba Cloud, such as on an office computer, use a public endpoint. If public network access is not enabled for the VPC where your client is located, you can only use a VPC endpoint.
Public endpoints
Simply configure the public endpoint. MaxCompute automatically resolves the corresponding public Tunnel endpoint for data transmission.
Region | City (Region) | Public Endpoint | Public Tunnel Endpoint |
China | China (Hangzhou) | https://service.cn-hangzhou.maxcompute.aliyun.com/api | https://dt.cn-hangzhou.maxcompute.aliyun.com |
China | China (Shanghai) | https://service.cn-shanghai.maxcompute.aliyun.com/api | https://dt.cn-shanghai.maxcompute.aliyun.com |
China | China (Beijing) | https://service.cn-beijing.maxcompute.aliyun.com/api | https://dt.cn-beijing.maxcompute.aliyun.com |
China | China (Ulanqab) | https://service.cn-wulanchabu.maxcompute.aliyun.com/api | https://dt.cn-wulanchabu.maxcompute.aliyun.com |
China | China (Shenzhen) | https://service.cn-shenzhen.maxcompute.aliyun.com/api | https://dt.cn-shenzhen.maxcompute.aliyun.com |
China | Hong Kong | https://service.cn-hongkong.maxcompute.aliyun.com/api | https://dt.cn-hongkong.maxcompute.aliyun.com |
Asia-Pacific | Singapore | https://service.ap-southeast-1.maxcompute.aliyun.com/api | https://dt.ap-southeast-1.maxcompute.aliyun.com |
Asia-Pacific | Malaysia (Kuala Lumpur) | https://service.ap-southeast-3.maxcompute.aliyun.com/api | https://dt.ap-southeast-3.maxcompute.aliyun.com |
Asia-Pacific | Indonesia (Jakarta) | https://service.ap-southeast-5.maxcompute.aliyun.com/api | https://dt.ap-southeast-5.maxcompute.aliyun.com |
Asia-Pacific | Japan (Tokyo) | https://service.ap-northeast-1.maxcompute.aliyun.com/api | https://dt.ap-northeast-1.maxcompute.aliyun.com |
Asia-Pacific | South Korea (Seoul) | https://service.ap-northeast-2.maxcompute.aliyun.com/api | https://dt.ap-northeast-2.maxcompute.aliyun.com |
Europe and Americas | Germany (Frankfurt) | https://service.eu-central-1.maxcompute.aliyun.com/api | https://dt.eu-central-1.maxcompute.aliyun.com |
Europe and Americas | US (Silicon Valley) | https://service.us-west-1.maxcompute.aliyun.com/api | https://dt.us-west-1.maxcompute.aliyun.com |
Europe and Americas | US (Virginia) | https://service.us-east-1.maxcompute.aliyun.com/api | https://dt.us-east-1.maxcompute.aliyun.com |
Europe and Americas | UK (London) | https://service.eu-west-1.maxcompute.aliyun.com/api | https://dt.eu-west-1.maxcompute.aliyun.com |
Europe and Americas | Mexico | https://service.na-south-1.maxcompute.aliyun.com/api | https://dt.na-south-1.maxcompute.aliyun.com |
Middle East and India | UAE (Dubai) | https://service.me-east-1.maxcompute.aliyun.com/api | https://dt.me-east-1.maxcompute.aliyun.com |
Middle East and India | SAU (Riyadh - Partner Region) | https://service.me-central-1.maxcompute.aliyun.com/api | https://dt.me-central-1.maxcompute.aliyun.com |
VPC endpoints
Simply configure the VPC endpoint. MaxCompute automatically resolves the corresponding VPC Tunnel endpoint for data transmission.
Region | City (Region) | VPC Endpoint | VPC Tunnel Endpoint |
China | China (Hangzhou) | https://service.cn-hangzhou-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-hangzhou-vpc.maxcompute.aliyun-inc.com |
China | China (Shanghai) | https://service.cn-shanghai-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-shanghai-vpc.maxcompute.aliyun-inc.com |
China | China (Beijing) | https://service.cn-beijing-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-beijing-vpc.maxcompute.aliyun-inc.com |
China | China (Ulanqab) | https://service.cn-wulanchabu-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-wulanchabu-vpc.maxcompute.aliyun-inc.com |
China | China (Shenzhen) | https://service.cn-shenzhen-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-shenzhen-vpc.maxcompute.aliyun-inc.com |
China | Hong Kong | https://service.cn-hongkong-vpc.maxcompute.aliyun-inc.com/api | https://dt.cn-hongkong-vpc.maxcompute.aliyun-inc.com |
Asia-Pacific | Singapore | https://service.ap-southeast-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-southeast-1-vpc.maxcompute.aliyun-inc.com |
Asia-Pacific | Malaysia (Kuala Lumpur) | https://service.ap-southeast-3-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-southeast-3-vpc.maxcompute.aliyun-inc.com |
Asia-Pacific | Indonesia (Jakarta) | https://service.ap-southeast-5-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-southeast-5-vpc.maxcompute.aliyun-inc.com |
Asia-Pacific | Japan (Tokyo) | https://service.ap-northeast-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-northeast-1-vpc.maxcompute.aliyun-inc.com |
Asia-Pacific | South Korea (Seoul) | https://service.ap-northeast-2-vpc.maxcompute.aliyun-inc.com/api | https://dt.ap-northeast-2-vpc.maxcompute.aliyun-inc.com |
Europe and Americas | Germany (Frankfurt) | https://service.eu-central-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.eu-central-1-vpc.maxcompute.aliyun-inc.com |
Europe and Americas | US (Silicon Valley) | https://service.us-west-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.us-west-1-vpc.maxcompute.aliyun-inc.com |
Europe and Americas | US (Virginia) | https://service.us-east-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.us-east-1-vpc.maxcompute.aliyun-inc.com |
Europe and Americas | UK (London) | https://service.eu-west-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.eu-west-1-vpc.maxcompute.aliyun-inc.com |
Europe and Americas | Mexico | https://service.na-south-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.na-south-1-vpc.maxcompute.aliyun-inc.com |
Middle East and India | UAE (Dubai) | https://service.me-east-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.me-east-1-vpc.maxcompute.aliyun-inc.com |
Middle East and India | SAU (Riyadh - Partner Region) | https://service.me-central-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.me-central-1-vpc.maxcompute.aliyun-inc.com |
Endpoints for interconnected cloud products
Appendix: View endpoints in the console
You can view endpoints in the MaxCompute console for the following regions: China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Ulanqab), China (Shenzhen), and China (Chengdu).
Log on to the MaxCompute console and select a region in the top-left corner.
In the navigation pane on the left, choose .
You can then view the endpoint information in the console.
References
The following scenarios require you to configure an endpoint:
Connect to MaxCompute using a tool:
To connect to a MaxCompute project using the MaxCompute client (odpscmd), configure the odps_config.ini file. For more information, see Install and configure the MaxCompute client.
To connect to a MaxCompute project using MaxCompute Studio, see Manage project connections.
To connect to a MaxCompute data source using DataWorks, see Configure a MaxCompute data source.
Connect to a MaxCompute project using code configuration:
To connect to a MaxCompute project using an SDK, see Java SDK introduction and Python SDK example: SQL.
To connect to a MaxCompute project using Java Database Connectivity (JDBC), see JDBC introduction.
To export SQL results using SQLTask with the Tunnel service, see Export data using SQLTask with Tunnel.
For information about the concepts, selection guide, and relationships of Alibaba Cloud regions and zones, and the supported regions and zones, see Regions and zones.