Activate a Grafana Enterprise license from AWS Marketplace on EKS

    • Purchase a subscription to .
    • Be sure that the IAM user that was used to purchase Grafana Enterprise has permission to manage subscriptions, create new IAM users and roles, and create access policies.

    To activate your license, complete the following tasks:

    1. Use to update the container image to Grafana Enterprise version 8.3.0 or later.

      For example, enter grafana/grafana-enterprise:8.3.3.

    • Ensure that you have a supported Grafana database available.
    • Review the information required to connect to the RDS DB instance. For more information, refer to .

    To configure Grafana for high availability, choose one of the following options:

    • Option 1: Use kubectl edit configmap grafana to edit grafana.ini add the following section to the configuration:

    • Option 2: use kubectl edit deployment my-release to edit the pod variables and add the following database variables:

    For more information on Grafana High Availability setup, refer to Set up Grafana for high availability.

    In this task, you configure Grafana Enterprise to validate the license with AWS instead of Grafana Labs.

    1. In AWS IAM, assign the following permissions to the Node IAM role (if you are using a Node Group), or the Pod Execution role (if you are using a Fargate profile):

      • "license-manager:ListReceivedLicenses"
      • "license-manager:GetLicenseUsage"
      • "license-manager:CheckInLicense"

      For more information about creating an access policy, refer to Creating IAM policies (console).

    2. Choose one of the following options to update the configuration to :

      • Option 1: Use kubectl edit configmap grafana to edit grafana.ini add the following section to the configuration:

      • Option 2: Use kubectl edit deployment my-release to edit the pod env variables and add the following variable:

    Task 4: Start or restart Grafana

    To activate Grafana Enterprise features, you must start (or restart) Grafana.

    To restart Grafana on a Kubernetes cluster,

    1. Run the command .

    2. After you update the service, navigate to your Grafana instance, sign in with Grafana Admin credentials, and navigate to the Statistics and Licensing page to validate that your license is active.

    If you experience issues when you update the EKS cluster, refer to .