Add an Enterprise Edition License to Redpanda in Linux

To enable enterprise features for Redpanda Streaming, you must have an Enterprise Edition license. This guide outlines how to apply or update an Enterprise Edition license for Redpanda Streaming in a Linux environment.

Prerequisites

Add a new license

Redpanda supports the following ways to apply a new license:

Apply the license using a license file

If you have the license key stored in a file, you can apply it by specifying the file path:

rpk cluster license set --path <path-to-license-file> -X admin.hosts=<admin-api-url>

Replace the following placeholders:

  • <path-to-license-file> with the path to your license file.

  • <admin-api-url> the Redpanda admin host and port

Apply the license using an inline license string

If you want to provide the license string directly, use the following command:

rpk cluster license set <license-string>

If neither the path nor the license string are provided, rpk looks for the license in /etc/redpanda/redpanda.license.

Use Redpanda Console

You can upload a license directly through Redpanda Console.

Verify a license

After adding or updating a license, you can use rpk to verify that the license was set.

rpk cluster license info

This command displays the license status, whether the cluster is in violation, the enterprise features in use, and the license details. For example:

LICENSE INFORMATION
===================
License status:              valid
License violation:           false
Cluster cores:               12 / 50 (Community Edition limit)
Enterprise features in use:  [partition_auto_balancing_continuous core_balancing_continuous]
Organization:                redpanda
Type:                        enterprise
Expires:                     Oct 24 2027

If License violation is true, Redpanda refuses to upgrade to a new feature release until you install a valid license or turn off the enterprise features in use. The Cluster cores row appears only when the brokers run Redpanda 26.3 or later. For details about each field, see Check License Status and Feature Usage with rpk.

Redpanda blocks upgrades to new feature releases if enterprise features are active without a valid license. Ensure compliance by obtaining a license to maintain access to the latest features and updates.

Update an existing license

To update an existing license, you can use one the following methods:

When a new license is uploaded, enterprise features in Redpanda Streaming are unlocked immediately without requiring a cluster restart. However, to unlock enterprise features in Redpanda Console, you must restart the Redpanda Console instance.

Suggested reading