View a markdown version of this page

Choosing between Aurora clones, Blue/Green Deployments, and database branches - Amazon Aurora

Choosing between Aurora clones, Blue/Green Deployments, and database branches

Aurora offers several ways to work with a copy of your production data or to stage changes. Use the following guidance to choose between database branches, Amazon RDS Blue/Green Deployments, and Aurora clones.

  • Use database branches to test application and schema changes in CI/CD and AI-agent workflows. Each branch has its own serverless compute, so there's no instance type to choose and no engine version to manage. A branch inherits the parent cluster's database settings and security controls, including dynamic data masking, scales to zero when idle, and expires automatically. Branches are a good fit for many short-lived, parallel test environments. Because a branch's compute can differ from production, branches aren't intended for load testing or benchmarking.

  • Use Amazon RDS Blue/Green Deployments for production changes, such as a major engine version upgrade. A Blue/Green Deployment creates a staged green environment where you validate changes, and then you switch production traffic to it with minimal downtime. Blue/Green Deployments manage the move into production rather than creating separate databases for development. For more information, see Using Amazon Aurora Blue/Green Deployments for database updates.

  • Use Aurora clones when you need the full flexibility of an Aurora cluster with a copy-on-write copy of production. A clone supports provisioned instance types that match production, parameter changes, read replicas, and independent backups and upgrades. Clones are a good fit for long-lived environments, such as a persistent QA or analytics workload. For more information, see Cloning a volume for an Amazon Aurora DB cluster.

The following table compares the three approaches.

Approach Purpose Lifecycle Compute and configuration control

Database branches

Test application and schema changes in CI/CD and AI-agent workflows.

Short-lived; expires automatically through a required TTL.

Serverless compute only; inherits the parent cluster's settings and security controls. No instance type or engine version to manage.

Amazon RDS Blue/Green Deployments

Stage and validate production changes, such as a major engine version upgrade.

Temporary staging environment that you switch into production.

Mirrors production for validation, then replaces production.

Aurora clones

Create a full, independent copy of a cluster for long-lived development, testing, or analytics.

Long-lived; you delete the clone when you finish with it.

Full cluster control, including provisioned instance types, parameter changes, and read replicas.