PuppyIP Resource Center
Cloud Operations 8 minutes Published 2026-12-03

Aurora PostgreSQL Database Branching Preview: A Guide to Migration Testing

Use short-lived branches to validate migrations in parallel. Check Region support, data authorization, and cleanup timing before you begin.

Amazon Aurora PostgreSQL Database migrations Database branches AWS preview

Service eligibility and regional restrictions

PuppyIP serves only compliant overseas businesses and their authorized personnel. Proxy services are not available in mainland China. The service may only be used for lawful business activities outside mainland China. Use of this service within mainland China is prohibited.

Hosting a proxy IP or server overseas does not change these restrictions. The service must not be provided to end users in mainland China through relaying, forwarding, sharing or resale. Before use, read the Terms of Service.

Key Takeaways

  • AWS announced the Aurora PostgreSQL database branching preview on Dec. 2, 2026, for parallel validation of application and schema changes.
  • The preview supports Aurora PostgreSQL 17 and later in only three Regions: Ohio, Frankfurt, and Mumbai.
  • Each branch has its own serverless compute and read/write endpoint, with copy-on-write data. Compute can scale to zero when idle, and the required TTL ranges from 1 hour to 90 days.
  • Branches inherit the parent cluster's connectivity and security controls, but still use parent-cluster data. Use them only for authorized tests with masked or synthetic data.

Start with the preview's intended use

On Dec. 2, 2026, AWS announced the preview of database branching for Aurora PostgreSQL. A branch is an isolated, queryable version of its parent cluster's data. It combines copy-on-write storage with separate compute so developers, CI pipelines, and AI coding agents can validate schema, migration, and data changes in parallel. A pull request can use its own short-lived database environment instead of competing for a shared test database.

Here, isolation means writes in a branch do not change the production parent or other branches. It does not mean that creating a branch cleans or anonymizes the parent's data. The preview's behavior, defaults, and limits may change, and AWS does not recommend branches for production workloads.

Check the PostgreSQL version and Region

The current preview is limited to Aurora PostgreSQL version 17 and later in three AWS Regions: US East (Ohio, us-east-2), Europe (Frankfurt, eu-central-1), and Asia Pacific (Mumbai, ap-south-1). Confirm that the parent cluster's engine version and Region qualify in the account you manage; this feature is not available in every Aurora PostgreSQL Region.

If your environment does not meet the version or Region requirements, use the test path your team has already approved. Do not treat the preview list as a production deployment recommendation or move or copy a real database just to try the feature.

Understand the branch endpoint and copy-on-write

When you create a branch, Aurora initially shares the parent cluster's data pages and stores only data that changes on the branch. This avoids physically copying the entire parent database first. Each branch runs its own Aurora Serverless compute, which scales with demand and can scale down to 0 ACUs when idle. A branch has its own read/write endpoint and inherits connectivity settings such as the parent's VPC and security groups.

Point the application or test tool explicitly at that branch endpoint; a database name alone does not identify the intended environment. Copy-on-write separates branch writes from the parent, but it does not replace account authorization, database permissions, or safeguards for test data. After a validation run, confirm that temporary jobs no longer use the endpoint and let the configured TTL remove the branch when it expires.

Keep access boundaries and test data under control

A branch inherits its parent's encryption settings, IAM controls, database users and roles, connectivity settings, and dynamic data masking policies. AWS also says that dynamic data masking policies configured on the parent are enforced in branches. Administrators should first confirm that authorized testers and automation can reach only approved branches, and that the parent's masking policies cover the sensitive fields this test will read.

Treat inherited controls as continued boundaries, not as proof that data has been anonymized. Prefer synthetic data for testing. If production-derived data is necessary, obtain the data owner's authorization, verify that sensitive fields are masked, and restrict access to results, logs, and exported files. These data-minimization steps are operational guidance; copy-on-write and TTL do not perform them automatically.

Run migration checks on a short-lived branch

A suitable workflow is to prepare a short-lived branch for one approved change, connect with a controlled test account through its dedicated endpoint, and validate schema migrations, index changes, data transformations, and application compatibility. Multiple pull requests can test in parallel, and experimental writes stay in the branch. Record the branch identifier, source cluster, test version, time, and result without exposing sensitive rows or credentials in the report.

Passing a branch test is not production approval and does not mean the branch has the same compute performance as production. Treat the result as one input to code review and the normal release process; review production changes separately under your organization's change-control, backup, and rollback requirements.

Watch TTLs, feature limits, and costs

Every branch requires a TTL from 1 hour to 90 days, after which Aurora automatically deletes it. You can create only one level of child branches, and a child branch's TTL cannot exceed the remaining TTL of its source. During the preview, you cannot change branch settings after creation. Aurora manages the engine version and parent database parameters: you cannot independently select an engine version, change parameters, choose provisioned instance types, or add read replicas.

Each branch is a single compute instance with no Multi-AZ automatic failover, automated backups, or service-level agreement (SLA). Branches are for development and testing, not production, load testing, or benchmarking, because branch compute can differ from production. AWS says there is no additional charge for branching itself; you pay for the serverless compute each branch consumes and the data changed within each branch, at existing Aurora Serverless rates. Scaling to zero means idle compute can stop billing; it does not mean every data-related cost is zero.

Choose between branches, clones, and Blue/Green

For short-lived, parallel CI or pull-request migration checks, consider a database branch. It uses serverless compute, inherits the parent's settings, and expires through its TTL, but it is not intended for benchmarking or a long-lived environment.

For long-lived QA or analytics that need independent control of provisioned instance types, parameters, read replicas, backups, or upgrades, an Aurora clone is a better fit. Clones can also use copy-on-write while providing the independent controls of a full Aurora cluster.

For a production change that needs a green staging environment followed by a production traffic switch, use Amazon RDS Blue/Green Deployments. Blue/Green is intended for staging and switching production changes, such as a major engine version upgrade; it is not a short-lived test branch for every development task.

Sources

Frequently Asked Questions

Does creating a branch anonymize production data?

No. A branch is a copy-on-write version of parent-cluster data and inherits its dynamic data masking policies. Verify the masking scope, prefer synthetic data, and allow only authorized test accounts to connect.

Can I use a database branch for production or a performance benchmark?

No. Preview branches have one compute instance and no Multi-AZ automatic failover, automated backups, or SLA. Branch compute can differ from production, so branches are intended for development and testing.

When should I use an Aurora clone or Blue/Green instead?

Consider a clone for long-lived QA or analytics that need independent instances, parameters, replicas, or backups. Use Blue/Green when you need to validate and then switch a production environment. Branches are for short-lived, parallel migration tests with a TTL.

What happens when a branch's TTL expires?

Aurora automatically deletes the branch. A TTL must be between 1 hour and 90 days; a child branch cannot outlive its source's remaining TTL, so choose the retention window before testing.