The pay-as-you-go billing method is ideal for short-term or temporary workloads, while the subscription billing method is better suited for long-term or stable workloads. When your needs change, MaxCompute lets you switch between these two billing methods to save costs. A quota represents a block of computing resources in MaxCompute, which are measured in compute units (CUs). A project's billing method is determined by its default compute quota. To switch a project's billing method, you change its default compute quota.
Prerequisites
You have activated the MaxCompute pay-as-you-go and subscription offerings.
Billing method conversion
The difference between the pay-as-you-go and subscription offerings is how computing resources are billed and run. Storage and download are billed the same way for both.
Computing jobs in a subscription project use only purchased subscription computing resources. Subscription computing resources are dedicated resources, whereas pay-as-you-go resources are shared resources.
The following tables describe the supported conversion scenarios.
|
Conversion scenario |
Description |
Effective period |
|
Switch from pay-as-you-go to subscription |
Supported. You must purchase MaxCompute CUs in advance. You can switch the billing method of a project only within the same region. To purchase CUs, click Subscription. |
The change typically takes effect immediately. However, for jobs that are already running, the switch takes effect on their next run. |
|
Switch from subscription to pay-as-you-go |
Supported. Paid subscription fees are non-refundable. You can create other projects to use the purchased CUs because they can be shared across multiple projects. |
-
Avoid frequently switching billing methods, as this can affect the runtime of your computing jobs.
-
If you want to specify a compute quota only for specific jobs in a project, see Specify a quota at the job level.
Console procedure
A project's billing method is determined by its default compute quota. To switch the billing method, change this quota for the project.
-
Before you change the default compute quota of a project, make sure that you have purchased the required computing resources for the new billing method. To purchase computing resources, click Purchase Computing Resources.
-
In the new console, you can independently configure the
default compute quotafor each project.
-
Log on to the MaxCompute console and select a region in the upper-left corner.
-
In the left-side navigation pane, click Projects.
-
On the Projects page, find the target project and click Manage in the Actions column.
-
On the Parameter Configuration tab, click Edit next to Basic Information.
-
From the Default Compute Quota drop-down list, select the desired quota.
Related documents
-
After purchasing CUs for a subscription, go to the Quota Management page of the MaxCompute console to configure quota plans. This helps you plan resources effectively and improve utilization. For more information, see Manage quotas for computing resources.
-
For resource planning examples, see Resource isolation for subscription resources or Best practices for elastically reserved CUs.