All Products
Search
Document Center

MaxCompute:Purchase and use an exclusive resource group for Data Transmission Service

Last Updated:Dec 02, 2025

In MaxCompute, you can use an exclusive resource group for Data Transmission Service to transfer large amounts of data with high stability and low latency. These exclusive resource groups provide faster data transfer speeds and improved network conditions to reduce transfer time and increase efficiency. This topic describes how to purchase and use this type of resource.

Background

MaxCompute offers a complimentary public data transmission service resource group in each region for customer use, along with a subscription-based exclusive data transmission service resource group for enhanced data synchronization stability and concurrency. The following table shows a comparison of these two resource group types:

Resource group type

Fee description

Supported regions

Usage notes

Public data transmission service resource group

Free of charge

Available in all MaxCompute regions

  • Resources are limited.

    Due to design constraints, the public resource group does not guarantee resource availability for each tenant, potentially leading to job submission failures during peak times.

  • The maximum usable concurrency is limited.

    To maintain stable service, the public resource group imposes a maximum concurrency limit, which varies by region.

Exclusive data transmission service resource group (subscription)

Subscription, billed based on the number of concurrency purchased slots. For more information, see Exclusive data transmission service resource group pricing.

  • China (Hangzhou)

  • China (Beijing)

  • China (Shanghai)

  • China (Shenzhen)

  • China (Hong Kong)

  • Singapore

  • Indonesia (Jakarta)

  • US (Virginia)

After purchasing the exclusive data transmission service resource group, MaxCompute ensures that your purchased resources are fully locked for your use only, and other tenants are not able to use them. This guarantees the exclusivity of your data transfer resources and also enhances the stability of data transmission.

Usage notes

Before you purchase and use an exclusive resource group for Data Transmission Service, ensure that your network and region meet the following requirements:

  • Network limits: Only access over a VPC network is supported. Access over the public internet is not supported.

  • Region limits: Only data transmission within the same region is supported. Cross-region data transmission is not supported. You must purchase a resource group in the same region where your data transmission task runs.

  • For other limits, see Limits on Data Transmission Service.

Purchase an exclusive resource group for Data Transmission Service

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

  2. In the navigation pane on the left, choose Manage Configurations > Quotas.

  3. On the Quotas page, click New Quota.

    On the Purchase page, for Specification Type, select Tunnel.

    Configure the Tunnel Concurrency parameter as required.

  4. After you complete the purchase, return to the console. On the Quotas page, a quota group with the Quota Type set to Data Transmission Service is displayed. You can upgrade, downgrade, or renew this quota group. For more information, see Upgrade and downgrade.

Use an exclusive resource group for Data Transmission Service

When you run data transmission or data integration jobs, you can specify an exclusive resource group for Data Transmission Service based on your business needs to improve data processing efficiency.

  1. Access your MaxCompute project using the MaxCompute client (odpscmd) or another connection tool, and then enable the exclusive resource group for Data Transmission Service.

     setproject odps.tunnel.enable.quota.route.v2=true;
    Note

    Ensure that your MaxCompute software development kit (SDK) is version 0.45 or later.

  2. Grant the permissions to use the quota feature to all required accounts and roles, including Alibaba Cloud accounts.

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

    2. In the navigation pane on the left, choose Manage Configurations > Tenants .

    3. In the navigation pane on the left, choose Manage Configurations > Tenants .

    4. On the Roles tab, click Add Role. In the Add Role dialog box, enter a custom Role Name and Policy Content, and then click OK.

      Configure the Policy Content as follows:

      {
          "Statement": [{
                  "Action": [
                      "odps:List",
                      "odps:Usage"],
                  "Effect": "Allow",
                  "Resource": ["acs:odps:*:regions/*/quotas/*"]}],
          "Version": "1"
      }
    5. Grant the role to the accounts that need to specify quotas at the job level.

      1. Grant permissions to an Alibaba Cloud account.

        -- Add an Alibaba Cloud account to the tenant and grant a role to the account.
        ADD tenant USER <Aliyun$xxxx>;
        GRANT tenant role <role_name> TO USER <Aliyun$xxxx>;
        
        -- View the permissions of a role or user in the tenant.
        SHOW grants FOR tenant role <role_name>;
        SHOW grants FOR tenant USER <user_name>;
        SHOW principals FOR tenant [role] <role_name>;
      2. Grant permissions to a Resource Access Management (RAM) user.

        On the Tenants page, click the Users tab.

        On the Users tab, click Add Member. In the Add Member dialog box, select or manually add the accounts for which you want to set roles. In the Batch Set Roles area, select the roles to assign to these accounts, click image, and then click OK.

  3. Manually specify the quota group in the SDK for the Data Transmission Service task.

    -- Use the resource group named XXX for Data Transmission Service.
    final TableTunnel tunnel = new TableTunnel(odps);
    tunnel.getConfig().setQuotaName("xxx");
    TableTunnel.UploadSession up = tunnel.createUploadSession(projectName, tableName);
    
    -- You can obtain the resource group that is actually used by the session.
    up.getQuotaName();

    In the navigation pane on the left, choose Manage Configurations > Quotas.

    In the navigation pane on the left, choose Manage Configurations > Quotas.

    You can view and copy the QuotaName. For example: ot_42854300324****_169821756****_p#ot_42854300324****_169821756****.

View resource group metrics

On the Quotas page, find the target quota and click Configure Resources in the Actions column.

You can view the usage of the current subscription-based exclusive resource group for Data Transmission Service.

Metric

Description

Request Parallelism

Shows a curve graph of slot usage based on the filter conditions. It includes the current usage and the quota usage limit. The unit is Slot.

Throughput

Shows a curve graph of throughput based on the filter conditions. The unit is displayed on the vertical axis, such as B/min or MB/min.

Table-level Request Parallelism

Shows a curve graph of the concurrency for data uploaded to the testtable table using Tunnel Batch, based on the filter conditions. The unit is Slot.

You can set Usage Type (for example, Tunnel Batch upload) and Table Name (for example, testtable) as filter conditions.

Table-level IP Throughput

Shows a curve graph of the throughput from each source IP for data uploaded to the testtable table using Tunnel Batch, based on the filter conditions.

You can set Usage Type (for example, Tunnel Batch upload) and Table Name (for example, testtable) as filter conditions.

Total Requests and Error Requests

Shows the total number of requests and the number of various failed requests based on the filter conditions. Among them:

  • Total requests: The sum of all successful and failed requests.

  • Failed requests: All requests with a status code of 4xx or 5xx. For more information about the status codes, see Data Transmission Service overview.

Total Throughput

Shows a summary of the data volume for different usage types within the specified time range based on the filter conditions. A pie chart shows the proportion of each usage type.

Slot Average Transfer Rate

Shows the average transfer rate of a single slot for requests that use Tunnel Batch upload, based on the filter conditions.

You can set Usage Type (for example, Tunnel Batch upload) as a filter condition.

Resource group configuration

Important

The feature for configuring resource groups in the MaxCompute console is scheduled to be discontinued on September 30, 2024 (UTC+8). To prevent your resource group configurations from becoming invalid after this date, you must restore the default configurations. Set the Data Transmission Service resource group to default. Then, reconfigure the resource group by following the instructions in Use an exclusive resource group for Data Transmission Service.

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

  2. In the navigation pane on the left, choose Manage Configurations > Projects.

  3. On the Projects page, find the target project and click Manage in the Actions column.

    The Basic Properties section displays the Data Transmission Service configuration for the current project. The parameters are described as follows:

    Parameter

    Description

    Default Tunnel Quota

    The default Data Transmission Service resource group that the project uses for read and write operations when no specific resource group quota is designated.

    The value is usually Default, which indicates the public Data Transmission Service resource group. You cannot change this parameter in the console.

    Default Tunnel Quota

    Authorizes all users and roles to use the configured dedicated resource group to perform data read and write tasks for the project. Therefore, you can specify the configured dedicated resource group quota in the SDK for data read and write tasks without manual authorization.

    A project can be configured with only one dedicated resource group.

    Overlay Tunnel Quota

    An enhanced feature for dedicated Data Transmission Service resource groups that lets you use a dedicated resource group and the Default resource group together.

    After you configure a purchased dedicated resource group, the maximum concurrency for the project increases to the sum of the resources from the public Data Transmission Service resource group and the dedicated resource group.

    This feature is available only in some regions. Availability is subject to what is displayed on the console.

    • A project can be associated with only one exclusive resource group, but multiple projects can use the same exclusive resource group. When you use the overlay feature, you must specify Default for the quota group.

    • To use the open storage API operations, you must still specify an exclusive resource group. The QuotaName format is ot_42854300324****_169821756****_p#ot_42854300324****_169821756***.

  4. In the Basic Properties section, click Edit to modify the configurations.