A project is the basic organizational unit of MaxCompute and the main boundary for multi-user isolation and access control. After activating the MaxCompute service, you need to create a project to start using MaxCompute. This topic describes how to create a MaxCompute project through the MaxCompute console or DataWorks.
Prerequisites
An Alibaba Cloud account or Resource Access Management (RAM) user has activated the DataWorks service and MaxCompute service in the same region.
To create a MaxCompute project as a RAM user, ensure that you have a RAM user account with the AliyunDataWorksFullAccess permission.
For more information about how to create or obtain a RAM user, see Prepare a RAM user.
Background information
Account types for creating MaxCompute projects
RAM users typically have limited operation permissions. If you use a RAM user to create a MaxCompute project, you need to grant the RAM user high operation permissions. We recommend using an Alibaba Cloud account to create a MaxCompute project and then granting the RAM user relevant operation permissions through authorization operations.
For more information about the permission differences between Alibaba Cloud accounts and RAM users, see Users and permissions. For more information about authorization operations, see MaxCompute permissions.
Methods to create projects
You can create a MaxCompute project using the following methods:
Method 1 (recommended): Create a project through the MaxCompute console
MaxCompute provides a graphical console where you can create a MaxCompute project. When developing data jobs, you can connect to the MaxCompute project through tools such as CMD. For more information, see Create a project through the MaxCompute console in this topic.
Method 2: Create a project through the DataWorks console
DataWorks is a one-stop big data development and governance platform provided by Alibaba Cloud. You can perform one-stop data development and governance operations on DataWorks, such as developing MaxCompute jobs, scheduling jobs periodically, maintaining jobs, and governing data. If you want to use DataWorks for one-stop development and governance of MaxCompute jobs, you can create a DataWorks workspace through the DataWorks console and directly create and bind a MaxCompute data source during this process. Then, you can develop MaxCompute jobs in the DataWorks workspace. For more information, see Create a workspace.
Considerations
When creating a MaxCompute project, note the following points:
After you create a MaxCompute project using an Alibaba Cloud account, you have operation permissions on all objects in the project. No one can access the project without authorization.
For a MaxCompute project created by a RAM user, both the RAM user and the Alibaba Cloud account to which the RAM user belongs have operation permissions on all objects in the project. No one else can access the project without authorization.
For a MaxCompute project created by a RAM user, MaxCompute assigns the Super_Administrator role for the project to the RAM user by default for easier management.
NoteIf a RAM user creates a project through the DataWorks console and the DataWorks workspace is in standard mode, only the Super_Administrator role for the project in the development environment is assigned to the RAM user after the project is created.
Create a project through the MaxCompute console
Log on to the MaxCompute console and select a region in the upper-left corner.
In the navigation pane on the left, choose Workspace > Project Management, and click Create Project.
In the Create Project dialog box, configure the project information based on the prompts on the interface, and then click OK.
The following table describes the key parameters. You can configure other parameters based on the prompts on the interface. For more information about the parameters, see Appendix: Project parameter summary table.
Parameter
Description
Computing Resource Billing Method and Default Quota
You can select a billing method based on the MaxCompute resources that you have purchased.
Subscription
If you have purchased subscription MaxCompute resources, you can plan the quotas for the resources and select the subscription resource quota that is required for running jobs in this project. For more information about quota planning and management, see Computing resources - Quota management.
Pay-as-you-go
When you activate MaxCompute, you purchase the Pay-as-you-go Standard Edition of MaxCompute by default. If you have not purchased other MaxCompute resources, you can select Pay-as-you-go and Default Pay-as-you-go Quota.
Storage Class
The data storage type is a project-level setting. You can select Multi-zone Storage or Single-zone Storage. For more information about storage specifications and billing, see Storage fees.
NoteWe recommend that you select multi-zone storage for data related to enterprise production business. Multi-zone storage can withstand zone-level failures. When a zone-level failure occurs, multi-zone storage ensures that data read and write services are not interrupted and that data integrity and security are maintained. For more information, see Zone-disaster recovery.
After the project is created, you can view the new MaxCompute project on the Workspace > Project Management page in the navigation pane on the left.
What to do next
If you need other RAM users to assist in development, you can add RAM users as MaxCompute project members and assign roles to them. For more information, see Add workspace members and assign roles.
If you develop independently and do not need to add other project members, prepare the MaxCompute project development environment and install the corresponding tools. For more information, see Select a connection tool.
To delete a created MaxCompute project, see Delete a MaxCompute project.