All Products
Search
Document Center

MaxCompute:Endpoint

Last Updated:Mar 26, 2026

A MaxCompute endpoint is the access point you configure in a client tool, software development kit (SDK), or API to connect to MaxCompute and submit requests.

Choose an endpoint

Two factors determine which endpoint to use: the region of your MaxCompute project and your network connectivity type.

Region: Always use an endpoint in the same region as your MaxCompute project. Cross-region access is not supported.

Network type:

  • Client running on Alibaba Cloud (for example, on an Elastic Compute Service (ECS) instance) — use a VPC endpoint. VPC connections are more secure and stable.

  • Client running outside Alibaba Cloud (for example, on an office computer) — use a public endpoint. If public network access is not enabled for your VPC, use a VPC endpoint instead.

  • Alibaba Cloud product connecting to MaxCompute (for example, Quick BI) — use an endpoint for interconnected cloud products.

MaxCompute endpoints support both the HTTP and HTTPS protocols.

URL patterns

All MaxCompute endpoints follow a consistent URL pattern. Once you know your region ID, you can derive the endpoint directly:

Endpoint type Pattern
Public endpoint https://service.{region-id}.maxcompute.aliyun.com/api
Public Tunnel endpoint https://dt.{region-id}.maxcompute.aliyun.com
VPC endpoint https://service.{region-id}-vpc.maxcompute.aliyun-inc.com/api
VPC Tunnel endpoint https://dt.{region-id}-vpc.maxcompute.aliyun-inc.com
Interconnected endpoint https://service.{region-id}-intranet.maxcompute.aliyun-inc.com/api
Interconnected Tunnel endpoint https://dt.{region-id}-intranet.maxcompute.aliyun-inc.com

For example, for China (Hangzhou), the region ID is cn-hangzhou, and the public endpoint is https://service.cn-hangzhou.maxcompute.aliyun.com/api.

Configure only the service endpoint. MaxCompute automatically resolves the corresponding Tunnel endpoint for data transmission.
Exception: Mexico (region ID na-south-1) uses -vpc instead of -intranet for the interconnected service endpoint. See the interconnected endpoints table below for the exact URL.

Public endpoints

Use a public endpoint if your client is outside Alibaba Cloud.

Region City 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

Use a VPC endpoint if your client is on Alibaba Cloud (for example, on an ECS instance).

Region City VPC endpoint VPC Tunnel endpoint
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

Use these endpoints when an Alibaba Cloud product (such as Quick BI) connects to MaxCompute internally.

Region City Endpoint for interconnected cloud products Tunnel endpoint for interconnected cloud products
China China (Shanghai) https://service.cn-shanghai-intranet.maxcompute.aliyun-inc.com/api https://dt.cn-shanghai-intranet.maxcompute.aliyun-inc.com
China China (Beijing) https://service.cn-beijing-intranet.maxcompute.aliyun-inc.com/api https://dt.cn-beijing-intranet.maxcompute.aliyun-inc.com
China China (Ulanqab) https://service.cn-wulanchabu-intranet.maxcompute.aliyun-inc.com/api https://dt.cn-wulanchabu-intranet.maxcompute.aliyun-inc.com
China China (Shenzhen) https://service.cn-shenzhen-intranet.maxcompute.aliyun-inc.com/api https://dt.cn-shenzhen-intranet.maxcompute.aliyun-inc.com
China Hong Kong https://service.cn-hongkong-intranet.maxcompute.aliyun-inc.com/api https://dt.cn-hongkong-intranet.maxcompute.aliyun-inc.com
Asia-Pacific Singapore https://service.ap-southeast-1-intranet.maxcompute.aliyun-inc.com/api https://dt.ap-southeast-1-intranet.maxcompute.aliyun-inc.com
Asia-Pacific Malaysia (Kuala Lumpur) https://service.ap-southeast-3-intranet.maxcompute.aliyun-inc.com/api https://dt.ap-southeast-3-intranet.maxcompute.aliyun-inc.com
Asia-Pacific Indonesia (Jakarta) https://service.ap-southeast-5-intranet.maxcompute.aliyun-inc.com/api https://dt.ap-southeast-5-intranet.maxcompute.aliyun-inc.com
Asia-Pacific Japan (Tokyo) https://service.ap-northeast-1-intranet.maxcompute.aliyun-inc.com/api https://dt.ap-northeast-1-intranet.maxcompute.aliyun-inc.com
Asia-Pacific South Korea (Seoul) https://service.ap-northeast-2-intranet.maxcompute.aliyun-inc.com/api https://dt.ap-northeast-2-intranet.maxcompute.aliyun-inc.com
Europe and Americas Germany (Frankfurt) https://service.eu-central-1-intranet.maxcompute.aliyun-inc.com/api https://dt.eu-central-1-intranet.maxcompute.aliyun-inc.com
Europe and Americas US (Silicon Valley) https://service.us-west-1-intranet.maxcompute.aliyun-inc.com/api https://dt.us-west-1-intranet.maxcompute.aliyun-inc.com
Europe and Americas US (Virginia) https://service.us-east-1-intranet.maxcompute.aliyun-inc.com/api https://dt.us-east-1-intranet.maxcompute.aliyun-inc.com
Europe and Americas UK (London) https://service.eu-west-1-intranet.maxcompute.aliyun-inc.com/api https://dt.eu-west-1-intranet.maxcompute.aliyun-inc.com
Europe and Americas Mexico https://service.na-south-1-vpc.maxcompute.aliyun-inc.com/api https://dt.na-south-1-intranet.maxcompute.aliyun-inc.com
Middle East and India UAE (Dubai) https://service.me-east-1-intranet.maxcompute.aliyun-inc.com/api https://dt.me-east-1-intranet.maxcompute.aliyun-inc.com
Middle East and India SAU (Riyadh - Partner Region) https://service.me-central-1-intranet.maxcompute.aliyun-inc.com/api https://dt.me-central-1-intranet.maxcompute.aliyun-inc.com

View endpoints in the console

The MaxCompute console displays endpoint information for the following China regions: China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Ulanqab), China (Shenzhen), and China (Chengdu).

  1. Log on to the MaxCompute console and select a region in the top-left corner.

  2. In the left navigation pane, choose Manage Configurations > Endpoint Management.

Configure your client

After you identify the correct endpoint, configure it in your tool or SDK.

MaxCompute client (odpscmd)

Set the endpoint in odps_config.ini:

project_name=<your_project_name>
access_id=<your_access_key_id>
access_key=<your_access_key_secret>
end_point=https://service.cn-hangzhou.maxcompute.aliyun.com/api

Replace the endpoint value with the endpoint for your region and network type.

For full setup instructions, see Install and configure the MaxCompute client.

Other tools and SDKs

For background on Alibaba Cloud regions and zones, see Regions and zones.