A project is a basic unit for managing jobs in fully managed Flink. The configurations, jobs, and permissions are managed in projects. You can create multiple projects and assign separate resources and permissions to each project. The resources and permissions granted by configuring project members are completely isolated among multiple projects.

Background information

After you purchase a fully managed Flink instance, the system automatically generates a project named Workspace name-default. All initial resources belong to this project. You can create projects, delete projects, and allocate project resources in a workspace.
Note Only Alibaba Cloud accounts have the permissions to manage 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 that you want to manage, and choose More > Add Project in the Actions column.
  3. In the Create Project dialog box, configure the project parameters.
    Project
    Note
    • The name of each project must be unique.
    • A project requires at least one compute unit (CU). Therefore, the remaining CUs that can be allocated in the workspace must be greater than one CU. If the remaining CUs in the workspace are insufficient, you must scale out the workspace first. After you successfully scale out the workspace, you can add resources to the project. For more information about how to scale out a workspace, see Reconfigure workspace resources.
  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

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 when you attempt to delete the project. The system prompts you to stop the job that is running before you delete the project. After you delete the project, you cannot restore metadata in the project, including jobs, metrics, and resources. The resources of the project can be used when other projects are scaled out.

  1. Log on to the Realtime Compute for Apache Flink console.
  2. On the Fully Managed Flink tab, click the Unfold button icon on the left side 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.
    Notice After you click OK, the jobs and data in the project cannot be restored. Proceed with caution.

Reconfigure resources for a single project

If resources are allocated to a project, you can add or reduce available resources in the project, and scale out or scale in the project. Before you scale out a project, make sure that the workspace has sufficient resources that can be allocated. If the workspace has insufficient resources, you must scale out the workspace first. After you scale out the workspace, you can add resources to the project. For more information about how to scale out a workspace, see Reconfigure workspace resources.

  1. Log on to the Realtime Compute for Apache Flink console.
  2. On the Fully Managed Flink tab, click the Unfold button icon on the left side of the workspace that you want to manage.
  3. Find the project for which you want to reconfigure resources, and click Reconfigure Resources in the Actions column.
  4. In the Reconfigure Resources dialog box, move the slider next to the project name to reconfigure resources.
  5. Click OK.

Reconfigure resources for multiple projects

You can perform the following steps to adjust the number of resources for multiple projects at the same time:

  1. Log on to the Realtime Compute for Apache Flink console.
  2. On the Fully Managed Flink tab, find the workspace that you want to manage, and choose More > Reconfigure Project Resources in the Actions column.
  3. In the Reconfigure Project Resources dialog box, move the sliders next to the project names to reconfigure resources.
    Reconfigure project resources
  4. Click OK.