Amazon Aurora vs CockroachDB: when each one fits
An AWS-centered team facing a renewal, a licensing change or a data residency requirement usually reduces this comparison to one question: where the database has to run. Amazon Aurora fits teams that want a managed PostgreSQL or MySQL service inside AWS and are content for AWS to operate it. CockroachDB fits teams that need distributed SQL and may run it on their own infrastructure, including outside AWS. The decision turns on three things: where the data must run, which license terms the organization accepts, and how much operating work the team can carry. Settle those three before comparing throughput or availability claims, because they determine which option is available to you at all.
Aurora runs only as an AWS-managed service, so it cannot be moved into your own data center or an air-gapped network. CockroachDB can be self-hosted, but its license needs a close read. Cockroach Labs' licensing FAQ states that versions from 24.3.0 onward are under the CockroachDB Software License. Its free Enterprise license is limited to businesses with less than $10M in annual revenue, counting the parent company and all affiliates, and it must be renewed every year. Free and Trial clusters are throttled when telemetry or renewal lapses, while paid Enterprise licenses are never throttled. A September 15, 2026 Cockroach Labs blog post also states that new versions of the source code will no longer be published to the public repository. Ask legal to test the license against your revenue and affiliate structure, and ask the vendor which terms apply to your exact deployment.
The operating work differs more than the feature lists suggest. With Aurora, AWS runs the managed service layer, while your team still owns schema design, access policy, networking and cost controls. With self-hosted CockroachDB, your team owns cluster sizing, upgrades, backups, node failure handling and monitoring. Aurora DSQL is the closest AWS option to distributed SQL, and it is PostgreSQL-compatible, so test whether your application's SQL, transactions and extensions behave as expected on it before assuming it covers the same ground. A practical check is to list each workload's residency rule, its license exposure and the staff time available for database operations, then score both options against that list. Confirm DSQL's feature coverage and regional availability directly with AWS.
Which database fits which scenario
This table maps common Amazon Aurora and CockroachDB scenarios to the better fit and the condition that makes that choice hold. Read each row as a conditional: the advantage applies only when the stated condition is true for your workload. Confirm multi-region and availability behavior with Cockroach Labs and AWS before you commit to an architecture.
| Scenario | Better fit | Condition that makes it true |
|---|---|---|
| All-in AWS workload | Amazon Aurora | Application runs in AWS and your team accepts an AWS-managed-only service. |
| Need to run outside AWS | CockroachDB | Workload must run in other clouds or on your servers, and your team can operate it. |
| Distributed SQL inside AWS | Aurora DSQL | You need serverless, PostgreSQL-compatible distributed SQL, and AWS confirms it fits your regional needs. |
| Distributed SQL across sites or clouds | CockroachDB | You need distributed SQL spanning sites or clouds beyond AWS. Confirm multi-region behavior with Cockroach Labs. |
| Free or low-cost development environment | CockroachDB Enterprise Free license | Business revenue under $10M including affiliates, per Cockroach Labs' licensing FAQ, renewed yearly. |
| Development or test in an existing AWS account | Amazon Aurora | Team already works in AWS and accepts charges for consumed capacity. Confirm dev-tier costs with AWS. |
| Data must stay in your own data center | CockroachDB, self-hosted | Aurora runs only as an AWS-managed service, so data must stay on your servers and your team runs the cluster. |
| Long-term self-hosted version supply | CockroachDB only with a confirmed version plan | Cockroach Labs said on September 15, 2026 that new source code will no longer be published publicly. |
Decision path: where the database must run
The path starts with where the workload may run. If it must stay in AWS, the answer is Amazon Aurora, though Aurora DSQL, its serverless PostgreSQL-compatible distributed option, is worth checking first. Outside AWS, ask whether distributed SQL is required. If it is not, ask whether the team can run PostgreSQL itself. If distributed SQL is required, ask whether self-hosting or a proprietary license is acceptable, since CockroachDB is licensed under the CockroachDB Software License. A yes there leads to CockroachDB, and a no returns to the PostgreSQL question. Teams without PostgreSQL operations capacity should plan for outside support before taking the self-hosted route.
Decision path from deployment limits to Aurora, CockroachDB or self-hosted PostgreSQL.
Amazon Aurora vs CockroachDB capabilities side by side
This table sets what AWS publishes for Amazon Aurora against what is documented for CockroachDB, covering compatibility, deployment, availability, licensing, source access and pricing. Cells marked for confirmation are open questions to put to Cockroach Labs before a decision. The main takeaway is that Aurora runs only as an AWS-managed service, while CockroachDB can run in infrastructure you control, so its license and source access terms deserve close review.
| Capability | Amazon Aurora | CockroachDB |
|---|---|---|
| Database engine compatibility | Fully compatible with PostgreSQL and MySQL, according to AWS | Distributed SQL database from Cockroach Labs; confirm PostgreSQL and MySQL compatibility scope with Cockroach Labs |
| Distributed SQL | Aurora DSQL is a serverless, PostgreSQL-compatible distributed SQL database | Distributed SQL database; confirm feature parity with Aurora DSQL with Cockroach Labs |
| SQL Server application support | Babelfish for Aurora PostgreSQL can run SQL Server applications with minimal code changes, per AWS | Not covered in this comparison; confirm SQL Server application support with Cockroach Labs |
| Availability claim | AWS says Aurora is designed for up to 99.99% single-Region and 99.999% multi-Region availability | Confirm the availability targets for your chosen topology with Cockroach Labs |
| Throughput claim | AWS claims up to 6x the throughput of PostgreSQL and MySQL, with no benchmark detail on the page | Ask Cockroach Labs for benchmark methodology, then test both platforms on your own workload |
| Deployment model | AWS-managed service only; not available for self-hosting | Self-hosted or as a cloud service |
| License terms | Managed AWS service under AWS terms; confirm service and license terms with AWS | CockroachDB Software License for versions from 24.3.0; Enterprise Free license for businesses under $10M annual revenue, renewed yearly |
| Pricing structure | Pay only for the capacity you consume, according to AWS; confirm current rates with AWS | Cloud Standard at $0.092 per vCPU-hour and Mission Critical at $0.162 per vCPU-hour (Cockroach Labs pricing page) |
What the CockroachDB license change means for your team
The first decision is which CockroachDB version you run, because the version sets the license. Cockroach Labs' licensing FAQ states that all versions from 24.3.0 onward, along with patch fixes for versions 23.1 to 24.2 released from that date, fall under the CockroachDB Software License. Releases outside that statement need their own license check with Cockroach Labs before you rely on them. Run cockroach version on every node and record the results in your asset register, including staging, disaster recovery and build environments. Then ask counsel to read the licensing FAQ against how you actually use the software, including internal production use, customer-facing hosting, embedding in a product, and operating it for third parties.
The Enterprise Free license is free of charge for businesses with less than $10M in annual revenue, counting the parent company and all affiliates, and it must be renewed every year. Treat the revenue test as a finance question, because affiliates count and a group structure can exceed the threshold even when the operating company is small. Trial licenses require telemetry. Free and Trial clusters are throttled after 7 days without sending telemetry, and throttling limits open SQL transactions to 5. A self-service Enterprise Trial lasts 30 days, after which Free licenses throttle 30 days after expiration and Trial licenses 7 days after expiration. Paid Enterprise licenses are never throttled. Your team should confirm that each Free or Trial cluster can send telemetry from its network, and test whether application connection pools and batch jobs finish within 5 open SQL transactions in staging.
On September 15, 2026, Cockroach Labs published a blog post stating that new versions of CockroachDB's source code will no longer be published to its public repository, and that the existing repository will no longer be maintained. If Aurora is on your shortlist, this changes the upgrade model: a self-hosted CockroachDB cluster depends on vendor-supplied binaries and packages, not on a public source tree you can build, audit or patch yourself. Confirm with Cockroach Labs which artifacts, release notes and security notices your license entitles you to receive. Pin the version you have validated, keep your own record of its build artifacts and checksums, and schedule a recurring review to decide when a newer release is needed. Share the source code protection post with your security lead so the supply chain questions reach counsel alongside the license review.
How each product charges and what drives the bill
CockroachDB lists per-vCPU-hour rates and a trial credit on its pricing page. AWS bills Aurora for the capacity you consume, so the current Aurora rates come from AWS's pricing tools. Read either bill by its components: compute, storage, backups, replication and region count. Confirm each rate and what it covers with the vendor before you set a budget, because a region added later changes the total.
CockroachDB Cloud Standard rate
CockroachDB Cloud Standard is listed at $0.092 per vCPU-hour. The pricing page's example, about $203 a month for 2 vCPUs and 100 GB, shows how the rate turns into a monthly figure. Build your own estimate from the vCPU count and storage you expect, then ask the vendor which other charges sit outside that example, such as backups, replication or data transfer.
CockroachDB pricing pageCockroachDB Mission Critical rate
Mission Critical is listed at $0.162 per vCPU-hour, above the Standard rate on the same pricing page. The tier should follow the availability, support and recovery terms your business owners require, so the hourly rate is only one input. Ask the vendor to list in writing every term that differs between the two tiers, and confirm whether the trial credit applies to either one.
CockroachDB trial credit
New Cloud organizations get a 30-day trial with $400 in credit. Use the window to run a representative workload and record vCPU-hours, storage and backup use, so the numbers you bring to a quote come from your own environment. Measured usage from the trial gives you a better basis for a budget than a published example. Confirm with the vendor what happens to unused credit and to clusters when the trial ends.
Aurora bills consumed capacity
AWS charges for the capacity Aurora consumes, and Aurora runs only as an AWS-managed service. Your bill therefore follows the usage AWS records, so the budgeting question is how that usage behaves under your peak load. Confirm the current rate structure in the AWS pricing tools before you set a budget, and check it again at each renewal. Ask your account team which discount options apply to your usage.
Amazon Aurora overviewAurora cost drivers to confirm
Compute capacity, storage, backups, replication and region count drive an Aurora bill. For each one, confirm how it is priced in the AWS pricing tools and whether it appears on its own line. Replication and region count need the closest review if you plan a multi-Region design, because each added copy or Region changes what you pay for. Ask AWS for a worked estimate built on your workload.
Self-hosted CockroachDB license cost
Self-managed CockroachDB falls under the CockroachDB Software License. The Enterprise Free license costs nothing for businesses with less than $10M in annual revenue, counting the parent company and all affiliates, and it must be renewed every year. Confirm with the vendor which license applies if your group is above that threshold, and put the annual renewal on your operations calendar.
CockroachDB licensing FAQWhat running each database costs in staff time and operations
Staff time is the cost most often missing from a comparison of Amazon Aurora and CockroachDB, and it falls into two buckets. One-time costs cover designing schemas, the access model and the backup policy, the migration itself, load testing at your expected peak, and a security review of the configuration. Recurring costs cover capacity management, engine upgrades, restore tests for backups, on-call rotation for database alerts, and license renewals where a commercial license applies. Ask every vendor, partner or internal team to price both buckets separately, because a low monthly bill can hide a large recurring workload. Write the split into the quote so the one-time work and the ongoing run cost can be compared line by line.
With Aurora, AWS runs the storage, failover and patching of the managed service. Your team keeps the work that stays with the customer: schema design, database roles and IAM mapping, backup retention and restore policy, and the monitoring thresholds that page on-call staff. Aurora bills for the capacity you consume, so its recurring effort centers on sizing decisions and cost review. Self-hosted CockroachDB or PostgreSQL moves the cluster itself onto your team. You carry node and vCPU sizing, the rolling upgrade plan, regular failover tests across zones or regions, patching of the operating system and database binaries, and backup jobs with tested restores. Confirm with your partner which of these tasks the quote covers and which stay with your staff.
Effort rises with data volume, the number of environments, the availability target and how often the schema changes. A single-region cluster with a standby needs far less failover testing than a multi-region design, and every added environment repeats upgrades and restore tests. For CockroachDB, licensing adds a recurring check: the Enterprise Free license is free only for businesses under $10M in annual revenue, counting affiliates, and must be renewed every year. Read the Cockroach Labs licensing FAQ before you commit. A September 15, 2026 Cockroach Labs blog post also says new source code will stop appearing in the public repository, so confirm how new releases reach you and whether your agreement covers them. In the quote, ask for scope, environments, data volume, HA targets and the handover, including runbooks, restore evidence and training for your on-call staff.
Where data lives and what leaving each product involves
Amazon Aurora and CockroachDB differ most in where the database runs and who operates it. Aurora exists only as an AWS-managed service, while CockroachDB can run in your own infrastructure under a proprietary license or as a Cockroach Labs cloud service. The cards cover location, licensing, export, compatibility and exit effort for each product.
Aurora data location
Aurora runs only as an AWS-managed service, so data location is a Region choice inside AWS. You pick the Region for each cluster, and AWS operates the storage, backups and failover within it. Ask AWS which Regions hold your backups, replicas and any cross-Region copies, and which features are offered in each Region. Record the answers in your residency register before you sign, because moving the database onto your own hardware later means a full migration project.
Aurora product pageSelf-hosted CockroachDB data control
Self-hosted CockroachDB keeps data inside your own infrastructure, which matters for residency reviews. Versions from 24.3.0 onward fall under the CockroachDB Software License, a proprietary license, so your legal team needs to read its terms against your planned use. Your engineers would own clusters, backups, upgrades, certificates and key management. Confirm with Cockroach Labs which license edition fits your deployment and what support they offer for self-hosted clusters.
Licensing FAQCockroachDB cloud dependency
Cloud deployments depend on Cockroach Labs to run the cluster, so patching, availability and the hosting location of your data follow that provider's operations. The pricing page lists rates per vCPU-hour by tier, so your bill follows the compute you provision. Before you commit, get the hosting regions, backup retention and export procedure in writing, along with how data is deleted at termination.
CockroachDB pricingExport and migration tooling
Migrations into Aurora can use standard tools from MySQL and PostgreSQL, according to AWS. Exit needs its own test, because the export path depends on which Aurora features your schema and workloads use. Confirm export tooling with AWS and with Cockroach Labs for your exact versions, including how large tables, sequences and schema objects are handled. Run a full export and reload into a plain PostgreSQL instance in staging, and time it against your recovery target, before you rely on that path in an exit plan.
PostgreSQL compatibility trade-off
Aurora is fully compatible with PostgreSQL and MySQL, so an application that uses only common SQL and engine features is the simplest candidate to move back. Aurora-specific services such as Babelfish for Aurora PostgreSQL and Aurora DSQL add AWS-only behavior that needs rework if you leave. CockroachDB is a distributed SQL database with its own behavior in areas such as transactions and sequences, so PostgreSQL compatibility does not guarantee identical results for every function or query pattern. Run your SQL test suite against both before you choose.
Public source repository changes
In a September 15, 2026 blog post, Cockroach Labs said new versions of CockroachDB source code will no longer be published to its public repository, and the existing repository will no longer be maintained. For a self-hosted team, this changes how you receive patches, so your version policy cannot assume public source for future releases. Ask Cockroach Labs how security fixes reach self-hosted customers and which artifacts you are licensed to pull and retain. Check with counsel whether you may keep copies of every version you run in production.
Cockroach Labs blogWhen a self-hosted open-source database fits better
Neither Amazon Aurora nor CockroachDB fits if your organization requires open-source licensing, cannot send data to a cloud provider, or wants to avoid a proprietary license. Aurora runs only as an AWS-managed service, and CockroachDB releases from 24.3.0 onward fall under the CockroachDB Software License, so both fail these tests by design. The open-source route for relational workloads is PostgreSQL, which you can run in your own data centers, cloud accounts or air-gapped networks. CloudNativePG and Patroni are two ways to operate it yourself, and each should be checked for license terms and fit with your platform. YugabyteDB is a distributed SQL option to evaluate if you need that architecture, but confirm its license, supported versions and SQL compatibility with your application before you shortlist it. Ask each project's maintainers and your legal team to confirm these points in writing.
Running PostgreSQL yourself moves several duties from AWS to your own team, and each duty needs a named owner before go-live. Start with high availability design: decide how a primary fails over, where the failover controller runs, and how the cluster behaves if one site is lost. Backups need storage you control, continuous WAL archiving, and scheduled restore tests into an isolated environment, because an untested backup proves nothing about recovery. Upgrades cover minor releases and major version moves, including extension compatibility and a documented rollback path. Monitoring should track replication lag, connection counts, disk growth and backup job results, with alerts routed to on-call staff. Finally, define access control: database roles, TLS for client connections, credentials held in a secrets manager, and audit logging that your compliance team can review. Record each duty in a runbook before the first production workload moves.
Compatibility testing is the step teams most often skip. Aurora's Babelfish for Aurora PostgreSQL lets SQL Server applications run with minimal code changes, and Aurora DSQL is a serverless, PostgreSQL-compatible distributed SQL database, so applications built on either may depend on behavior that a stock PostgreSQL installation does not provide. Inventory every driver, connection string, stored procedure, extension and SQL dialect your applications use, then run your real query workload against the candidate database in staging. Include any cloud-specific authentication path in that inventory, because it has no direct equivalent in a self-hosted cluster. Replace AWS's published throughput claim with your own load test, using production-shaped data and a failover event during the run. Finally, ask any implementation partner to quote staff time for operating the cluster and the infrastructure you will own as separate line items, since those recur after the migration ends.
Questions buyers ask before choosing between Aurora and CockroachDB
Is CockroachDB still open source for new versions?
For new releases, no. Cockroach Labs' licensing FAQ says all CockroachDB versions from the 24.3.0 release date onward are under the CockroachDB Software License, and patch fixes for versions 23.1 to 24.2 released from that date follow the same license. That license is proprietary. On September 15, 2026, Cockroach Labs said new versions of its source code will no longer be published to the public repository, and that the existing repository will no longer be maintained. If you run older builds, confirm the license terms for each version you deploy, and ask Cockroach Labs to confirm in writing how future security fixes will reach you. Your legal team should review these terms before you commit to a self-hosted design.
Is the CockroachDB Enterprise Free license free for my company?
It may be, but only if your business has less than $10M in annual revenue. Cockroach Labs' licensing FAQ says the Enterprise Free license is free of charge for businesses below that threshold, and the threshold counts the parent company and all affiliates together. A group of companies can fall outside it even when each entity looks small. The license must also be renewed every year. Above the threshold, you need a paid Enterprise license, so request its price from Cockroach Labs in writing before you plan a self-hosted cluster. Have legal and finance confirm how your revenue and affiliates are counted, because the answer depends on the whole group, not on one legal entity.
What happens to a CockroachDB cluster when a trial or free license lapses?
The cluster is throttled, and throttling limits open SQL transactions to 5. Cockroach Labs' licensing FAQ gives these rules: a self-service Enterprise Trial lasts 30 days, Free licenses throttle 30 days after expiration, and Trial licenses throttle 7 days after expiration. Trial licenses require telemetry, and Free and Trial clusters are throttled after 7 days without sending telemetry. Paid Enterprise licenses are never throttled. The FAQ describes throttling, not data deletion, so ask Cockroach Labs to confirm in writing what happens to stored data, how a throttled cluster is restored, and what your production change process should be if a renewal is late. Build renewal dates into your operations calendar.
Does Amazon Aurora run outside AWS?
No. AWS describes Aurora as an AWS-managed service that cannot be self-hosted, so it runs only inside AWS. Aurora is compatible with PostgreSQL and MySQL, and AWS also lists Aurora DSQL, a serverless, PostgreSQL-compatible distributed SQL database, and Babelfish for Aurora PostgreSQL for running SQL Server applications with minimal code changes. AWS says Aurora is designed for up to 99.99% availability in a single Region and up to 99.999% across multiple Regions, and claims up to 6x the throughput of PostgreSQL and MySQL, without benchmark detail on the page. Treat these as vendor claims to test against your own workload. If you need the database in your own data center, in another cloud, or in an air-gapped network, plan for a self-run engine from the start.
What drives the cost of Amazon Aurora and CockroachDB?
Each option charges for different units, so compare them on the same workload. The CockroachDB pricing page lists Cloud Standard at $0.092 per vCPU-hour, which it gives as about $203 a month for 2 vCPUs and 100 GB, and Mission Critical at $0.162 per vCPU-hour. New Cloud organizations get a 30-day trial with $400 in credit. AWS says you pay only for the capacity you consume, but the supplied facts include no Aurora rate, so use the AWS pricing tools for your Region and capacity model. For self-hosted CockroachDB, the main costs are a paid license above the free threshold, your servers or cloud accounts, storage, backups, staff time and any outside support. Ask each vendor and provider for a line-item estimate.
Can we move from Aurora to a self-run PostgreSQL?
Yes, in principle, because AWS states that Aurora is fully compatible with PostgreSQL. The path depends on your engine version, extensions and any Aurora-specific features you use, so start with an inventory and test before you set a cutover date. Check these items first:
- The PostgreSQL version and extensions your target platform supports
- Aurora-only features, such as Babelfish, and any SQL that depends on them
- Your replication or dump-based cutover method, with a tested rollback path
- Connection strings, drivers, monitoring and backup jobs that point to Aurora endpoints
AWS notes that MySQL or PostgreSQL databases can migrate with standard tools, which is a useful starting point for the data move. Verify each step with a rehearsal on a copy of production data.
How long does an Aurora move take and what does it need from our team?
No duration applies to every environment, so treat any timeline as something to agree in a written proposal. Time depends on data volume, schema complexity, the number of applications connected, how much downtime you accept, and how many test environments must be validated. Your team needs to provide a database and client inventory, access to test and staging systems, a cutover window, owners for application changes, and sign-off criteria for rollback. Many of these items take longer than the data copy itself. DeployOpen's engagements are fixed-scope, and the scope, deliverables and timelines are agreed in writing before work starts.
Can our own team run this migration without outside help?
Possibly, if your team already operates PostgreSQL in production and can give the project time for testing. The work is mostly planning, testing and cutover discipline, followed by ongoing operations such as backups, upgrades, monitoring and security hardening. Check whether your team has those skills for the target database, and whether it can staff the cutover and the first weeks of production support. Outside help is optional. DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure, and it can be engaged for a fixed scope or on an ongoing retainer.
How DeployOpen helps you evaluate and run the option you choose
DeployOpen approaches Amazon Aurora vs CockroachDB as a scoped engagement inside your own infrastructure. We start from the capabilities you depend on, the data you must keep under your control and the exit path you need, then plan, build, test and hand over the option you choose. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we scope
- The written scope lists which CockroachDB clusters, schemas and applications are in the assessment.
- Scope records which SQL features, transaction patterns and availability targets your applications depend on.
- Quotes follow from the written scope, since DeployOpen does not publish a price list.
How we build
- Deployment plans for a self-hosted target run in your own cloud accounts, data centers or air-gapped networks.
- Build work covers access control, audit logging, backups and hardening for the chosen database platform.
- Security testing covers the application and API paths that read and write the database.
How we hand over
- Handover documents the architecture, configuration, runbooks and backup and restore procedures for your team.
- Compliance readiness material documents controls and logs, while independent auditors issue any report or attestation.
- Exit notes list export paths, schema mappings and cutover steps, so the exit route stays documented.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial engagement.
- Upgrade work covers patching, version changes and documentation updates as your chosen platform changes.
- Security testing can repeat after major changes, so evidence for reviewers stays current.

