Upgrading to data plane v2.0? It requires a multi-step migration with irreversible infrastructure changes. Follow the Upgrade to v2.0 guide instead.
- AWS
- GCP
- Azure
This guide shows the routine process for upgrading the Braintrust data plane in your AWS account.See all module releases: GitHub ReleasesReview the planned changes before applying:Apply the changes:This updates both the infrastructure and the data plane components in a single apply.
Upgrading to AWS Terraform module v6.0? It requires a two-step apply to move the API from Lambda to ECS. Follow the Upgrade to v6.0 guide instead.
How it works
On AWS, the Braintrust data plane runs on ECS and EC2 (Terraform module versions before v6.0 run the API on Lambda). The data plane version is bundled into the Terraform module — each module release pins specific versions of the Braintrust API and Brainstore inVERSIONS.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:2. Review and apply
As of v5.6.0, the
modules/services sub-module requires the hashicorp/http provider ~> 3.3. If your .terraform.lock.hcl pins an older 3.x version, run terraform init -upgrade before terraform plan or terraform apply.Next steps
- Self-hosting releases — review release notes and infrastructure requirements for each data plane version
- Configuration — configure telemetry, network access, rate limiting, and other options