Add a MaxCompute (ODPS) project as a data source in the Lindorm Tunnel Service (LTS) console. LTS uses two VPC endpoints to connect to MaxCompute: the MaxCompute endpoint for queries and API calls, and the Tunnel endpoint for bulk data transfer. Both endpoints vary by region.
Prerequisites
Before you begin, ensure that you have:
An AccessKey ID and AccessKey secret with access to your MaxCompute project
The name of your MaxCompute project
The MaxCompute and Tunnel endpoints for the region where your MaxCompute project resides (see Endpoints by region)
The AccessKey secret is displayed only once, immediately after you click Create AccessKey. Record it before closing the dialog. To create an AccessKey pair, see Create an AccessKey pair.
Add a MaxCompute data source
Log on to the Lindorm Tunnel Service (LTS) console.
In the left-side navigation pane, choose Data source management > Add data source.
On the Add data source page, configure the following parameters.
Parameter Description Name The name of the ApsaraDB for HBase cluster to which you want to add the data source. The name can contain only digits and letters. Data Source Type Select MaxCompute. Parameters A JSON object containing your MaxCompute connection details. See step 4. In the Parameters field, enter the connection details as a JSON object. Replace each placeholder with the value for your MaxCompute project.
{ "accessId": "<your-access-key-id>", "accessKey": "<your-access-key-secret>", "endPoint": "<maxcompute-vpc-endpoint>", "project": "<your-project-name>", "tunnelEndPoint": "<tunnel-vpc-endpoint>" }Key Description Where to get it Example accessIdYour AccessKey ID RAM console LTAI5tXxxaccessKeyYour AccessKey secret RAM console, at creation time only xXxXxXxendPointThe VPC endpoint of MaxCompute for your region. Used for queries and API calls. Endpoints by region http://service.cn-shanghai.maxcompute.aliyun-inc.com/apiprojectThe name of your MaxCompute project MaxCompute console my_projecttunnelEndPointThe VPC Tunnel endpoint for your region. Used for bulk data transfer. Endpoints by region http://dt.cn-shanghai.maxcompute.aliyun-inc.com
Endpoints by region
Use the VPC endpoints that match the region where your MaxCompute project resides.
| Region | MaxCompute endpoint | Tunnel endpoint |
|---|---|---|
| China (Hangzhou) | http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api | http://dt.cn-hangzhou.maxcompute.aliyun-inc.com |
| China (Shanghai) | http://service.cn-shanghai.maxcompute.aliyun-inc.com/api | http://dt.cn-shanghai.maxcompute.aliyun-inc.com |
| China (Beijing) | http://service.cn-beijing.maxcompute.aliyun-inc.com/api | http://dt.cn-beijing.maxcompute.aliyun-inc.com |
| China (Zhangjiakou) | http://service.cn-zhangjiakou.maxcompute.aliyun-inc.com/api | http://dt.cn-zhangjiakou.maxcompute.aliyun-inc.com |
| China (Shenzhen) | http://service.cn-shenzhen.maxcompute.aliyun-inc.com/api | http://dt.cn-shenzhen.maxcompute.aliyun-inc.com |
| China (Chengdu) | http://service.cn-chengdu.maxcompute.aliyun-inc.com/api | http://dt.cn-chengdu.maxcompute.aliyun-inc.com |
| China (Hong Kong) | http://service.cn-hongkong.maxcompute.aliyun-inc.com/api | http://dt.cn-hongkong.maxcompute.aliyun-inc.com |
| Singapore | http://service.ap-southeast-1.maxcompute.aliyun-inc.com/api | http://dt.ap-southeast-1.maxcompute.aliyun-inc.com |
| Australia (Sydney) Closing Down | http://service.ap-southeast-2.maxcompute.aliyun-inc.com/api | http://dt.ap-southeast-2.maxcompute.aliyun-inc.com |
| Malaysia (Kuala Lumpur) | http://service.ap-southeast-3.maxcompute.aliyun-inc.com/api | http://dt.ap-southeast-3.maxcompute.aliyun-inc.com |
| UAE (Dubai) | http://service.me-east-1.maxcompute.aliyun-inc.com/api | http://dt.me-east-1.maxcompute.aliyun-inc.com |
| UK (London) | http://service.uk-all.maxcompute.aliyun-inc.com/api | http://dt.uk-all.maxcompute.aliyun-inc.com |