Skip to main content

Documentation Index

Fetch the complete documentation index at: https://wb-21fd5541-docs-2661.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

This guide shows W&B Server administrators how to update the W&B Server version and license key for an existing self-managed deployment. Keeping your server and license current ensures access to the latest features, fixes, and continued entitlement to use W&B Server. Update your W&B Server version and license with the same method you used to install W&B Server. The following table lists how to update your license and version based on different deployment methods.
Release typeDescription
TerraformW&B supports three public Terraform modules for cloud deployment: AWS, Google Cloud, and Azure.
HelmUse the Helm Chart to install W&B into an existing Kubernetes cluster.

Update with Terraform

If you deployed W&B Server with one of the W&B-maintained Terraform modules, use Terraform to update both your license key and the W&B version in place. The following table lists W&B-managed Terraform modules by cloud platform.
Cloud providerTerraform module
AWSAWS Terraform module
Google CloudGoogle Cloud Terraform module
AzureAzure Terraform module
  1. Navigate to the W&B-maintained Terraform module for your cloud provider. See the preceding table to find the Terraform module that matches your cloud provider.
  2. In your Terraform configuration, update wandb_version and license in your Terraform wandb_app module configuration:
    module "wandb_app" {
        source  = "wandb/wandb/[CLOUD-SPECIFIC-MODULE]"
        version = "new_version"
        license       = "new_license_key" # Your new license key
        wandb_version = "new_wandb_version" # Desired W&B version
        ...
    }
    
  3. Apply the Terraform configuration with terraform plan and terraform apply.
    terraform init
    terraform apply
    
  4. Optional: If you use a terraform.tfvars or other .tfvars file, update or create one with the new W&B version and license key.
    terraform plan -var-file="terraform.tfvars"
    
    From your Terraform workspace directory, apply the configuration:
    terraform apply -var-file="terraform.tfvars"
    
After Terraform applies the change, your deployment runs the specified W&B version and uses the updated license key.

Update with Helm

The wandb Helm chart is deprecated and no longer supported. It deployed a single pod and has been replaced by the W&B Kubernetes Operator. If you’re still using this chart, follow the migration guide to move to the operator.
Two Helm-based update paths are available: update from your existing Helm values file, or set the new license and image tag directly on the upgrade command. The following sections describe each approach.

Update W&B with spec

Use this approach when you manage your Helm configuration in a tracked *.yaml values file.
  1. Specify a new version by modifying the image.tag or license values, or both, in your Helm chart *.yaml configuration file:
    license: 'new_license'
    image:
      repository: wandb/local
      tag: 'new_version'
    
  2. Update the Helm repository and upgrade the W&B release using your values file:
    helm repo update
    helm upgrade --namespace=wandb --create-namespace \
      --install wandb wandb/wandb --version ${chart_version} \
      -f ${wandb_install_spec.yaml}
    

Update license and version directly

Use this approach to update the license and image tag without editing a values file, and reuse your existing Helm release configuration.
  1. Set the new license key and image tag as environment variables:
    export LICENSE='new_license'
    export TAG='new_version'
    
  2. Upgrade your Helm release, merging the new values with the existing configuration:
    helm repo update
    helm upgrade --namespace=wandb --create-namespace \
      --install wandb wandb/wandb --version ${chart_version} \
      --reuse-values --set license=$LICENSE --set image.tag=$TAG
    
For more information, see the upgrade guide in the public repository.

Update with admin UI

Use the admin UI to rotate your license key from within the W&B App, without changing your deployment configuration. This method only works for updating licenses that aren’t set with an environment variable in the W&B server container, typically in self-managed Docker installations. This method updates the license only. It doesn’t change the running W&B Server version.
  1. Obtain a new license from the W&B Deployment Page, ensuring it matches the correct organization and deployment ID for the deployment you want to upgrade.
  2. Access the License page in the W&B App. Click Settings > License or browse to HOST_URL/console/settings/license, where HOST_URL is your W&B Server host URL.
  3. Navigate to the license management section.
  4. Enter the new license key and save your changes.