This topic describes how to activate Realtime Compute for Apache Flink in exclusive mode. This topic also describes how to create Realtime Compute for Apache Flink clusters and projects in exclusive mode.

Activate Realtime Compute for Apache Flink in exclusive mode

Note
  • Realtime Compute for Apache Flink in exclusive mode cannot be purchased from April 28, 2021. You can only scale out, scale in, or renew the existing projects of Realtime Compute for Apache Flink in exclusive mode. If you want to purchase Realtime Compute for Apache Flink, we recommend that you purchase fully managed Flink. If you have any questions, submit a ticket.
  • A Realtime Compute for Apache Flink cluster in exclusive mode can access only the storage resources in the same virtual private cloud (VPC), region, and security group as the cluster. To allow the cluster to access resources in another VPC, use Express Connect to access the VPC.
After you place an order for Realtime Compute for Apache Flink in exclusive mode, you must create a cluster before you create a project.
  1. Activate Realtime Compute for Apache Flink.
    1. Log on to the product page of Realtime Compute for Apache Flink.
      Note Use your Alibaba Cloud account instead of a Resource Access Management (RAM) user to activate Realtime Compute for Apache Flink and create a project. If you do not have an Alibaba Cloud account, create one first.
    2. Click Buy Now.
    3. Configure the parameters, including the region, master node specifications, number of master nodes, slave node specifications, number of slave nodes, and billing duration based on your business requirements.
    4. Click Buy Now.
    5. Read the terms of service and select I have read and agree to Realtime Compute Exclusive Mode (Subscription) Agreement of Service.
    6. Click Pay.
  2. Create a Realtime Compute for Apache Flink cluster.
    • Preparations
      • After you activate Realtime Compute for Apache Flink in exclusive mode, Realtime Compute for Apache Flink creates a security group in your VPC and applies for an elastic network interface (ENI). For more information, see ENI overview.
        Note Do not delete the security group or the ENI. Otherwise, the cluster cannot be created.
        • If you have VPCs, specify a VPC for Realtime Compute for Apache Flink.
        • If you do not have a VPC, activate the Alibaba Cloud VPC service first. For more information about how to activate the Alibaba Cloud VPC service, see Plan a VPC.
          Note Make sure that the VPC you created meets the following requirements:
      • You can upload UDF packages to a Realtime Compute for Apache Flink cluster in exclusive mode. To ensure data security, Realtime Compute for Apache Flink stores the UDF packages to an Object Storage Service (OSS) bucket. You must specify the OSS bucket. If you do not have OSS buckets, create one first. For more information about how to create an OSS bucket, see Create buckets.
      • Assign a RAM role to an account that uses Realtime Compute for Apache Flink in exclusive mode. For more information, see Assign a RAM role to an account that uses Realtime Compute for Apache Flink in exclusive mode.
    • Procedure
      1. After you complete the payment, click Console.
      2. On the Clusters page, click Create Cluster.
        Note If no project is created for an order, a red number is displayed on Create Cluster in the upper-right corner of the Clusters page. The number indicates the number of orders for which no project is created.
      3. In the Select Order step, select an order in Order ID and click Next.
      4. In the Basic Information step, configure Cluster Name and Cluster Description and click Next.
      5. In the Cluster Settings step, enter the configuration information and click Next.
        Note The Realtime Compute for Apache Flink cluster must reside in the same security group, region, and VPC as the upstream and downstream storage that you purchased.
        • OSS Bucket
          Select an OSS bucket in which you want to store your UDF packages. If you do not have OSS buckets, create one first. For more information, see Create buckets. When you create an OSS bucket, you must specify Standard for Storage Class. We recommend that you specify Private for Access Control List (ACL). Do not select Public Read.
        • VPC
          Select the VPC that you want to access and customize the name of the VPC.
          Note Realtime Compute for Apache Flink can identify only custom VPC names.
        • Zone
          After you properly configure the VPC, the system automatically displays the available zones.
          Note No available zone or vSwitch is displayed in the following scenarios:
      6. In the Confirm step, click Create.
        Note The cluster is created after it enters the Running state from the Starting state. This process takes about half an hour. If the cluster remains in the Starting state for a long period of time, submit a ticket.
  3. Create a project.
    1. In the left-side navigation pane, choose Cluster Management > Clusters. Find the cluster for which you want to create a project and click Create Project in the Actions column.
    2. In the Create Project dialog box, configure Project Name and Project Description, and slide the pointer on the right side of Specified CUs to specify the required number of compute units (CUs).
    3. Click OK.