Create a MaxCompute project

Updated at:

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

Create a project in the MaxCompute console

  1. You have activated the MaxCompute service with your Alibaba Cloud account or RAM user.

  2. 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:

    For information about granting permissions, see Manage RAM user permissions.

  3. Log in to the MaxCompute console and select a region in the upper-left corner.

  4. In the left-side navigation pane, choose Manage Configurations > Projects.

  5. 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

    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

Note

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.

  1. Your Alibaba Cloud account or RAM user has activated both MaxCompute and DataWorks in the same region.

  2. 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:

    For information about granting permissions, see Manage RAM user permissions.

  3. Create a DataWorks workspace by following the quick-start steps below. For more information, see Create a workspace.

    1. 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.

    2. 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.

    3. Click Create Workspace.

  4. Associate a MaxCompute compute resource by following the quick-start steps below. For more information, see Attach a computing resource.

    1. Log on to the DataWorks console and select a region in the upper-left corner.

    2. On the Associate MaxCompute Computing Resource page, configure the parameters. For the MaxCompute Project parameter, select an existing project or click Create.

    3. 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_Administrator role in the created project.

Related documentation