To manage and process data in MaxCompute, you need to isolate resources, control user access, and organize your work. Creating a project is the essential first step that provides this structure. A project serves as a dedicated workspace for your data, compute tasks, and security settings, enabling secure multi-user collaboration and resource management.
Project creation methods
Method 1 (recommended): Create a project in the MaxCompute console.
Method 2: Create a MaxCompute project in the DataWorks console.
Create a project in the MaxCompute console
You have activated the MaxCompute service with your Alibaba Cloud account or RAM user.
[This step is only for RAM users. If you are using an Alibaba Cloud account, skip to step 3.]
As a RAM user, you must have your credentials and the following permissions granted by your root Alibaba Cloud account:
AliyunMaxComputeFullAccess: Grants full permissions to manage MaxCompute.AliyunDLFFullAccess: Grants permissions to manage Data Lake Formation APIs and console pages.
For more information about how to grant permissions, see Grant permissions to a RAM user.
Log on to the MaxCompute console and select a region in the top-left corner.
In the navigation pane on the left, choose .
In the Create Project dialog box, configure the project parameters and click OK.
The following table describes the parameters.
Parameter
Required
Description
Project Type
Required
This is automatically generated by the system.
Region
Required
The system automatically specifies this parameter based on the region you selected in the upper-left corner.
Project Name (Globally Unique)
Required
The name must be globally unique and cannot be changed after the project is created.
The name must start with a letter and can contain letters, digits, and underscores (_). The name must be 3 to 28 characters in length.
Description
Optional
A custom description of the project.
Billing Method
Required
Subscription: This billing method is suitable for services that run for a long period of time. It provides guaranteed compute resources and prevents uncertainty caused by resource preemption.
Pay-as-you-go: This billing method is suitable for short-term or testing services. It allows for flexible billing based on actual usage.
Default Quota
Required
Set the Default Quota. All compute jobs for which no quota is specified use the Default Quota.
Max Resources Consumed by An SQL Statement
Optional
Set the maximum cost threshold for a single SQL query.
Set this parameter if you select the Pay-as-you-go billing method to prevent unexpectedly high costs for a single SQL query.
Data Type Edition
Required
Data type 1.0: This data type is for MaxCompute projects that were created in early stages and whose dependent product components do not support data type 2.0.
Data type 2.0: This data type is for MaxCompute projects that had no historical data before April 2020 and whose dependent product components support data type 2.0.
Hive-compatible: This data type is for MaxCompute projects that are migrated from Hadoop and whose dependent product components support data type 2.0.
Storage Type
Required
Multi-zone Storage: This storage class uses a data redundancy mechanism across multiple zones (AZs). Your data is redundantly stored in multiple AZs within the same region.
Single-zone Storage: This storage class uses a data redundancy mechanism within a single zone (AZ). Your data is redundantly stored on multiple storage devices within a single AZ.
For more information about storage specifications and billing, see Storage fees.
AutoMV
Required
The system automatically creates materialized views based on user query habits and performance to improve computing efficiency and reduce repeated computations. For more information, see Automatic Materialized View (AutoMV).
Maximum Storage for AutoMV
Optional
Set the upper limit for storage resources that AutoMV can use. If this limit is exceeded, AutoMV stops writing data to the created materialized views. For more information, see Manage the AutoMV switch and set the storage resource limit.
Storage Encryption
Required
Specify whether to encrypt the MaxCompute project.
Key
Required
MaxCompute Default Key
Algorithm
Required
AESCTR
AES256
RC4
For more information, see Appendix: Details of project configuration parameters.
Create a MaxCompute project in the DataWorks console
DataWorks is Alibaba Cloud's unified platform for big data development and governance. Use DataWorks to develop MaxCompute jobs, create scheduled workflows, manage operations, and govern your data.
Your Alibaba Cloud account or RAM user has activated the MaxCompute and the DataWorks in the same region.
[This step is only for RAM users. If you are using an Alibaba Cloud account, skip to step 3.]
If you are a RAM user, your root Alibaba Cloud account must grant you the following permissions:
AliyunMaxComputeFullAccess: Grants full permissions to manage MaxCompute.AliyunDataWorksFullAccess: Grants full permissions to manage DataWorks.AliyunDLFFullAccess: Grants permissions to manage Data Lake Formation APIs and console pages.
For more information about how to grant permissions, see Grant permissions to a RAM user.
Create a DataWorks workspace. For a quick start, follow these steps. For more information, see Create a workspace.
Go to the DataWorks workspace list and confirm that the correct region is selected at the top of the page. The region cannot be changed after the workspace is created. Click Create Workspace.
On the creation page, set the following key parameters:
Workspace Name: Enter a unique name that follows your team's naming conventions.
Isolate Development and Production Environments: Enable this option. This creates a standard mode workspace, which ensures that the development and production environments are isolated.
Use the new Data Studio: Enable this option. Using the new Data Studio is recommended.
If this option is not visible, it is enabled by default.
Click Create Workspace.
Associate a MaxCompute compute resource. For a quick start, follow these steps. For more information, see Attach a computing resource.
Log on to the DataWorks console and select a region in the upper-left corner.
In the Associate MaxCompute Compute Resource dialog box, configure the parameters. For MaxCompute Project, select an existing project or click New.
In the Create Project dialog box, configure the project parameters and click OK.
The project parameters are the same as those in Step 5 of the Create a project in the MaxCompute console section.
Project permissions
The permission model depends on the project creator's identity:
Alibaba Cloud Account: When you create a project with your root account, you become the project owner with full permissions. No other user has access by default.
RAM User: When a RAM user creates a project:
Both the RAM user and the parent Alibaba Cloud account become project owners with full permissions. No other user has access by default.
MaxCompute automatically grants the
Super_Administratorrole to the RAM user who created it.
Related topics
To set up a development environment and install tools for your project, see Select a connection tool.
To delete a MaxCompute project, see Delete MaxCompute tables and projects.
To add team members to a project and assign roles, see Grant permissions to a RAM user.
or information about the permission differences between Alibaba Cloud accounts and RAM users, see Users and permissions.