Purchase and configure MaxCompute resource quotas for large-scale distributed training tasks.
Overview
MaxCompute is a cloud data warehouse with serverless architecture for fast, fully managed analysis of massive datasets. For more information, see Overview of MaxCompute resources.
Resource types
PAI supports MaxCompute CPU resources with two billing methods:
-
Pay-as-you-go Standard Edition (recommended)
-
Subscription standard compute resources
Key differences between resource types:
MaxCompute billable items include computing resources, storage resources, and data transfer. PAI training tasks typically do not incur data transfer charges.
For pay-as-you-go billing, PAI generates bills for algorithm tasks, while MaxCompute generates bills for other tasks (such as SQL).
|
Item |
Pay-as-you-go Standard Edition (recommended) |
Subscription standard compute resources |
|
Computing resources |
Shared pool. Jobs preempt resources on demand without usage limits. |
Reserved resources (exclusive) and optional non-reserved resources. |
|
Storage resources |
Shared pool. Data stored on demand without usage limits. |
Shared pool. Data stored on demand without usage limits. |
|
Billing - computing resources |
||
|
Billing - storage resources |
None |
|
|
Use cases |
Projects with fluctuating job volumes requiring flexible storage. |
Online projects running stably. |
Prerequisites
-
Alibaba Cloud account (recommended): All operations available without additional authorization.
-
RAM user:
-
To enable and purchase MaxCompute resources, grant
AliyunBSSOrderAccessandAliyunDataWorksFullAccesspermissions to the RAM user. For more information, see Prepare a RAM user. -
To associate MaxCompute resources with a workspace, assign the administrator role to the RAM user in the workspace. For more information, see Manage members.
-
To use MaxCompute resources for model training in Designer, assign the MaxCompute developer role to the RAM user in the workspace. For more information, see Manage members.
-
Purchase resources
Go to the MaxCompute purchase page to enable and purchase resources.
Management
Associate an enabled resource with a workspace to make it available for tasks. Go to Resource Management in MaxCompute console to plan and manage resources.
-
Associate resource with workspace
When creating a workspace, associate it with a resource and specify the project name. For more information, see Create and manage a workspace. Training tasks in the workspace use the associated resource.

To modify the associated resource after workspace creation, see Manage a workspace - Configure compute resources.
-
View and manage resources
Log on to the PAI console. On , view available resources in the current region.

-
View compute unit (CU) quota and billing method (subscription or pay-as-you-go) for the current resource.
-
Subscription quotas control budget by managing CU count. Pay-as-you-go quotas have no CU control. Click Resource Management to plan quotas for subscription resources. For more information, see Compute resources - Quota management.
-