AWS Previews Aurora PostgreSQL Branching: When to Branch, Clone, or Go Blue/Green

Written By
Ai Cerrudo
Ai Cerrudo
Dec 3, 2026
4 minute read
AWS logo.

AWS is previewing temporary Aurora PostgreSQL branches for testing application and schema changes without altering the parent database. Image: Unsplash/Woliul Hasan

eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

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.

OptionBest forWhat sets it apart
Aurora database branchTesting an application or schema change for a pull requestIts own serverless compute and read-write endpoint; automatic expiration; not intended for benchmarking
Aurora clonePersistent QA, analytics, or tests that need a specific instance configurationIts own cluster, with options for provisioned instances, parameter changes, read replicas, and independent backups
Amazon RDS Blue/Green DeploymentStaging a supported production change such as a major version upgradeReplicates production changes to the staging environment and supports switching live traffic to it
Advertisement

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.

Advertisement

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.

Advertisement

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.

Ai Cerrudo

Ai Cerrudo is a writer and editor with a decade of experience in media and publishing. Beginning as a journalist in the Philippines, Ai has covered a diverse spectrum of beats, including politics, healthcare, business, and interactive media/gaming. Blending analytical rigor with engaging storytelling, she now works as an editor across technology and AI media

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.