This topic describes how to use an Alibaba Cloud account to activate fully managed Flink and what you need to pay attention to when you activate the service.

Prerequisites

  • You have an Alibaba Cloud account. If you do not have an Alibaba Cloud account, create one first.
  • The Object Storage Service (OSS) and Virtual Private Cloud (VPC) services are activated.
    • Fully managed Flink uses an architecture in which computing is decoupled from storage. This service needs to use OSS to store information, such as the uploaded Java Archive (JAR) files, the logs of Flink jobs, and the savepoints or checkpoints that are generated in Flink jobs. If you have not activated OSS, activate it first. For more information, see Activate OSS.
    • For more information about how to activate VPC, see Create a VPC.

    Server Load Balancer (SLB) and Application Real-Time Monitoring Service (ARMS) are automatically activated when you activate fully managed Flink. For more information about the billing standards of the involved cloud services, see Pricing.

  • Your Alibaba Cloud account balance is not less than 100 dollars or the equivalent voucher or coupon before you activate the pay-as-you-go service.

Procedure

  1. Log on to the Realtime Compute for Apache Flink console.
  2. Click Purchase in the Fully Managed Flink section.
  3. On the Authorization Request page, click Authorize in RAM. Authorize
  4. On the Cloud Resource Access Authorization page, click Confirm Authorization Policy in the lower part of the page. AliyunStreamAsiDefaultRole
    Note By default, the AliyunStreamAsiDefaultRole role is selected.
  5. On the buy page, enter the configuration information.
    Section Parameter Description
    Basic Configurations Billing Method The Subscription and Pay-as-you-go billing methods are supported.
    Duration You need to specify this parameter only when the Subscription billing method is used.
    Auto-renewal You need to specify this parameter only when the Subscription billing method is used. After the auto-renewal feature is enabled, you can modify the renewal policy in Renewal Management in the Alibaba Cloud Management Console in the future.
    The region where fully managed Flink is supported. The Singapore (Singapore) region is supported.
    Note We recommend that you select the same region as the upstream and downstream storage.
    Zone We recommend that you select the same zone as the upstream and downstream storage.
    Network VPC We recommend that you select the same VPC as the upstream and downstream storage.
    vSwitch An IP address is assigned to each TaskManager instance and each JobManager instance of a Flink job. You can select one to five vSwitches to properly plan the Classless Inter-Domain Routing (CIDR) blocks based on the scale of Flink jobs.
    Workspace Workspace Name The name must be 1 to 60 characters in length and can contain letters, digits, and hyphens (-). It must start with a letter.
    Note
    • Workspace names within the same Alibaba Cloud account are unique. Do not enter a duplicate name. Otherwise, the system prompts you to enter a name again.
    • After the fully managed Flink service is activated, Workspace Name cannot be changed.
    Resource Quota You need to specify this parameter only when the Subscription billing method is used. Computing resources are billed based on this quota.
    Storage OSS Bucket The fully managed Flink service creates four directories in the bucket that you select to store different types of data:
    • artifacts: The uploaded JAR files are stored in this directory.
    • flink-jobs: The checkpoints of Flink jobs are stored in this directory.
    • flink-savepoints: If you click Savepoint in the console of fully managed Flink, the Savepoint operation is triggered and the final Savepoint file is stored in this directory.
    • logs: If you set Log Template to OSS for your job, the logs of your job are stored in this directory.
    Note
    • After the fully managed Flink service is activated, OSS Bucket cannot be changed.
    • The OSS bucket must be in the same region as the fully managed Flink service.
  6. Click Confirm Order and pay for the order to activate the fully managed Flink service.
    Note
    • After you complete the payment, click Console. Then, on the Fully Managed Flink tab, you can view the workspace that is being created. In most cases, the workspace can be created in 5 to 10 minutes after you complete the payment.
    • After fully managed Flink is activated, you can log on to the Realtime Compute for Apache Flink console to view the console interface. For more information, see Introduction to the console of fully managed Flink. By default, a project named Workspace name-default is generated after the workspace is created. You can develop jobs after you enter the project. If you want to create other projects, follow the instructions provided in Manage projects.