Skip to main content
Upgrading to v2.0? It requires a multi-step migration with irreversible infrastructure changes. Follow the Upgrade to v2.0 guide instead.
This guide shows the routine process for upgrading the Braintrust data plane in your AWS account.

How it works

On AWS, the Braintrust data plane runs on Lambda and EC2. The data plane version is bundled into the Terraform module — each module release pins specific versions of the Braintrust API and Brainstore in VERSIONS.json. When you update your module source to a newer version and run terraform apply, Terraform automatically deploys the corresponding data plane.To check which data plane version you’re currently running, go to Settings > Data plane in the Braintrust UI.

1. Update the module version

Check the Self-hosting releases page for your target data plane version to find the minimum Terraform module version required. Then update the ?ref= in your module source:
module "braintrust-data-plane" {
  source = "github.com/braintrustdata/terraform-aws-braintrust-data-plane?ref=v4.1.0"

  # ... other configuration ...
}
See all module releases: GitHub Releases

2. Review and apply

Review the planned changes before applying:
terraform plan
Carefully review the output of terraform plan before applying. If you see something unexpected, like deletion of a database or S3 bucket, contact Braintrust for help.
Apply the changes:
terraform apply
This updates both the infrastructure and the data plane components in a single apply.

Next steps