This topic describes the endpoints that are used in different regions and different network connection modes. This topic also describes the network connectivity and billing rules when MaxCompute communicates with other Alibaba Cloud services.

Background information

MaxCompute provides the MaxCompute service and Tunnel service.
  • MaxCompute service: The connection address is an endpoint, which varies based on the region and network connection mode that you select. You can send all requests except data upload and download requests to MaxCompute. For example, you can send a request to create a table, delete a function, or run a computing job.

    MaxCompute also supports external tables. After you create an external table, you can use MaxCompute to read data from Object Storage Service (OSS), Tablestore, Hologres, ApsaraDB for HBase, or ApsaraDB RDS. For more information, see OSS external tables, Create a Tablestore external table, and Hologres external tables.

  • Tunnel service: The connection address is a Tunnel endpoint, which varies based on the region and network connection mode that you select. The Tunnel service allows you to upload data to or download data from on-premises or cloud data sources.

For more information about the network connection modes, see Network connection modes.

For more information about the MaxCompute endpoints and Tunnel endpoints that are used in different regions and network connection modes, see Endpoints in different regions (Internet), Endpoints in different regions (classic network), and Endpoints in different regions (VPC).

Scenarios

You must configure a MaxCompute endpoint or Tunnel endpoint in the following scenarios:
  • Connect to MaxCompute by using a tool
    • Use the MaxCompute client (odpscmd) to connect to MaxCompute projects. In this case, you must configure the odps_config.ini file. For more information about how to install and configure the MaxCompute client, see Install and configure the MaxCompute client.
    • Use MaxCompute Studio to connect to MaxCompute projects. For more information, see Manage project connections.
    • Use DataWorks to connect to MaxCompute data sources. For more information about how to configure MaxCompute data sources in DataWorks, see Add a MaxCompute data source.
  • Connect to MaxCompute projects by configuring code

Usage notes

Before you use the Tunnel service, take note of the following points:
  • If you want to access the Tunnel service over the classic network or a virtual private cloud (VPC) of Alibaba Cloud, you must configure the endpoint of the classic network or the VPC. If you do not configure the endpoint of the classic network or the VPC, your traffic may be routed to the Internet, and you are charged for data downloads over the Internet.
  • The billing rules for the Tunnel service vary based on the regions and network connection modes that you select. For more information about the billing rules, see Billing rules.

Network connection modes

You can access the MaxCompute service and Tunnel service in the following network connection modes:
  • Internet
  • Classic network
  • VPC
Before you use MaxCompute to read data from and write data to OSS or Tablestore, take note of the following points:
  • If MaxCompute and Tablestore or OSS are deployed in the same region, all the preceding connection modes are supported. We recommend that you use the classic network or VPC for better performance.
  • If MaxCompute and Tablestore or OSS are not deployed in the same region, we recommend that you use the Internet. If you use the classic network or VPC, connectivity issues may occur.

Billing rules

The following table describes the billing rules for the MaxCompute service and Tunnel service.

Service typeBilling rule
MaxCompute serviceYou are charged for data computing when you develop different types of jobs or run SQL jobs to read data from and write data to data sources by using external tables. The billing rules vary based on the billing method that you select when you create a MaxCompute project. For more information, see Computing pricing.
Tunnel serviceYou are not charged when you use the Tunnel service to upload data.
When you use the Tunnel service to download data from cloud data sources or on-premises data sources in a region, the following billing rules apply:
  • If your Elastic Compute Service (ECS) instance and MaxCompute project are in the same region, you can download data over the classic network or a VPC free of charge.
  • If your ECS instance and MaxCompute project are not in the same region or if the two are in the same region but your ECS instance cannot access MaxCompute, you are charged when you download data across regions over the Internet. For more information about the billing rules, see Download pricing (pay-as-you-go).
    Note The deployment and network connection mode of the Tunnel service may vary based on regions. Therefore, permanent connectivity for the Tunnel service cannot be guaranteed if you use the classic network or VPC for cross-region access.

Endpoints in different regions (Internet)

Note HTTP and HTTPS endpoints are supported. If you want to encrypt requests, use HTTPS endpoints.
DistrictRegionMaxCompute available or notPublic endpointPublic Tunnel endpoint
ChinaChina (Hangzhou)Yeshttp://service.cn-hangzhou.maxcompute.aliyun.com/apihttp://dt.cn-hangzhou.maxcompute.aliyun.com
ChinaChina (Shanghai)Yeshttp://service.cn-shanghai.maxcompute.aliyun.com/apihttp://dt.cn-shanghai.maxcompute.aliyun.com
ChinaChina (Beijing)Yeshttp://service.cn-beijing.maxcompute.aliyun.com/apihttp://dt.cn-beijing.maxcompute.aliyun.com
ChinaChina (Shenzhen)Yeshttp://service.cn-shenzhen.maxcompute.aliyun.com/apihttp://dt.cn-shenzhen.maxcompute.aliyun.com
ChinaChina (Hong Kong)Yeshttp://service.cn-hongkong.maxcompute.aliyun.com/apihttp://dt.cn-hongkong.maxcompute.aliyun.com
Asia PacificSingaporeYeshttp://service.ap-southeast-1.maxcompute.aliyun.com/apihttp://dt.ap-southeast-1.maxcompute.aliyun.com
Asia PacificAustralia (Sydney)Yeshttp://service.ap-southeast-2.maxcompute.aliyun.com/apihttp://dt.ap-southeast-2.maxcompute.aliyun.com
Asia PacificMalaysia (Kuala Lumpur)Yeshttp://service.ap-southeast-3.maxcompute.aliyun.com/apihttp://dt.ap-southeast-3.maxcompute.aliyun.com
Asia PacificIndonesia (Jakarta)Yeshttp://service.ap-southeast-5.maxcompute.aliyun.com/apihttp://dt.ap-southeast-5.maxcompute.aliyun.com
Asia PacificJapan (Tokyo)Yeshttp://service.ap-northeast-1.maxcompute.aliyun.com/apihttp://dt.ap-northeast-1.maxcompute.aliyun.com
Europe & AmericasGermany (Frankfurt)Yeshttp://service.eu-central-1.maxcompute.aliyun.com/apihttp://dt.eu-central-1.maxcompute.aliyun.com
Europe & AmericasUS (Silicon Valley)Yeshttp://service.us-west-1.maxcompute.aliyun.com/apihttp://dt.us-west-1.maxcompute.aliyun.com
Europe & AmericasUS (Virginia)Yeshttp://service.us-east-1.maxcompute.aliyun.com/apihttp://dt.us-east-1.maxcompute.aliyun.com
Europe & AmericasUK (London)Yeshttp://service.eu-west-1.maxcompute.aliyun.com/apihttp://dt.eu-west-1.maxcompute.aliyun.com
Middle East & IndiaIndia (Mumbai)Yeshttp://service.ap-south-1.maxcompute.aliyun.com/apihttp://dt.ap-south-1.maxcompute.aliyun.com
Middle East & IndiaUAE (Dubai)Yeshttp://service.me-east-1.maxcompute.aliyun.com/apihttp://dt.me-east-1.maxcompute.aliyun.com

Endpoints in different regions (classic network)

Note HTTP and HTTPS endpoints are supported. If you want to encrypt requests, use HTTPS endpoints.
DistrictRegionMaxCompute available or notClassic network endpointClassic network Tunnel endpoint
ChinaChina (Hangzhou)Availablehttp://service.cn-hangzhou.maxcompute.aliyun-inc.com/apihttp://dt.cn-hangzhou.maxcompute.aliyun-inc.com
ChinaChina (Shanghai)Yeshttp://service.cn-shanghai.maxcompute.aliyun-inc.com/apihttp://dt.cn-shanghai.maxcompute.aliyun-inc.com
ChinaChina (Beijing)Yeshttp://service.cn-beijing.maxcompute.aliyun-inc.com/apihttp://dt.cn-beijing.maxcompute.aliyun-inc.com
ChinaChina (Shenzhen)Yeshttp://service.cn-shenzhen.maxcompute.aliyun-inc.com/apihttp://dt.cn-shenzhen.maxcompute.aliyun-inc.com
ChinaChina (Hong Kong)Yeshttp://service.cn-hongkong.maxcompute.aliyun-inc.com/apihttp://dt.cn-hongkong.maxcompute.aliyun-inc.com
Asia PacificSingapore (Singapore)Yeshttp://service.ap-southeast-1.maxcompute.aliyun-inc.com/apihttp://dt.ap-southeast-1.maxcompute.aliyun-inc.com
Asia PacificAustralia (Sydney)Yeshttp://service.ap-southeast-2.maxcompute.aliyun-inc.com/apihttp://dt.ap-southeast-2.maxcompute.aliyun-inc.com
Asia PacificMalaysia (Kuala Lumpur)Yeshttp://service.ap-southeast-3.maxcompute.aliyun-inc.com/apihttp://dt.ap-southeast-3.maxcompute.aliyun-inc.com
Asia PacificIndonesia (Jakarta)Yeshttp://service.ap-southeast-5.maxcompute.aliyun-inc.com/apihttp://dt.ap-southeast-5.maxcompute.aliyun-inc.com
Asia PacificJapan (Tokyo)Yeshttp://service.ap-northeast-1.maxcompute.aliyun-inc.com/apihttp://dt.ap-northeast-1.maxcompute.aliyun-inc.com
Europe & AmericasGermany (Frankfurt)Yeshttp://service.eu-central-1.maxcompute.aliyun-inc.com/apihttp://dt.eu-central-1.maxcompute.aliyun-inc.com
Europe & AmericasUS (Silicon Valley)Yeshttp://service.us-west-1.maxcompute.aliyun-inc.com/apihttp://dt.us-west-1.maxcompute.aliyun-inc.com
Europe & AmericasUS (Virginia)Yeshttp://service.us-east-1.maxcompute.aliyun-inc.com/apihttp://dt.us-east-1.maxcompute.aliyun-inc.com
Europe & AmericasUK (London)Yeshttp://service.eu-west-1.maxcompute.aliyun-inc.com/apihttp://dt.eu-west-1.maxcompute.aliyun-inc.com
Middle East & IndiaIndia (Mumbai)Yeshttp://service.ap-south-1.maxcompute.aliyun-inc.com/apihttp://dt.ap-south-1.maxcompute.aliyun-inc.com
Middle East & IndiaUAE (Dubai)Yeshttp://service.me-east-1.maxcompute.aliyun-inc.com/apihttp://dt.me-east-1.maxcompute.aliyun-inc.com

Endpoints in different regions (VPC)

Note HTTP and HTTPS endpoints are supported. If you want to encrypt requests, use HTTPS endpoints.
DistrictRegionMaxCompute available or notVPC endpointVPC Tunnel endpoint
ChinaChina (Hangzhou)Yeshttp://service.cn-hangzhou.maxcompute.aliyun-inc.com/apihttp://dt.cn-hangzhou.maxcompute.aliyun-inc.com
ChinaChina East 2 FinanceYeshttp://service.cn-shanghai-finance-1.maxcompute.aliyun-inc.com/apihttp://dt.cn-shanghai-finance-1.maxcompute.aliyun-inc.com
ChinaChina (Beijing)Yeshttp://service.cn-beijing.maxcompute.aliyun-inc.com/apihttp://dt.cn-beijing.maxcompute.aliyun-inc.com
ChinaChina (Shenzhen)Yeshttp://service.cn-shenzhen.maxcompute.aliyun-inc.com/apihttp://dt.cn-shenzhen.maxcompute.aliyun-inc.com
ChinaChina (Hong Kong)Yeshttp://service.cn-hongkong.maxcompute.aliyun-inc.com/apihttp://dt.cn-hongkong.maxcompute.aliyun-inc.com
Asia PacificSingapore (Singapore)Yeshttp://service.ap-southeast-1.maxcompute.aliyun-inc.com/apihttp://dt.ap-southeast-1.maxcompute.aliyun-inc.com
Asia PacificAustralia (Sydney)Yeshttp://service.ap-southeast-2.maxcompute.aliyun-inc.com/apihttp://dt.ap-southeast-2.maxcompute.aliyun-inc.com
Asia PacificMalaysia (Kuala Lumpur)Yeshttp://service.ap-southeast-3.maxcompute.aliyun-inc.com/apihttp://dt.ap-southeast-3.maxcompute.aliyun-inc.com
Asia PacificIndonesia (Jakarta)Yeshttp://service.ap-southeast-5.maxcompute.aliyun-inc.com/apihttp://dt.ap-southeast-5.maxcompute.aliyun-inc.com
Asia PacificJapan (Tokyo)Yeshttp://service.ap-northeast-1.maxcompute.aliyun-inc.com/apihttp://dt.ap-northeast-1.maxcompute.aliyun-inc.com
Europe & AmericasGermany (Frankfurt)Yeshttp://service.eu-central-1.maxcompute.aliyun-inc.com/apihttp://dt.eu-central-1.maxcompute.aliyun-inc.com
Europe & AmericasUS (Silicon Valley)Yeshttp://service.us-west-1.maxcompute.aliyun-inc.com/apihttp://dt.us-west-1.maxcompute.aliyun-inc.com
Europe & AmericasUS (Virginia)Yeshttp://service.us-east-1.maxcompute.aliyun-inc.com/apihttp://dt.us-east-1.maxcompute.aliyun-inc.com
Europe & AmericasUK (London)Yeshttp://service.eu-west-1.maxcompute.aliyun-inc.com/apihttp://dt.eu-west-1.maxcompute.aliyun-inc.com
Middle East & IndiaIndia (Mumbai)Yeshttp://service.ap-south-1.maxcompute.aliyun-inc.com/apihttp://dt.ap-south-1.maxcompute.aliyun-inc.com
Middle East & IndiaUAE (Dubai)Yeshttp://service.me-east-1.maxcompute.aliyun-inc.com/apihttp://dt.me-east-1.maxcompute.aliyun-inc.com