Aurora PostgreSQL branching: what it changes for CI and agents
AWS previewed Aurora PostgreSQL database branching on December 2, 2026. What changed, the quotas, and how to test migrations on branches safely.
On December 2, 2026, AWS announced database branching for Amazon Aurora PostgreSQL (preview). A branch is an isolated, copy-on-write copy of your cluster's data with its own serverless compute, meant for testing schema changes and migrations without touching production. It is a preview that AWS says not to use for production workloads, so the move this week is to try it in a sandbox, not to rewire your pipeline.
What was announced, and what is different?
Per the announcement, each branch gives a developer or an AI coding agent its own copy of a production database, so teams do not queue for a shared staging environment. Branches can run in parallel, for example one per pull request or per agent task.
The AWS documentation describes the mechanism:
- Copy-on-write storage: a branch starts by sharing the parent's data pages and stores only what changes on the branch, so Aurora does not physically copy the data.
- Its own compute: every branch runs on Aurora Serverless and scales to zero when idle, even if the parent cluster is provisioned.
- Its own endpoint: each branch has a read/write endpoint that inherits the parent's VPC and security groups.
- Inherited security: encryption, database users and roles, and dynamic data masking policies carry over from the parent.
- Automatic expiry: every branch needs a time-to-live (TTL), and Aurora deletes the branch when it ends.
- 1Create from parent
- 2Run migration
- 3Test
- 4Expires (TTL)
Per AWS documentation, a branch shares the parent's pages, stores only its own changes, and is deleted automatically when its TTL ends.
What existed before? Aurora already offered clones and Blue/Green Deployments. AWS positions them differently: branches for many short-lived, parallel test environments in CI/CD and agent workflows; Blue/Green Deployments for staging production changes such as a major version upgrade; clones for long-lived environments that need provisioned instances, parameter changes and read replicas.
Who should care, and who can ignore it?
Care if you:
- run Aurora PostgreSQL 17 or higher and test migrations against a single shared staging database;
- let AI coding agents write migrations and want them to run on realistic data first;
- keep production-like data in staging and worry about who can reach it.
You can ignore it, for now, if you run Aurora MySQL, an older PostgreSQL version, or a Region other than the three in the preview: US East (Ohio), Europe (Frankfurt) and Asia Pacific (Mumbai). There is no Canadian Region in that list as of December 2026, which matters if your data residency rules keep production data in Canada.
What does it cost, and what are the limits?
As of December 2026, AWS says branching has no separate charge. You pay existing Aurora Serverless rates for the compute a branch uses and for the data changed within it.
The limits page lists:
- Up to 50 branches per cluster (10 on the AWS Free Tier) and 2,000 per account.
- One level of child branches only.
- Compute from 0 ACU up to a configurable maximum: 16 ACU by default, up to 64 ACU in 0.5 steps (4 ACU on the Free Tier).
- A required TTL from 1 hour to 90 days, which cannot exceed the source's remaining TTL.
- A single compute instance with no Multi-AZ failover, no automated backups and no SLA.
- No independent engine version or parameter changes, and no settings changes after creation during the preview.
AWS also says that because a branch's compute can differ from production, branches are not for load testing or benchmarking. Do not use them to size your production cluster.
How can a team try it safely this week?
- Pick a sandbox cluster. Use a non-production Aurora PostgreSQL 17+ cluster in one of the three Regions. AWS says preview behaviour, defaults and limits may change before general availability.
- Create one branch by hand. Set a short TTL, such as a few hours, and a low maximum ACU. Connect through the branch endpoint.
- Run your next real migration on it. Note how long it takes as a rough signal of data volume, and look at the plan of the queries that matter. Then delete the branch.
- Check the masking. If you use dynamic data masking, confirm a branch user sees masked values and not raw ones (the masking page lists its own minimum engine versions, so check yours).
- Script a branch per pull request. The announcement lists the console, the CLI, the SDKs and the AWS MCP Server, and the documentation says a branch can also be created through an Amazon EventBridge action. Try one pipeline, with the TTL set so a failed job cannot leave branches behind.
- Give an agent its own IAM role. The IAM page shows how to let a role create branches from the parent and manage or connect (with IAM database authentication) only to branches it owns, using a tag condition. Narrow the cluster ARN in the sample policy to your sandbox cluster. Start from that pattern and check the role cannot modify or connect to the parent cluster itself.
What would we check first?
We would start with the data, not the feature. A branch copies production-derived data, so the first question is who may see it. We would check:
- Whether masking policies exist on the parent today, and whether they cover the columns that matter.
- Whether password users inherited from the parent could still reach a branch outside IAM.
- Whether the IAM boundary lets a pipeline or an agent reach only its own branches.
- Whether your migrations are slow because of data volume or because of locks. A branch shows the first; production locking behaviour still needs care.
- Whether the Region list and the "not for production" rule fit your compliance position, including data residency.
- Whether TTLs and the 50-branch quota fit your pull request volume, and what deletes branches that a failed job left behind.
- Whether the preview's changes before general availability would break a pipeline you build now.
When it leaves preview, we would re-read the pricing and limits before wiring it into CI. If you want a second pair of eyes on database delivery and agent safety, see our services.
This article is general information based on AWS's public documentation as of December 2026, which may change. It is not legal, security or financial advice. Check requirements with the relevant professionals.