Deploying Cloudera Streaming Analytics on Anywhere Cloud

Deploy Cloudera Streaming Analytics through the Anywhere Cloud Console. Default settings deploy a five-node cluster that includes the Cloudera Streaming Analytics engine. The deployment also uses a Cloudera Base Connector engine instance, either new or reused.

You deploy Cloudera Streaming Analytics from the Anywhere Cloud Marketplace using a blueprint. The blueprint packages the following engines into a single deployable unit:

  • Cloudera Streaming Analytics – Provides Cloudera SQL Stream Builder (SSB), the Flink Kubernetes Operator, and a PostgreSQL database for SSB projects and jobs.
  • Cloudera Base Connector – Provides access to Cloudera Base on premises clusters. Provision a new instance on the compute cluster, or reuse an existing instance from a shared deployment. If you provision a new instance and leave its properties empty, the engine is deployed, but it remains inactive.

The default cluster has one control plane node, three worker nodes in the Cloudera Streaming Analytics Nodes group, and one bastion node. The blueprint deploys the following components on the compute cluster:

Cloudera SQL Stream Builder
Provides the Streaming SQL Console and the SSB server, which run your SQL jobs.
Flink Kubernetes Operator
Starts, stops, and recovers the Flink clusters that run your jobs.
PostgreSQL
Stores SSB project and job metadata. The engine creates and manages its own PostgreSQL database.
Cloudera Base Connector
Connects Cloudera Streaming Analytics to a Cloudera Base on premises cluster when you configure it. It is deployed on the compute cluster only when you provision a new instance.

Maui, your AI coworker, is a platform service of Anywhere Cloud. It is not deployed with Cloudera Streaming Analytics. For more information, see Maui chat for Cloudera SQL Stream Builder.

  • You must install the Anywhere Cloud Console. For more information, see the Installing Anywhere Cloud documentation.
  • Your administrator must set up the required identity provider to the Anywhere Cloud Console. For more information, see the Configuring the identity provider documentation.
  • Your Anywhere Cloud account must have administrator access to the Anywhere Cloud Console.
  • You must plan the size of each node group. For more information, see Cluster sizing.
  • The users that you plan to make SSB administrators must exist in the identity provider of the Anywhere Cloud Console.
  • To use uploaded files, user-defined functions, connector and data format JAR files, project files, and default checkpoint and savepoint directories, you must register and manage storage services in Admin Center > Storage, and prepare a bucket. For instructions, see Preparing storage for Cloudera Streaming Analytics.
  • To connect Cloudera Streaming Analytics to a Cloudera Base on premises cluster, including a cluster secured with Kerberos, you must have the following data:
    • The HTTPS base URL of Cloudera Manager that must be reachable from the compute cluster.
    • A Cloudera Manager username and password.
    • The CA certificate bundle for the Cloudera Manager TLS certificate. The bundle must be in PEM format and encoded in Base64.
    • The cluster name, if Cloudera Manager manages more than one cluster.
    For more information about the Cloudera Base Connector, see Using Cloudera Base Connector in the Anywhere Cloud documentation.
  1. Access the Anywhere Cloud Console.
  2. Sign in using your enterprise identity provider.
  3. In the left navigation pane, go to Admin Center > Marketplace.
  4. Go to the Cloudera Streaming Analytics tile and click Deploy.
  5. In the Package Content section, review the blueprint package content.
  6. In the Hardware Requirements Tiers section, review the prevalidated minimum infrastructure requirements per worker node, such as vCPU, RAM, and storage, for your selected blueprint version.
    Cloudera Streaming Analytics has one hardware tier, default, which shows only the minimum values of the node groups. The workload sizes S, M, L, and XL in Cluster sizing are not hardware tiers. You apply them when you configure the node groups.
  7. Click Deploy Blueprint.
  8. In the Data Service Configuration section, specify blueprint deployment options.
    1. Select a Blueprint Version.
      The selected version determines the available features.
    2. Specify the Blueprint Instance Name to identify this deployment within your environment.
      This name must be unique among blueprint deployments in your environment. Use a maximum of 45 characters. Use only lowercase letters, numbers, and hyphens. The name must start and end with a letter or number.
      This name is included in each deployed engine name, in the address of the Streaming SQL Console, and in other deployment labels in the Anywhere Cloud Console after deployment. Use a short, stable value that you will recognize.
    3. In the Performance Tier section, select a tier to set the minimum hardware requirements for all node groups.
      Select default, the only tier. You set the resources for the size of your workload later, in the node groups of the Cluster Configuration section.
    4. For Cluster Deployment, select Use Existing Cluster or Create New Cluster.
      • Use Existing Cluster: Deploys on a cluster that is already running. The Cluster Configuration section contains the cluster selection.
      • Create New Cluster: Provisions a dedicated cluster. The Cluster Configuration section contains the cluster and node group configurations. This option also adds the Telemetry Export Configuration and Audit Export Configuration sections.
  9. In the Cluster Configuration section, set up the cluster and node group configurations.
    For the minimum and recommended values of each node group, see Cluster sizing.
    • If you selected Use Existing Cluster, select an existing cluster from the Target Cluster drop-down list.

      Eligible clusters require active status. Ineligible clusters are displayed but cannot be selected. You must select a cluster before you can configure engines.

    • If you selected Create New Cluster, configure the cluster and its node groups.

      1. Configure the Cluster Definition.
        1. Select the Compute Infrastructure.

          This is the cloud provider or physical data center hosting the nodes. Available infrastructure options depend on your deployment environment. The Anywhere Cloud Console installs a compatible Kubernetes version.

        2. Enter a Cluster Name for the compute cluster being provisioned.

          The cluster name must be 3 to 30 characters long. Use only lowercase letters, numbers, and hyphens. The name must start with a letter and end with a letter or number, with no consecutive hyphens.

        3. Select the DNS Credentials.

          This is a DNS account registered in Cloudera Cloud Factory to automatically publish DNS records for this cluster.

        4. Select the Certificate and Trust.

          This is a signing CA profile registered in Cloudera Cloud Factory to sign cluster and gateway TLS certificates and configure the cluster trust bundle.

      2. Configure the Control Plane Node.
        1. Select an Instance Flavor.

          The selection list displays the CPU and RAM values for the selected flavor.

        2. Specify the Node Count.

          The default of one control plane node is suitable for development and non-critical deployments. For production, Cloudera recommends increasing the node count to three to ensure control plane high availability.

        3. Specify the Storage Per Node (GB) to allocate disk space for internal system databases and control plane logs.
        4. Optional: Click Add Custom Control Plane Node Group to configure additional node groups.
      3. Configure Worker Capacity.
        1. For the Cloudera Streaming Analytics Nodes worker node group, select an Instance Flavor, specify the Node Count, and specify the Storage Per Node (GB).

          This node group runs SSB, its metadata database, and your Flink jobs. The minimum flavor has 8 vCPU and 16 GiB of memory, and the recommended flavor has 8 vCPU and 32 GiB. The minimum node count is three. Choose the flavor, the node count, and the storage for the size of your workload, as described in "Applying a size when you deploy" in Cluster sizing.

        2. Optional: Click Add Cloudera Streaming Analytics Nodes to provision an additional instance of the node group defined in the blueprint.
        3. Optional: Click Add Custom Worker Node Group to configure additional worker node groups not defined in the blueprint.
      4. Configure the Security Gateway.
        1. Select an Instance Flavor.

          The selection list displays the CPU and RAM values for the selected flavor.

        2. Specify the Disk Size to allocate disk space for administrative tools and access logs.
  10. For Cloudera Streaming Analytics, in the Required Engine Configuration section, select Reuse Existing Instance or Provision New Instance.
    • Select Reuse Existing Instance if you already have the required engine configured.
      1. Select the existing engine from the drop-down list and view its details.

        A reused instance keeps its engine settings and the storage that it was deployed with. You cannot select its Cloudera Base Connector separately, because it is reused with the engine instance.

    • Select Provision New Instance and click Configure to open the engine configuration side panel.
      1. On the Engine Settings tab, in the Admin usernames: comma separated list field, enter the users who become SSB administrators, separated by commas.

        Each user must exist in the identity provider of the Anywhere Cloud Console. All other users who sign in to the Streaming SQL Console receive the standard user role.

      2. On the Storage tab, bind a bucket for uploaded files, user-defined functions, connector and data format JAR files, checkpoints, and savepoints:
        1. Select the bucket in the Buckets section, and select the Read, Write, List, and Delete permission checkboxes in the Bucket access section.
        2. In the Purpose section, select the Storage Service and the bucket as the Destination Bucket for the default purpose.

        Storage is required. Without a bucket, uploads fail, and user-defined functions, project files, and connector and data format JAR files do not work. For more information, see Preparing storage for Cloudera Streaming Analytics.

      3. Click Save Changes.
  11. For Cloudera Base Connector, in the Reference Dependency Engines section, select Reuse Existing Instance or Provision New Instance.

    Configure the Cloudera Base Connector only if you plan to connect Cloudera Streaming Analytics to a Cloudera Base on premises cluster. If you configure some properties but not all, the deployment fails. If you leave the Cloudera Base Connector settings empty, Cloudera Streaming Analytics deploys without a connection to Cloudera Base on premises clusters.

    • Select Reuse Existing Instance if you already have the required engine configured.
      1. Select the existing engine from the drop-down list and view its details.
    • Select Provision New Instance and click Configure to open the engine configuration side panel.
      1. On the Engine Settings tab, configure the following fields:
        • CM Base URL – The HTTPS base URL of Cloudera Manager, for example, https://cm.example.com:7183. Do not include a /api path.
        • CM Username and CM Password – The credentials of a Cloudera Manager user.
        • CM CA Bundle (base64) – The Base64-encoded PEM CA certificate bundle used to verify the Cloudera Manager TLS certificate.
        • CM Cluster Name – Optional. The name of the cluster. Required only if Cloudera Manager manages more than one cluster.
      2. Click Save Changes.
  12. Optional: In the Network Configuration section, specify the internal communication range for the compute cluster by entering the internal IP Address Range in Classless Inter-Domain Routing (CIDR) notation, for example, 10.0.0.0/16.
  13. Optional: In the Telemetry Export Configuration section, enable the Anywhere Cloud Console to send telemetry data to third-party monitoring tools for all services running on the compute cluster.
    For more information about Anywhere Cloud telemetry, see Telemetry Engine in the Anywhere Cloud documentation.
    1. Select the Third Party Exporters checkbox.
    2. Paste your OpenTelemetry Collector exporter YAML configuration in the text box.
    3. If your configuration contains sensitive values, such as API keys or tokens, replace each one with a reference.
    4. Click Add Credential and enter the reference key in the Key field and the sensitive value in the Value field in the Exporter Credentials section. Repeat for each reference.
  14. Optional: In the Audit Export Configuration section, enable or disable the Anywhere Cloud Console to export audit data for all services running on the compute cluster. To deploy without audit export, click the Enabled toggle to turn it off, and skip the substeps.
    1. Paste your OpenTelemetry Collector exporter YAML configuration in the text box.
    2. If your configuration contains sensitive values, such as API keys or tokens, replace each one with a reference.
    3. Click Add Credential and enter the reference key in the Key field and the sensitive value in the Value field in the Exporter Credentials section. Repeat for each reference.
  15. Click Validate and Deploy.
    The system checks whether required fields are complete and required resources are available. If validation is successful, deployment begins automatically and you are redirected to the Apps page to monitor progress. The Apps page lists all engine instances and blueprints.
When the deployment process is completed, your Cloudera Streaming Analytics engine instance is ready to use.
  1. Check that the deployment is running, and run a test job. See Running a test job.
  2. Open the Streaming SQL Console. See Accessing Cloudera SQL Stream Builder.
  3. Invite users to your projects and set their access levels. See Managing project members.