Confluent Cloud Basics

This topic describes some common Confluent Cloud tasks.

Create Cluster

Confluent Cloud

From the Clusters page, click Create cluster.

../../_images/cloud-create-cluster.png
Confluent Cloud Enterprise
Contact Confluent at https://www.confluent.io/cloud-contact.

Add Users

For information about how to add users, see User Accounts.

View Bill

From the Administration menu, click Status & settings.

../../_images/cloud-billing1.png

For more information, see the billing information in the FAQ.

Change Password

  1. From the Administration menu, click Status & settings.

  2. Click the Password tab.

  3. Enter your current and new passwords and click Save changes.

    ../../_images/cloud-password.png

Delete Cluster

Tip

Confluent Cloud only. If you’re using Confluent Cloud Enterprise, contact your sales representative to delete clusters.

  1. From the Clusters page, click your cluster name and click Change settings.

    ../../_images/cloud-view-details.png
  2. Choose Delete.

    ../../_images/cloud-change-cluster.png
  3. Type the name of your cluster and click Continue.

    ../../_images/cloud-delete-cluster-confirm.png

Monitor Cluster Activity

You can monitor cluster activity and usage from the cluster landing page. The read, write, and storage capacity for each cluster in your account is shown. The metrics available are provisioned, peak, and average throughput capacity.

Tip

If your cluster is reaching its peak storage capacity for sustained durations, consider increasing the capacity.

../../_images/cloud-activity-1.png

Install the Confluent Cloud CLI

You can use the Confluent Cloud CLI to administer your Confluent Cloud cluster. The Confluent Cloud CLI is supported for macOS, Linux, and Unix-based operating systems.

Important

  • The Confluent Cloud CLI only supports basic produce or consume operations. For example, you cannot pass in a properties file using the Confluent Cloud CLI. This means you cannot set other configuration properties or produce with keys. For advanced produce or consume operations, use the use the Confluent CLI confluent local produce and confluent local consume commands with the --cloud --config <path-to-file> flag.
  • The Confluent Cloud CLI requires users to log in with a Confluent Cloud user account.
  • The Confluent Cloud CLI is interactive and does not support scripting.

Scripted installation

Run this command to install the Confluent Cloud CLI. This command creates a bin directory in your designated location (<path-to-directory>/bin).

Important

The CLI installation location must be in your PATH (e.g. /usr/local/bin).

curl -L https://cnfl.io/ccloud-cli | sh -s -- -b /<path-to-directory>/bin

Tarball installation

Download and install the raw binaries by platform.

Next steps

  • Run this command to log in to your Confluent Cloud cluster.

    ccloud login
    

    Your output should resemble:

    Enter your Confluent credentials:
    Email: jdoe@myemail.io
    Password:
    
    Logged in as jdoe@myemail.io
    Using environment t118 ("default")
    
  • Run this command to view your cluster.

    ccloud kafka cluster list
    

    Your output should resemble:

          Id      |       Name        | Provider |   Region    | Durability | Status
    +-------------+-------------------+----------+-------------+------------+--------+
        lkc-emmox | My first cluster  | gcp      | us-central1 | LOW        | UP
        lkc-low0y | My second cluster | gcp      | us-central1 | LOW        | UP
    
  • Run this command to designate the active cluster.

    ccloud kafka cluster use lkc-emmox
    
  • Verify installation by typing ccloud in your terminal.

    ccloud
    

    You should see Confluent Cloud CLI usage information:

    Welcome to the Confluent Cloud CLI
    
    Usage:
      ccloud [command]
    
    Available Commands:
      api-key         Manage API keys
      completion      Output shell completion code
      environment     Manage and select ccloud environments
      help            Help about any command
      kafka           Manage Kafka
      login           Login to Confluent Cloud
      logout          Logout of Confluent Cloud
      service-account Manage service accounts
      update          Update ccloud
      version         Print the ccloud version
    
    Flags:
      -h, --help            help for ccloud
      -v, --verbose count   increase output verbosity
          --version         version for ccloud
    
  • Connect Confluent Cloud CLI to a Cluster.