# DBLab vs Amazon Aurora cloning: clones of any Postgres vs Aurora clusters

> Aurora cloning creates a new Aurora cluster that shares the source's storage pages, with its own DB instances. DBLab clones any PostgreSQL on one machine you control.

Checked on 2026-11-18. Page: https://postgres.ai/compare/dblab-vs-aurora-cloning. All comparisons: https://postgres.ai/compare.

## Short answer

Aurora cloning is part of Amazon Aurora. A clone is a new Aurora DB cluster whose volume shares the source's pages by copy-on-write; you add DB instances to it and pay for those instances and for the pages the clone changes. DBLab Engine is open-source software that keeps one copy of any PostgreSQL, including Aurora and RDS, on a machine you run, and serves many thin clones from it. If production is on Aurora and each test copy needs its own compute, Aurora clones are the direct path. If you need many copies at once, masking, or sources outside Aurora, DBLab fits.

## Where DBLab is ahead of Amazon Aurora cloning

1. **Clones the Postgres you already run.**
   - DBLab: Any PostgreSQL from version 10 up, wherever it runs: Amazon RDS, Aurora, Cloud SQL, Supabase or your own servers. ([DBLab data sources](https://postgres.ai/docs/dblab-howtos/administration/data), [Supported PostgreSQL versions and extensions](https://postgres.ai/docs/database-lab/supported-databases))
   - Amazon Aurora cloning: Aurora cloning copies Aurora DB clusters that have at least one DB instance, in the same AWS Region. An RDS for PostgreSQL database first has to be migrated into Aurora PostgreSQL, from a snapshot or through an Aurora read replica. [1][6]
2. **One copy of the data, many clones.**
   - DBLab: Clones share one physical copy on one machine and take extra disk space only for what they change. DBLab SE is billed by the size of that machine, not by database size or number of clones. ([DBLab Engine](https://postgres.ai/docs/database-lab), [Pricing](https://postgres.ai/pricing))
   - Amazon Aurora cloning: Each Aurora clone is its own DB cluster: you pay for its DB instances by instance-hour or ACU-hour, plus storage for the pages it changes. After 15 copy-on-write clones of a cluster, the next clone is a full copy. [1][4]
3. **The data stays on a machine you control.**
   - DBLab: DBLab runs on a machine you control, in any cloud or on-premises. ([DBLab Engine](https://postgres.ai/docs/database-lab), [Pricing](https://postgres.ai/pricing))
   - Amazon Aurora cloning: Aurora is a fully managed engine: "Amazon RDS is responsible for hosting the software components and infrastructure of DB instances and DB clusters." Clones stay in the source's AWS Region. [5][1]
4. **Masking by rules you define.**
   - DBLab: Load an anonymized dump, or apply SQL transformations or PostgreSQL Anonymizer before snapshots are taken. ([Data masking and obfuscation](https://postgres.ai/docs/database-lab/masking))
   - Amazon Aurora cloning: An Aurora clone starts with all of the source cluster's pages as of the latest restorable time. The sources we reviewed do not describe masking data in a clone. [1]

## Try a clone before you install anything

```
dblab clone create --username dev --password "$PASSWORD" --id test
```

The public demo runs DBLab Engine: open it with the token demo-token, create a clone and connect to it. DBLab Engine is open source, so the next step is a machine of your own.

- [Open the DBLab demo](https://demo.dblab.dev)
- [Install DBLab Engine](https://postgres.ai/docs/dblab-howtos/administration/install-dle-manually)

## Side by side

| | DBLab | Amazon Aurora cloning |
|---|---|---|
| What it is | Open-source software that gives every developer, CI job and AI agent a writable, full-size copy of a PostgreSQL database in seconds. Thin clones share one physical copy of the data on one machine. | A feature of Amazon Aurora, which includes Aurora PostgreSQL, that creates a new Aurora DB cluster which "initially shares the same data pages as the original, but is a separate and independent volume." AWS lists testing schema and parameter changes, exports and analytics, and dev and test copies as uses. [1][5] |
| Which databases it can copy | Any Postgres source: yes. Any PostgreSQL from version 10 up, wherever it runs. Managed services such as Amazon RDS, Aurora, Cloud SQL and Supabase are copied with dump and restore; self-managed servers can also be copied physically with WAL-G, pgBackRest or pg_basebackup. | Any Postgres source: partly. Clones Aurora DB clusters, in the same account or shared from another account with AWS RAM. An RDS for PostgreSQL database gets there by migration: from a snapshot or through an Aurora read replica; data can also be imported from Amazon S3. [1][2][6] |
| How a copy is made | Copy-on-write in the file system, with ZFS or LVM. Clones share unchanged blocks, so a clone takes extra disk space only for what it changes. | Copy-on-write at the Aurora storage layer. "When the clone is created, no data is copied"; the clone points to the source's pages, and a write on either side creates a new page. The clone cluster then needs its own DB instances to accept connections. [1] |
| Time to get a copy | A few seconds whatever the database size: under 2 seconds for a 10 TiB database with one user, up to 30 seconds with 15 users at once. The first copy of the source is slow; about 1 TiB an hour is a good speed. | AWS says cloning is "designed to be fast" and faster than restoring a snapshot. The docs we read give no time in seconds. With the CLI the clone cluster is created first, without DB instances; you add a writer instance once the cluster is available. [1] |
| Data in a copy | Full-size data: yes. The whole database as of the chosen snapshot. Physical mode can follow the source continuously; logical mode is refreshed in full, on a schedule. | Full-size data: yes. The whole cluster volume as of the latest restorable time. The clone shares the source's pages at creation; later changes on the source are not visible in the clone. [1] |
| Masking sensitive data | Masking: yes. Documented options: load an anonymized dump, or apply SQL transformations or PostgreSQL Anonymizer before snapshots are taken. You define the rules. | Not documented in the sources we reviewed. [1][2] |
| CI and migration testing | CI integration: yes. DB Migration Checker runs pending migrations on a clone in CI, fails those that hold dangerous locks longer than a limit (10 seconds by default) and collects statistics. Any CI job can also create clones through the API or CLI. | CI integration: partly. The sources we reviewed do not describe a CI integration or migration check. Clones are created with the AWS CLI (restore-db-cluster-to-point-in-time with --restore-type copy-on-write, then create-db-instance) or the RDS API. [1] |
| API, CLI and agent access | REST API, web UI and the dblab CLI. Joe, also available as pgai joe, returns EXPLAIN plans and timings from a clone, not rows. | AWS Management Console (Create clone, which makes a cluster with one DB instance), AWS CLI and RDS API. Cross-account sharing uses the AWS RAM console, CLI or API. [1][2] |
| Where it runs | Self-hosted: yes. On a machine you control, in any cloud or on-premises. DBLab SE installs from the PostgresAI Console or AWS Marketplace. | Self-hosted: no. Aurora is "a fully managed relational database engine" in AWS. "Amazon RDS is responsible for hosting the software components and infrastructure of DB instances and DB clusters." [5] |
| Open source | Yes. DBLab Engine is open source under Apache 2.0. | Does not apply. Aurora cloning is a feature of Amazon Aurora, a managed AWS service used through the AWS console, CLI or API. [5] |
| Documented limits | DBLab SE: 2,000 GiB per instance and a single user. All clones share one machine, and copy-on-write storage has different I/O performance, so timings on a clone should not be compared directly with production. | Up to 15 copy-on-write clones; after that a new clone is a full copy that "acts like a point-in-time recovery". Clones count toward DB clusters per Region (40 by default, adjustable). Same Region only. The source needs at least one DB instance. Cross-account: 15 per cluster, one per account, not for clusters encrypted with the default RDS key. [1][2][3] |
| What you pay for | One machine and one physical copy of the data, however many clones run. DBLab SE is billed hourly by the size of that machine, not by database size or number of clones. | A clone is an Aurora cluster: you pay for its DB instances (per instance-hour, or per ACU-hour for Aurora Serverless) and for the storage of pages it changes. Shared pages are charged to the source; if the source is deleted, their charges move to the clones. [1][4] |

## When Amazon Aurora cloning is the better choice

- Your database already runs on Aurora. A clone is made from the cluster itself, with no second copy to load and no clone server to run.
- A clone starts with all of the source's data and is charged storage only for pages it changes; in AWS's example a clone that modifies 100 of 1,000 pages is charged for 100.
- Each clone is a full Aurora cluster with its own DB instances, sized as you choose, including Aurora Serverless, so heavy tests do not share a machine with other copies.
- Cross-account cloning with AWS RAM lets another AWS account, such as a test or audit account, create a clone; up to 15 cross-account clones per cluster.
- Clones can be placed in a different VPC, and you can clone a clone.

## Pricing

| Product | Plan | List price | Notes |
|---|---|---|---|
| DBLab | DBLab Engine | Free | Open source, Apache 2.0; you run it |
| DBLab | DBLab SE | From $62/month | Billed hourly by machine size, plus your own cloud costs; 2,000 GiB limit; single user |
| DBLab | DBLab EE | Custom | Annual contract, from $0.2662 per 100 GiB per hour; unlimited database size, SSO |
| Amazon Aurora cloning | DB instances of the clone | Per instance-hour, by instance class | Aurora PostgreSQL db.r6i.large: $0.29 per hour on Aurora Standard, $0.377 on I/O-Optimized, US East (N. Virginia); partial hours billed in 1-second increments with a 10-minute minimum [4] |
| Amazon Aurora cloning | Aurora Serverless capacity | $0.12 per ACU-hour | Aurora PostgreSQL, Aurora Standard, US East (N. Virginia); $0.16 per ACU-hour on I/O-Optimized [4] |
| Amazon Aurora cloning | Aurora Standard storage | $0.10 per GB-month | Aurora PostgreSQL, US East (N. Virginia); plus $0.20 per 1 million I/Os; a clone is charged only for the pages it changes [4][1] |
| Amazon Aurora cloning | Aurora I/O-Optimized storage | $0.225 per GB-month | Aurora PostgreSQL, US East (N. Virginia) [4] |

DBLab prices: https://postgres.ai/pricing. Prices are the Aurora PostgreSQL list prices for US East (N. Virginia) in the price tables on the Aurora pricing page; other Regions differ. The pricing page we read lists no separate charge for cloning.

## Using both

DBLab names Aurora as a source: it copies an Aurora database with dump and restore and refreshes it in full. For RDS and Aurora, that refresh can dump from a temporary RDS clone, leaving production untouched (DBLab 4.1 and later). Aurora clones stay available for tests that need their own Aurora compute.

## Questions

### Can Aurora cloning copy an RDS for PostgreSQL or self-managed database?

Not directly. Cloning works on Aurora DB clusters. AWS documents migrating an RDS for PostgreSQL instance into Aurora PostgreSQL from a snapshot or through an Aurora read replica, and importing data from Amazon S3. DBLab copies RDS, Aurora and self-managed PostgreSQL where they are. [1][6]

### What does an Aurora clone cost?

You pay for the clone's DB instances, by instance-hour or ACU-hour, and for the storage of pages the clone changes. In AWS's example, a source with 1,000 pages is charged for 1,000 and a clone that modifies 100 pages is charged for 100. [1][4]

### How many Aurora clones can I create?

As many as the DB cluster quota allows, 40 per Region by default and adjustable. Only the first 15 use copy-on-write; after that a new clone is a full copy. Cross-account clones are limited to 15 per cluster, one per AWS account. [1][2][3]

### Can I use DBLab and Aurora cloning together?

Yes. DBLab copies Aurora with dump and restore. For RDS and Aurora, its full refresh can dump from a temporary RDS clone, leaving production untouched (DBLab 4.1 and later). Developers then get thin clones from DBLab, while Aurora clones remain an option for tests that need their own Aurora instances. [1]

## Sources for DBLab

- [DBLab data sources](https://postgres.ai/docs/dblab-howtos/administration/data)
- [Supported PostgreSQL versions and extensions](https://postgres.ai/docs/database-lab/supported-databases)
- [DBLab Engine](https://postgres.ai/docs/database-lab)
- [Pricing](https://postgres.ai/pricing)
- [Data masking and obfuscation](https://postgres.ai/docs/database-lab/masking)
- [DBLab Engine product page](https://postgres.ai/products/dblab_engine)
- [Full refresh in logical mode](https://postgres.ai/docs/dblab-howtos/administration/logical-full-refresh)
- [DB Migration Checker](https://postgres.ai/docs/database-lab/db-migration-checker)
- [Joe commands: what is returned](https://postgres.ai/docs/reference-guides/joe-bot-commands-reference)
- [Run Joe from the CLI](https://postgres.ai/docs/postgresai-howtos/joe-cli)
- [Query timing on clones and in production](https://postgres.ai/docs/database-lab/timing-estimator)

## Sources for Amazon Aurora cloning

1. [Aurora User Guide: Cloning a volume for an Amazon Aurora DB cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Clone.html)
2. [Aurora User Guide: Cross-account cloning with AWS RAM](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Clone.Cross-Account.html)
3. [Aurora User Guide: Quotas and constraints](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_Limits.html)
4. [Amazon Aurora pricing](https://aws.amazon.com/rds/aurora/pricing/)
5. [Aurora User Guide: What is Amazon Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html)
6. [Aurora User Guide: Migrating data to Aurora PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Migrating.html)

## How we compare

These pages compare what each product does for PostgreSQL; other databases and the rest of the stack are out of scope. What we say about the other product comes from its own documentation, pricing page, changelog or source repository, read on the date shown; each row cites its source. "Not documented" means we did not find it in those sources, not that the product cannot do it. Prices are list prices and the billing units differ, so they are not a total-cost comparison. Product names are trademarks of their owners.
