Tech News

Aurora PostgreSQL Database Branching: What the Preview Enables

AWS's preview creates isolated, copy-on-write Aurora PostgreSQL branches for schema and migration tests. Check its versions, regions, cost, and production limits.

SQL & DatabasesAI & LLMsCloud & DevOps

What does Aurora PostgreSQL database branching do, and can you use it in production? As of December 3, 2026, AWS’s preview lets teams create short-lived branches of an Aurora PostgreSQL cluster to test schema changes and migrations against production-derived data. Each branch has separate serverless compute and copy-on-write storage, but AWS does not recommend using the preview for production workloads.

AWS announced the capability on December 2. It is aimed at parallel work: a developer, pull request, or AI coding agent can test a change on its own branch rather than queueing for a shared staging database. The feature is currently limited to Aurora PostgreSQL 17 and later in Ohio, Frankfurt, and Mumbai.

How an Aurora database branch behaves

The branch initially references the parent cluster’s existing data pages. Writes made in the branch are stored separately, so test changes do not alter the parent cluster or sibling branches. Each branch also has a separate read/write endpoint and serverless compute that can scale to zero while idle.

This model can make short-lived environments faster to create than a full database copy. It does not make every test equivalent to production: branch compute is managed by Aurora, and AWS says the compute can differ from the parent workload. Use branches for functional tests and migration checks, not load tests or performance benchmarks.

A fit for migration checks and parallel pull requests

A team can create a branch for a proposed schema migration, apply the migration, run application tests, and discard the branch when the work is complete. AWS documents support for data writes and DDL such as table changes and index creation. The branch can be created and managed through the console, AWS CLI, SDKs, or AWS MCP Server.

Every branch needs a time-to-live (TTL). AWS automatically deletes it when that period expires; during preview, the TTL must be between one hour and 90 days. Branches can be created from a cluster or from another branch, but nesting is limited to one child level. An automated pull-request workflow should therefore set an appropriate TTL and treat branch cleanup as part of its lifecycle rather than as a manual afterthought.

Preview limits and access checks

The preview has operational limits that make it unsuitable as a replacement for production or a persistent test environment. Branches have no Multi-AZ failover, automated backups, or service-level agreement. You also cannot change a branch’s settings after creating it. AWS lists a limit of 10 branches per cluster on the Free Tier and 50 otherwise, with a separate account quota of 2,000 branches.

Branches inherit the parent cluster’s encryption, database users and roles, network settings, IAM controls, and Aurora dynamic data-masking policies. That inheritance can reduce configuration drift, but teams should still verify which people, CI jobs, and agents can create, connect to, and delete branches. In particular, test whether production-derived data is masked as intended before granting an agent access.

AWS says there is no separate charge for the branching feature itself; branch serverless compute and changed data are billed at existing Aurora Serverless rates. Treat this as AWS’s pricing description and confirm current pricing for your region and configuration before estimating a pipeline budget.

Branches, clones, and Blue/Green Deployments serve different jobs

AWS positions database branches for many short-lived CI/CD and AI-agent tests. An Aurora clone offers a more independent cluster for longer-lived work that needs provisioned instance choices, parameter changes, read replicas, or separate backups. Blue/Green Deployments are for staging production changes—such as engine upgrades—and switching the validated environment into service. Choose based on the lifecycle and controls the test requires, not just how quickly a copy can be created.

For an initial evaluation, confirm the parent engine version and region, define IAM ownership for each branch, validate masking with representative tests, and choose a TTL that matches the pipeline. Keep production promotion as a separate reviewed deployment step; a passing test branch does not itself validate production capacity or provide a production-ready failover path.

Sources

Share this article