Two pull requests need to change the same database. On shared staging, one team's migration can change the starting point for the other's test. AWS wants to give each change a database of its own.
Amazon Web Services announced database branching for Aurora PostgreSQL in preview on Dec. 2. The feature gives developers and AI coding agents temporary, read-write copies on which they can test application and schema changes without altering the parent database.
The preview supports Aurora PostgreSQL 17 and later in US East (Ohio), Europe (Frankfurt), and Asia Pacific (Mumbai).
Think of this as a place to answer a narrow question: Does this particular change work against data that looks like our own? A branch can help teams answer that question in parallel. A longer-lived test cluster and a production cutover still call for different tools.
One database, three different jobs
The quickest way to choose among AWS's three options is to ask what should happen when the test ends. A temporary branch expires automatically. A clone stays available until the team deletes it. A Blue/Green deployment keeps a staging environment in sync with production for a planned switchover.
| Option | Best for | What sets it apart |
|---|---|---|
| Aurora database branch | Testing an application or schema change for a pull request | Its own serverless compute and read-write endpoint; automatic expiration; not intended for benchmarking |
| Aurora clone | Persistent QA, analytics, or tests that need a specific instance configuration | Its own cluster, with options for provisioned instances, parameter changes, read replicas, and independent backups |
| Amazon RDS Blue/Green Deployment | Staging a supported production change such as a major version upgrade | Replicates production changes to the staging environment and supports switching live traffic to it |
The preview addresses a problem that can get harder as coding agents produce more changes to review. An automated system can find a software bug or suggest a fix.
It can't tell a team that a migration works against its own data until the change is actually tested. A branch gives each test a place to run without waiting for the next slot in shared staging.
What eWEEK found: A passing branch test isn’t a green light for production
Suppose one pull request adds a required field to a billing table while another adds an index. On separate branches, each team can check its change without the other team's test rewriting the starting data. If both changes are headed for the same release, reviewers still need to see what happens when they run together.
AWS uses copy-on-write storage. A branch initially shares storage pages rather than physically duplicating the database; changes written to the branch are isolated from the parent. Its separate serverless compute can scale to zero when idle.
There is no separate fee for branching, AWS says, but the compute a branch uses and the data changed within it are billed at existing Aurora Serverless rates. Parallel tests still have a bill.
The preview limits also matter for teams planning how long a test should run. A branch expires after a required lifetime of one hour to 90 days. It runs on a single compute instance without Multi-AZ failover, automated backups, or a service-level agreement.
Teams cannot change a branch's settings after creation during the preview, and later changes to the parent's database parameters can still carry over.
A clone makes more sense if a QA team needs to run the same suite for several releases or control the instance type and parameters. If the job is a production upgrade, check Blue/Green compatibility for the engine version and planned changes.
A passing branch test won't reveal how the production workload behaves under load or tell the team what happens when traffic switches over.
What to measure in a branching pilot
Start with a pipeline where migration tests already wait for shared staging. Compare the time a pull request spends waiting for a database with the time it spends actually running tests. Branching addresses the first bottleneck. It won't fix a slow test suite or make a costly migration run faster in production.
Give reviewers something that survives the branch. Store the migration version, the test results, and any approved diagnostics with the pull request, rather than relying on a database that may be gone by the time someone investigates a failure.
Separate branches can also start at different times. If two results must be directly comparable, have the pipeline use an approved, controlled starting dataset instead of assuming the underlying parent data stayed the same.
A temporary database can still hold sensitive data
Aurora branches inherit controls such as encryption, database users and roles, and existing dynamic data masking. Inheriting those controls does not anonymize the underlying data or take away privileges a role already has. The distinction matters as teams give agents access to enterprise data.
Before a test, verify what the developer or agent can read and whether logs or exports could retain information after the branch disappears.
AWS has added new Aurora capabilities at re:Invent before. This one gives teams a new place to do a familiar job: prove that one proposed change behaves as intended.
If the trial gets reviewers that evidence without making another team wait, keep the branch in the pipeline. Keep the production deployment decision separate.
Other news: Catch up on AWS's other re:Invent announcements, including Context, Greenlight, and its Ergo coding model.


