All Products
Search
Document Center

Realtime Compute for Apache Flink:Manage deployments and view the status of a deployment

Last Updated:Sep 12, 2024

This topic describes how to manage deployments and view the status of a deployment. This topic also describes the meaning of each state.

Prerequisites

If another Alibaba Cloud account or a RAM user wants to use Realtime Compute for Apache Flink, you have granted permissions to the Alibaba Cloud account or the RAM user to perform operations by using your Alibaba Cloud account. For example, the permission is granted to manage deployments and view the status of a deployment. For more information, see Grant permissions to an account.

View the status of a deployment

  1. Log on to the Realtime Compute for Apache Flink console.

  2. find the workspace that you want to manage and click Console in the Actions column.

  3. In the left-side navigation pane, click O&M > Deployments.

  4. Find the desired deployment and view the status of the deployment in the State column.

    The following table describes the meaning of each deployment state.

    State type

    State

    Description

    Transitioning

    STARTING

    The deployment is being started.

    Stable

    RUNNING

    The deployment is running.

    Note

    When a streaming deployment is running, the system monitors the deployment and generates a health score for the deployment based on the monitoring result. The health score of a deployment in the Health column on the Deployments page indicates the health status of the deployment. If the health score of the deployment is not 100, the deployment is at risk. In this case, you can click the health score in the Health column for the deployment to perform intelligent deployment diagnostics. After you perform intelligent deployment diagnostics, you can view the cause of the risk and handling suggestions. For more information, see Perform intelligent deployment diagnostics.

    FINISHED

    After a batch deployment or a streaming deployment that triggers throttling is complete, the deployment enters the FINISHED state.

    CANCELLED

    If you click Cancel for a deployment in the Actions column, the deployment enters the CANCELLED state.

    Failed

    FAILED

    The deployment fails to run.

    Note

    Deployments in the FAILED state are considered abnormal deployments.

Manage a deployment

  1. Log on to the Realtime Compute for Apache Flink console.

  2. find the workspace that you want to manage and click Console in the Actions column.

  3. In the left-side navigation pane, click O&M > Deployments. On the Deployments page, click the name of the desired deployment.

  4. Click the icons described in the following table to manage the deployment based on your business requirements.

    The following table describes the icons.

    Icon

    Description

    Start

    Start a deployment.

    Cancel

    Cancel a deployment.

    Create Savepoint

    Create a savepoint for the deployment at the current time. For more information, see Manually create a savepoint.

    Important

    You must configure the URL of the savepoint before you create the savepoint. Otherwise, the savepoint fails to be created.

    Delete

    Delete a deployment. You can only delete deployments that are in the CANCELLED state.