A MaxCompute endpoint is the access point for MaxCompute. When configuring MaxCompute client tools, SDKs, or APIs, you need to specify an endpoint to correctly connect to MaxCompute and submit operation requests.
How to choose an endpoint
MaxCompute endpoints support both HTTP and HTTPS protocols. Choosing an endpoint primarily depends on the region and network connect method.
Region: Choose an endpoint that matches the region of your MaxCompute project. Otherwise, you will not be able to access the project.
Network connect method: If your client is within Alibaba Cloud (such as ECS instances), we recommend that you use the VPC endpoints, as VPC connections are more secure and stable. If your client is outside Alibaba Cloud (such as an office computer), use the public endpoint.
NoteIf the VPC where your client is located has not enabled Internet access, you can only use the VPC endpoints.
Public endpoints
You only need to configure the public endpoint. Then, MaxCompute will automatically parse the public Tunnel endpoint for data transmission.
Area | 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 | 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 |
Europe & Americas | Germany (Frankfurt) | https://service.eu-central-1.maxcompute.aliyun.com/api | https://dt.eu-central-1.maxcompute.aliyun.com |
Europe & Americas | US (Silicon Valley) | https://service.us-west-1.maxcompute.aliyun.com/api | https://dt.us-west-1.maxcompute.aliyun.com |
Europe & Americas | US (Virginia) | https://service.us-east-1.maxcompute.aliyun.com/api | https://dt.us-east-1.maxcompute.aliyun.com |
Europe & Americas | UK (London) | https://service.eu-west-1.maxcompute.aliyun.com/api | https://dt.eu-west-1.maxcompute.aliyun.com |
Middle East & India | UAE (Dubai) | https://service.me-east-1.maxcompute.aliyun.com/api | https://dt.me-east-1.maxcompute.aliyun.com |
Middle East & India | SAU (Riyadh - Partner Region) | https://service.me-central-1.maxcompute.aliyun.com/api | https://dt.me-central-1.maxcompute.aliyun.com |
VPC endpoints
You only need to configure the VPC endpoint. Then, MaxCompute will automatically parse the VPC Tunnel endpoint for data transmission.
Area | 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 | 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 |
Europe & 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 & 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 & 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 & Americas | UK (London) | https://service.eu-west-1-vpc.maxcompute.aliyun-inc.com/api | https://dt.eu-west-1-vpc.maxcompute.aliyun-inc.com |
Middle East & 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 & 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 |
Cloud service interconnection endpoints
Appendix: View endpoints in the console
Log on to the MaxCompute console, select the corresponding region, and choose in the left-side navigation pane to obtain endpoint information.
References
Scenarios that require endpoint configuration:
Connect to MaxCompute by using a tool:
To connect to MaxCompute projects by using the MaxCompute client (odpscmd), you need to configure the odps_config.ini file. For more information, see Install and configure the MaxCompute client.
To connect to MaxCompute projects by using MaxCompute Studio, see Manage project connections.
To connect to MaxCompute data sources by using DataWorks, see Add a MaxCompute data source.
Connect to MaxCompute projects by configuring code:
To connect to MaxCompute projects by using SDKs, see SDK for Java and Examples of using the SDK for Python: SQL statements.
To connect to MaxCompute projects by using Java Database Connectivity (JDBC), see JDBC overview.
To export SQL execution results by using SQLTask with the Tunnel data transmission service, see Use SQLTask and Tunnel to export data.