A project is a basic unit for managing jobs in fully managed Flink. Configurations, jobs, and permissions of each project are separately managed. You can create multiple projects and assign separate resources and permissions to each project. This way, resources and permissions are isolated among projects of multiple tenants. This topic describes how to create and manage a project.

Background information

After you purchase a fully managed Flink instance, the system generates a project that is named in the Workspace name-default format. All initial resources belong to this project. You can create projects, delete projects, and allocate project resources in a workspace.

Prerequisites

The workspace in which you want to create a project has sufficient available resources. A project requires at least one compute unit (CU). Therefore, you must ensure that the workspace in which you want to create a project has more than one available CU before you create the project.
Note If the available resources in the workspace are insufficient, you can scale out the workspace or scale in the project that is named in the Workspace name-default format. For more information about how to scale out a workspace, see Reconfigure workspace resources.

Limits

Only Alibaba Cloud accounts have permissions to create and delete projects.

Precautions

  • Before you delete a project, make sure that no jobs are running in the project. If a job is running in the project, an error is returned, which prompts you to stop the job and then delete the project.
  • After you delete a project, jobs and data in the project cannot be restored. Proceed with caution. The resources of the project can be used to scale out other projects.

Create a project

  1. Log on to the Realtime Compute for Apache Flink console.
  2. On the Fully Managed Flink tab, find the workspace in which you want to create a project and choose More > Add Project in the Actions column.
  3. In the Create Project dialog box, configure the project parameters.
    Project
    Parameter Description
    Project Name The project name cannot be the same as the name of an existing project.
    Allocate Resources A project requires at least one CU. Therefore, you must ensure that the workspace in which you want to create a project has more than one available CU before you create the project.
  4. Click OK.
    After the project is created, you can click the name of the project to go to the console of fully managed Flink and develop jobs in the project.

Delete a project

  1. Log on to the Realtime Compute for Apache Flink console.
  2. On the Fully Managed Flink tab, click the Show button icon on the left side of the ID of the workspace to which the project you want to delete belongs.
  3. Find the project that you want to delete and click Delete in the Actions column.
  4. Click OK.