Redpanda Licensing

You can deploy Redpanda in a self-hosted environment (Redpanda Self-Managed) or as a fully-managed cloud service (Redpanda Cloud). For Redpanda Self-Managed, select either the Community Edition or the Enterprise Edition:

  • Redpanda Community Edition is free and source-available at the Redpanda GitHub repository.

  • Redpanda Enterprise Edition requires a license key and includes additional features.

To learn about Redpanda Cloud deployments, see the Redpanda Cloud Overview.

Redpanda Community Edition

Redpanda Community Edition is licensed with the Redpanda Business Source License (BSL). These core features are free and source-available.

  • Users cannot provide Redpanda as a commercial streaming or queuing service to others.

  • The BSL code converts to Apache 2.0 licensing four years after each code merge.

Redpanda Enterprise Edition

Redpanda Enterprise Edition is licensed with the Redpanda Community License (RCL). It includes the free features licensed under the Redpanda BSL, as well as the following features:

Enterprise features require a license key. You can evaluate enterprise features with a free 30-day trial. Contact Redpanda Sales to request a trial license, to extend your trial period, or to purchase an Enterprise Edition license.

Apply a license key to Redpanda

A license key unlocks Redpanda Enterprise Edition features.

  • Linux or Docker

  • Kubernetes

To apply the license key to your cluster, run:

rpk cluster license set

Either provide a path to a file containing the license or provide the license string inline. For example, assuming you use the default admin host/port of 10.0.0.1:9644, run:

rpk cluster license set --path <path-to-license-file> -X admin.hosts=10.0.0.1:9644

Or:

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.

To apply the license key to your cluster using the Helm chart, either provide a secret that contains the license or provide the license string inline:

  • Use a secret:

    • --values

    • --set

    license-key.yaml
    enterprise:
      licenseSecretRef:
        name: <name-of-the-secret>
        key: <key-where-license-is-stored>
    helm upgrade --install redpanda redpanda/redpanda --namespace <namespace> --create-namespace \
    --values license-key.yaml
    helm upgrade --install redpanda redpanda/redpanda --namespace <namespace> --create-namespace \
      --set enterprise.licenseSecretRef.name=<name-of-the-secret> \
      --set enterprise.licenseSecretRef.key=<key-where-license-is-stored>

    For default values and documentation for configuration options, see the values.yaml file.

  • Use an inline string:

    • --values

    • --set

    license-key.yaml
    enterprise:
      license: <license-string>
    helm upgrade --install redpanda redpanda/redpanda --namespace <namespace> --create-namespace \
    --values license-key.yaml
    helm upgrade --install redpanda redpanda/redpanda --namespace <namespace> --create-namespace \
      --set enterprise.license=<license-string>

    For default values and documentation for configuration options, see the values.yaml file.

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

Check the status of a license

To check the status of your current license, run:

rpk cluster license info -X admin.hosts=10.0.0.1:9644

Redpanda sends warning messages in the cluster logs if you enable enterprise features without a valid license key.

Apply a license key to Redpanda Console

To use an enterprise feature with Redpanda Console, you must provide Redpanda Console with a copy of your license key. You have two options for providing the license:

  1. Specify the path to the license key file either in the redpanda.licenseFilepath property of the /etc/redpanda/redpanda-console-config.yaml file or in the REDPANDA_LICENSE_FILEPATH environment variable.

  2. Specify the license key file contents directly either in the redpanda.license property of the YAML file or in the REDPANDA_LICENSE environment variable.

Redpanda Console checks the license key status on startup and warns you 30 days before the license expires. You can view the license key’s expiration date in the startup logs. If the license key expires at runtime, Redpanda Console shuts down. If the license has already expired at startup, Redpanda Console prints an error message and exits.