MaxCompute data source

Updated at:

Connect MaxCompute to Lindorm Tunnel Service (LTS) to ingest data from your MaxCompute project into an ApsaraDB for HBase cluster.

Prerequisites

Before you begin, ensure that you have:

  • An ApsaraDB for HBase cluster

  • A MaxCompute project, and the region where the project resides

  • An AccessKey pair (AccessKey ID and AccessKey secret) with access to the MaxCompute project

Important

The AccessKey secret of a RAM user is displayed only after you click Create AccessKey. You cannot query the AccessKey secret in subsequent operations. This helps reduce the risks of AccessKey pair leaks. We recommend that you create a new AccessKey pair and record the AccessKey pair. To create an AccessKey pair, see Create an AccessKey pair.

Add a MaxCompute data source in LTS

  1. Log on to the Lindorm Tunnel Service (LTS) console.

  2. In the left-side navigation pane, choose Data source management > Add data source.

  3. 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 the connection details. See step 4.
  4. In the Parameters field, enter the following JSON and replace each placeholder with your actual value.

    {
      "accessId": "<your-access-key-id>",
      "accessKey": "<your-access-key-secret>",
      "endPoint": "<maxcompute-endpoint>",
      "project": "<your-maxcompute-project>",
      "tunnelEndPoint": "<tunnel-endpoint>"
    }
    Parameter Description How to get the value
    accessId Your AccessKey ID RAM console > AccessKey management
    accessKey Your AccessKey secret Displayed once when you create the AccessKey
    endPoint The MaxCompute service endpoint See VPC endpoints by region
    project The name of your MaxCompute project MaxCompute console > Project management
    tunnelEndPoint The Tunnel service endpoint See VPC endpoints by region
    Note

    Both endPoint and tunnelEndPoint must match the region where your MaxCompute project resides.

  5. Click OK to save the data source.

VPC endpoints by region

Use the virtual private cloud (VPC) endpoints for the region where your MaxCompute project resides. To find the region, go to the MaxCompute console and check the project details.

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