I Tried Out Database Branching for Amazon Aurora PostgreSQL (Preview)

I Tried Out Database Branching for Amazon Aurora PostgreSQL (Preview)

I created branches via the console and AWS CLI. Either way, an independent database is ready in about 100 seconds. On Aurora Serverless v2, it auto-stops after 10 idle minutes, and a 1-day TTL removes it automatically.
2026.12.03

This page has been translated by machine translation. View original

Introduction

On December 2, 2026, database branching for Amazon Aurora PostgreSQL was announced as a preview.

https://aws.amazon.com/about-aws/whats-new/2026/12/aurora-postgresql-branching-preview/

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-branching.html

Database branching is a feature that creates an independent, readable and writable copy (a branch) that inherits the data of an Aurora cluster. In this article, I worked with branches on an Aurora PostgreSQL cluster using the AWS CLI and the console, and checked things such as the time it takes to create a branch and the parent-child relationships between branches.

How Branching Works

Branches are created with copy-on-write. A branch shares the data pages of the parent cluster and stores only the data changed on the branch side. Each branch has its own dedicated serverless compute, and can be read from and written to independently of the parent cluster.

Each branch has a TTL, and Aurora automatically deletes it after the expiration. You can also create child branches from an existing branch.

Requirements and Limits

It is available for Aurora PostgreSQL 17 and later. The supported Regions are us-east-2 (US East (Ohio)), eu-central-1 (Europe (Frankfurt)), and ap-south-1 (Asia Pacific (Mumbai)).

Item Details
TTL 1 hour to 90 days. The TTL of a child branch cannot exceed the remaining TTL of its source branch
Number of branches 50 per cluster (10 for the AWS Free Tier), 2,000 per account
Child branches Up to 1 level
Compute Minimum 0 ACU. The maximum ACU can be specified in 0.5 ACU increments up to 64 ACU, with a default of 16 ACU. The maximum for the AWS Free Tier is 4 ACU
Branch settings Cannot be changed after creation during the preview
Engine version Managed by Aurora
Parameters Inherited from the parent cluster, and later updates made on the parent cluster are also reflected
Instance type and read replicas You cannot choose the instance type, and you cannot add read replicas
Availability A single compute instance. There is no Multi-AZ failover or automated backup, and it is not covered by the SLA

Test Environment

  • Region: US East (Ohio) us-east-2 (specified with the environment variable AWS_REGION)
  • AWS CLI: 2.43.2
  • Parent cluster: Aurora PostgreSQL 17.9, Express configuration (maximum 16 ACU, auto-pause after 5 minutes of idleness)
  • Parent data: orders table with 100,000 rows (about 9400 kB)
  • Cluster used for console verification: database-1 (Aurora PostgreSQL 17.9, 0 to 16 ACU)

Creating a Branch in the Console

When I opened the cluster details screen, a Branches - Preview tab was displayed. There was also a Create branch - Preview option in the Actions menu.

Cluster details screen. The Actions menu has Create branch - Preview, and the Branches - Preview tab is also displayed

In the Create branch dialog, you specify the branch name, the minimum and maximum ACU, and the TTL.

Create branch dialog. Specify the branch name, minimum and maximum ACU, and TTL

When I created a branch with a minimum of 0 ACU, a maximum of 16 ACU, and a TTL of 24 hours, the Status became Available.

Running Timeline

The branch I created, branch-087279, progressed as follows with no connections (DatabaseConnections was 0).

Time (UTC) Record
December 2, 2026 17:55:39 (December 3, 02:55:39 JST) CreateBranch was recorded in CloudTrail. secondsUntilAutoPause in scalingConfiguration was 300
17:56 The first EngineUptime data point was 16 seconds. ServerlessDatabaseCapacity was about 4 ACU
18:01 The last EngineUptime data point was 316 seconds
18:03 onward ServerlessDatabaseCapacity was 0

Creating and Connecting to a Branch with the AWS CLI

For the following operations, I used AWS CLI 2.43.2, which supports branches.

I created the parent cluster with the following command.

aws rds create-db-cluster --db-cluster-identifier devio-brn-exp --engine aurora-postgresql --with-express-configuration --tags Key=purpose,Value=devio-brn-verify --output json

You create a branch by specifying the parent cluster. With the following command, I created a branch b1 with a TTL of 7200 seconds and a maximum of 2 ACU.

aws rds create-branch --source-db-cluster-identifier devio-brn-exp --branch-name b1 --ttl-seconds 7200 --scaling-configuration MaxCapacity=2 --output json

The branch became available about 100 seconds after creation.

I connected using IAM database authentication. I generated a token by specifying the branch endpoint and passed it to psql. The DB users and roles used for connecting are defined on the parent cluster.

export AWS_REGION=us-east-2
export PGSSLMODE=require
export PGPASSWORD=$(aws rds generate-db-auth-token --hostname <branch-endpoint> --port 5432 --username postgres)
psql "host=<branch-endpoint> port=5432 dbname=postgres user=postgres"

Independence from the Parent and Child Branches

I created a child branch g1 from b1.

aws rds create-branch --source-db-cluster-identifier devio-brn-exp --source-branch-name b1 --branch-name g1 --scaling-configuration MaxCapacity=2 --output json

The child branch g1, created without specifying a TTL, inherited the expiration of b1 and the row I had added. Updating g1 was not reflected in b1.

Operation Parent b1 g1
Add 1 row to b1 100000 100001 Not created
Create g1 from b1 Not measured 100001 100001
Update amount to 0 for all rows in g1 and add 1 row Not measured 100001 100002
Add 1 row to the parent 100001 100001 Not measured

Summary

A branching feature, which inherits the data of a parent cluster and can be read from and written to independently, has arrived in Aurora PostgreSQL as a preview.

Compared with traditional Aurora clones and restoring from snapshots, branches are available with a shorter wait. Automatic deletion via TTL, which prevents cost increases from forgotten resources, is also a big advantage.

Branches have a single-instance configuration and are not covered by the SLA. Because they may differ from production compute, they are not suited to load tests or benchmarks. On the other hand, they are a very powerful option for pre-validating migrations and as temporary development and test databases for each PR.

Share this article

AWSのお困り事はクラスメソッドへ