Create a MaxCompute project
Projects are the basic organizational units of MaxCompute and the primary boundaries for multi-user isolation and access control. After MaxCompute is activated, all operations must be performed within projects. This topic describes how to create a MaxCompute project.
Project creation methods
Method 1 (recommended): Create a project in the MaxCompute console.
Method 2: Create a MaxCompute project in the DataWorks console.
Method 3: Create a MaxCompute project by calling an OpenAPI operation.
Create a project in the MaxCompute console
You have activated the MaxCompute service with your Alibaba Cloud account or RAM user.
Permissions must be granted when a RAM user creates a project. This step can be skipped when an Alibaba Cloud account creates the project.
To create a MaxCompute project as a RAM user, make sure that the RAM user account is available and that the Alibaba Cloud account has granted the following permissions:
Permissions to manage MaxCompute:
AliyunMaxComputeFullAccessPermissions to manage Data Lake Formation OpenAPI operations and console pages:
AliyunDLFFullAccess
For information about granting permissions, see Manage RAM user permissions.
Log in to the MaxCompute console and select a region in the upper-left corner.
In the left-side navigation pane, choose .
In the Create Project dialog box, configure the project information as prompted and click OK.
The parameters are described in the following table:
Parameter
Required
Description
Project Type
Yes
Automatically generated by the system.
Region
Yes
Auto-populated based on the region selected in the upper-left corner.
Project Name (Globally Unique)
Yes
Globally unique and immutable after creation.
Must start with a letter, contain only letters, digits, and underscores (_), and be 3–28 characters long.
Project names are unique across all of Alibaba Cloud, regardless of account or entity. If project creation fails with an error indicating that the project name already exists, but no project with that name can be found under the current account, the name is already in use by another Alibaba Cloud account. Choose a different name.
If the conflicting project is one that was previously deleted under the same account and the error persists, the project may still be in its deletion grace period. Large projects can take 7 to 30 days to be fully released. Wait for the release to complete and retry, or choose a different name.
Description
No
A custom description of the project.
Billing Method
Yes
Subscription: Suitable for long-running, stable workloads. Provides guaranteed compute resources and prevents uncertainty caused by resource preemption.
Pay-as-you-go: Flexible billing based on actual usage for short-term or test workloads.
Default Quota
Yes
Set the default quota. All compute jobs for which no quota is explicitly specified use the default quota.
Max Resources Consumed by An SQL Statement
No
Set the maximum cost threshold for a single SQL query.
Setting this threshold is recommended for Pay-as-you-go billing to avoid unexpectedly high costs for a single SQL query.
Data Type Edition
Yes
Data type version 1.0: For legacy projects whose dependencies do not support data type version 2.0.
Data type version 2.0: For projects that had no historical data before April 2020 and whose dependencies support data type version 2.0.
Hive-compatible data type edition: For projects migrated from Hadoop and whose dependencies support data type version 2.0.
Storage Type
Yes
Multi-zone Storage: Redundant storage across multiple availability zones in the same region.
Single-zone Storage: Redundant storage on multiple storage devices within a single availability zone.
For storage specifications and pricing details, see Storage fees.
AutoMV
Yes
AutoMV automatically creates materialized views based on query patterns and performance to improve computing efficiency and reduce repeated computations. For more information, see Automatic Materialized View (AutoMV).
Maximum Storage for AutoMV
No
Set the maximum storage available to AutoMV. When this limit is exceeded, AutoMV stops writing to existing materialized views. For more information, see Configure the AutoMV switch and storage limit.
Storage Encryption
Yes
Specifies whether to encrypt the MaxCompute project.
Key
Yes
MaxCompute Default Key
Algorithm
Yes
AESCTR
AES256
RC4
For detailed information about the parameters, see Appendix: Project configuration parameters.
Create a MaxCompute project in the DataWorks console
DataWorks is Alibaba Cloud's one-stop platform for big data development and governance. It supports MaxCompute job development, periodic scheduling, job operations and maintenance, and data governance.
Your Alibaba Cloud account or RAM user has activated both MaxCompute and DataWorks in the same region.
Permissions must be granted when a RAM user creates a project. This step can be skipped when an Alibaba Cloud account creates the project.
To create a MaxCompute project as a RAM user, make sure that the RAM user account is available and that the Alibaba Cloud account has granted the following permissions:
Permissions to manage MaxCompute:
AliyunMaxComputeFullAccessPermissions to manage DataWorks:
AliyunDataWorksFullAccessPermissions to manage Data Lake Formation OpenAPI operations and console pages:
AliyunDLFFullAccess
For information about granting permissions, see Manage RAM user permissions.
Create a DataWorks workspace by following the quick-start steps below. For more information, see Create a workspace.
-
Go to the DataWorks workspace list. Ensure that the correct region is selected at the top of the page (the region cannot be changed after the workspace is created), and click Create Workspace.
-
On the creation page, configure the following key parameters:
-
Workspace Name: Enter a unique name that complies with the team's naming conventions.
-
Isolate Development and Production Environments: Enable this option. This creates a workspace in standard mode, isolating the development and production environments.
-
Use Data Studio (New Version): Enable this option. Using the new version of Data Studio is recommended.
If this option is not visible, the new version of Data Studio is usually enabled by default. If the page prompts for authorization of a PAI service-linked role or other actions, follow the on-screen instructions before proceeding.
-
-
Click Create Workspace.
-
Associate a MaxCompute compute resource by following the quick-start steps below. For more information, see Attach a computing resource.
Log on to the DataWorks console and select a region in the upper-left corner.
On the Associate MaxCompute Computing Resource page, configure the parameters. For the MaxCompute Project parameter, select an existing project or click Create.
In the Create Project dialog box, configure the project information as prompted and click OK.
The project parameters are the same as those in step 5 of Create a project in the MaxCompute console.
Project permissions
Projects can be created by Alibaba Cloud accounts or RAM users. The corresponding permissions are as follows:
When an Alibaba Cloud account creates a MaxCompute project, the account has permissions to operate on all objects in the project. No other user can access the project without authorization.
For projects created by a RAM user:
Both the RAM user and the parent Alibaba Cloud account have permissions to operate on all objects in the project. No other user can access the project without authorization.
MaxCompute automatically grants the RAM user the
Super_Administratorrole in the created project.
Related documentation
For information about setting up a development environment for a MaxCompute project and installing the corresponding tools, see Select a connection tool.
To delete an existing MaxCompute project, see Delete MaxCompute tables and projects.
To allow other RAM users to assist with development, add them as project members and assign roles. For more information, see Grant permissions to other users.
For the permission differences between Alibaba Cloud accounts and RAM users, see Users and permissions.