CockroachDB license change: what it means for self-hosted clusters

CockroachDB 24.3.0 and later ship under a proprietary license with a capped Free tier, yearly renewal and telemetry. This page sets out the options for self-hosted clusters: pay, qualify for Free, or move to YugabyteDB or PostgreSQL.

On this page

What the CockroachDB license change means for your self-hosted clusters

If your self-hosted CockroachDB cluster runs version 24.3.0 or later, it is governed by the proprietary CockroachDB Software License, and your choice is one of three: pay for a commercial license, qualify for Free use, or move to an open-source core. That choice usually surfaces during a renewal or a compliance review, especially when the data in the cluster must stay inside your own cloud accounts or data centers. Free use is capped at $10M in revenue, the qualification is renewed yearly, and the Free tier includes telemetry. Source code for these releases is no longer published. The Cockroach Labs licensing FAQ sets out the terms in full, and it is the document your legal and procurement teams should read first.

Before the renewal date, confirm four things. First, whether your organization's revenue sits under the Free cap, and who signs off that figure each year. Second, whether the telemetry that comes with Free use is acceptable to your privacy and security reviewers, and what data it sends. Third, the exact version on every node, which you can capture with cockroach version and store as evidence for the review. Fourth, what your contract says about support, patches and pricing after the current term, since those terms decide how much you pay and how fast you receive fixes. Because the source is no longer published, your security team will depend on vendor release notes and binaries rather than reviewing or patching the code themselves.

Each path has a different cost profile. Paying keeps the current architecture but adds a recurring license fee that you should ask Cockroach Labs to quote against your node count and deployment model. Qualifying for Free costs little in license fees but adds an annual eligibility check and telemetry to manage. Moving to an open-source core changes the cost to one-time migration effort plus ongoing operations staff. YugabyteDB's core database is Apache 2.0 licensed, and PostgreSQL uses the PostgreSQL License. Your next step is to write down which of these three paths fits your revenue, data and operations needs, then compare them using the sibling pages on this topic.

What the license change requires from your organization

The change adds obligations that continue after installation: confirming eligibility, tracking versions, renewing each year, reviewing data sent by the software, and working without source code. Each card names one obligation, the question to answer and the record to keep.

Confirm revenue against the Free cap

Free use of CockroachDB is limited to organizations under a $10M revenue cap, so the first question is which legal entity and revenue figure applies to your deployment. Confirm how the cap is measured, which fiscal period it covers, and which clusters and affiliates fall inside it. Record the figure, the method and the date you measured it, because this answer decides whether Free is an option at all. The licensing FAQs are the starting point for this check.

Licensing FAQs

Map each cluster's version

The license boundary is 24.3.0. Clusters on 24.3.0 and later ship under the CockroachDB Software License, so each cluster needs an exact version on record. List every cluster, including development, staging, backup and disaster recovery environments. Mixed fleets are common after partial upgrades, so read the version from each running node and compare it with your deployment records. Earlier releases fall under other terms, which counsel should review before you keep them in service.

Plan for yearly renewal

Free use requires renewal each year, which turns licensing into a recurring compliance task. Assign an owner, a renewal date and an approver who signs off on the revenue check and the version inventory before each cycle. If you choose a paid tier instead, the fee recurs as well, so ask for renewal terms, notice periods and price change limits in writing. Build the renewal into your change calendar so an expired entitlement does not surface during an audit or an incident.

Review telemetry against data policy

The software sends telemetry under these terms, so some operational data leaves your network. Ask Cockroach Labs which fields are collected, where they are sent and whether any of it can be limited in your build or deployment settings. Compare the answers with your data classification and cross-border transfer rules, and record the decision with its approver. Clusters that hold regulated personal or financial data may need a separate review before they run on any tier.

Accept limited source code access

Source code is no longer published for these versions, so your engineers cannot read the code behind a defect, a security finding or a compliance question. Fixes depend on vendor releases and on any support or security terms you agree with Cockroach Labs. Before you commit, ask how security advisories are delivered, how quickly fixes are shipped and what happens if the vendor changes direction. Plan upgrades on the vendor's release schedule and test them in non-production clusters first.

Confirm terms with counsel

The license text decides your position, and this page only summarizes it. Ask Cockroach Labs for the current terms in writing, then have counsel check how the definitions of revenue, affiliates, telemetry and renewal apply to your entities, deployment model and any managed service use. Keep the reviewed version on file with its date, because the terms can change and your decision depends on the version you reviewed.

Which self-hosted options keep data on your servers

All three paths keep your data in your own infrastructure, so the choice comes down to license terms and what you can run without asking a vendor for permission. YugabyteDB's core database is licensed under Apache 2.0, and the default build produces only those Apache 2.0 database binaries. The management layer is different: YugabyteDB Anywhere is under the Polyform Free Trial License 1.0.0, so a team that wants the web console for fleet operations should read that license with its legal team before rollout. Operating the database from the command line and your own tooling does not depend on that console. PostgreSQL is released under the PostgreSQL License, a permissive license similar to the BSD or MIT licenses, which places no usage cap or telemetry requirement on the server itself.

The trade-off is architectural. PostgreSQL is single-primary by design, so writes go through one primary and distributed write scaling is not part of the server. Hot standbys serve read-only queries, and synchronous or asynchronous replication protects data, but PostgreSQL does not detect a failed primary or promote a standby on its own, so automatic failover needs external tooling. Before you choose this path, measure your peak write volume against what one primary handles on your hardware, and confirm which regions must accept writes. YugabyteDB sits between the two, offering a distributed SQL engine with a PostgreSQL-compatible query layer, so your schema and SQL review will decide whether that compatibility covers your application.

Ask your legal and procurement teams to confirm three things in writing: whether the Polyform terms fit your planned use of YugabyteDB Anywhere, whether you need the console at all, and which PostgreSQL major version your team will standardize on, given the published support windows in the PostgreSQL versioning policy. Then check the license text for each component you plan to deploy, not just the headline project license, so the self-hosted decision holds up under review.

How YugabyteDB and PostgreSQL meet the constraint, and their trade-offs

This table compares the four paths open to a self-hosted CockroachDB team: paying for CockroachDB, qualifying for the Free use terms, moving to YugabyteDB, or moving to PostgreSQL with Patroni or CloudNativePG. Read each row against your revenue position, your need for distributed writes and your tolerance for operating external failover tooling. The main takeaway is that YugabyteDB is the closer match for distributed SQL, while PostgreSQL fits clusters that only need one primary.

OptionLicense positionHow it fits self-hosted data controlTrade-offs to confirm
Pay for CockroachDBProprietary CockroachDB Software License for 24.3.0 and later, with paid terms set by Cockroach LabsData stays in your infrastructure, but the license terms, telemetry and renewal conditions remain set by the vendorAsk for the license scope, telemetry terms and renewal mechanics in writing before signing
Qualify for Free useFree use is capped at $10M revenue, renewed yearly, and includes telemetry under the same licenseSelf-hosted deployment is possible while you stay under the cap and accept the telemetry and renewal termsConfirm your revenue measurement against the licensing FAQ and whether telemetry can be disabled in your build
YugabyteDBCore database under Apache 2.0; YugabyteDB Anywhere management platform under Polyform Free Trial License 1.0.0Runs on your servers, and the default build produces only Apache 2.0 database binariesYSQL is PostgreSQL-compatible but not identical; test your SQL and multi-region placement, and check whether you need Anywhere
PostgreSQL with Patroni or CloudNativePGPostgreSQL License, a liberal license similar to BSD or MITSingle-primary cluster you run in your own infrastructure with hot standbys and synchronous or asynchronous replicationAutomatic failover needs external tools, and one primary limits write scaling compared with distributed SQL
Management tooling licensingYugabyteDB Anywhere is Polyform Free Trial License 1.0.0, not the Apache 2.0 coreOptional GUI and orchestration can be skipped if you manage clusters with your own automationConfirm the license terms of any management platform before making it a production dependency
Migration toolingYugabyteDB Voyager is documented for migrating from PostgreSQL to YugabyteDBMigration data moves through your own network without a third-party cloud stepOffline MySQL and Oracle migration in Voyager is deprecated and unsupported after October 13, 2026
Multi-region writesYugabyteDB is designed as a distributed SQL database with multi-region optionsPlacement can be set to keep data in specific regions you choosePostgreSQL has no native multi-primary writes, so confirm whether your write volume fits one primary
Support lifecycleYugabyteDB v2025.2 LTS supported to June 11, 2028; PostgreSQL 17 supported to November 8, 2029Your team sets patch windows, and you choose the version to runCheck vendor end-of-life dates against your upgrade plan before you pick a version

Choosing between paying, qualifying for Free, or moving

Organizations below the $10M revenue cap can use CockroachDB under the Free terms, but Free use still requires a yearly renewal and telemetry, and the source code is no longer published. Eligibility depends on how the license defines revenue and which entities count, so the decision starts with a legal reading rather than an engineering estimate.

  • Eligibility: Confirm the revenue figure the license uses and which entities are in scope, in writing, with your legal team.
  • Renewal: Assign an owner to track the yearly renewal and to review any change in terms before it takes effect.
  • Telemetry: Check what the cluster reports and whether your data handling policy and regulator expectations allow it.
  • Source access: Plan for limited ability to audit, patch or fork the code, since the source is no longer published.
  • Growth: Model when revenue growth would move you above the cap and decide in advance what would trigger a license purchase or migration.

Before standardizing on Free, read the current terms in the Cockroach Labs licensing FAQs and get written confirmation of your eligibility.

Which self-hosted target fits once the license terms are reviewed?

The path starts at the CockroachDB version in use. Clusters on 24.3.0 or later fall under the CockroachDB Software License, so the first hand-off is a review of the license terms against your revenue and renewal obligations. If you stay on CockroachDB, the decision is to pay for a license or qualify for Free use. If you move off, the key check is whether you need distributed SQL with writes across regions. A yes leads to YugabyteDB, and a no leads to a single-primary PostgreSQL cluster with failover tooling.

Decision path from the CockroachDB license review to a self-hosted target.

How to deploy the chosen target in your own infrastructure

This sequence takes a CockroachDB estate from inventory to a validated, self-hosted YugabyteDB or PostgreSQL cluster in your own environment, with backups and a cutover you can prove.

  1. Inventory clusters, versions and workloads

    Record every CockroachDB cluster, its exact version, node count, regions, schema objects, sequences, changefeeds and the applications that connect to it. The platform or database team does this with read access to cluster settings and a list from application owners. Done means one document that shows which clusters run 24.3.0 or later under the CockroachDB Software License, which depend on multi-region placement, and which connection patterns and retry logic each application uses. This inventory decides whether the target is YugabyteDB or PostgreSQL.

  2. Choose the target and a supported release series

    Pick YugabyteDB when you need distributed SQL with multi-region placement, or PostgreSQL when one primary can carry the write volume. For YugabyteDB, compare the long-term support and standard-term support series in the release notes and confirm the end-of-life dates against your planned go-live and maintenance calendar. For PostgreSQL, choose a major version still inside its support window. Done means a written decision record with the chosen version, its support end date and the owner who signs it off.

  3. Stand up the cluster in your environment

    Provision the target in your cloud account, data center or air-gapped network using your infrastructure-as-code and configuration management tooling. Keep nodes in separate failure domains, size storage and network for the replication you chose, and place the management tooling under its own license review, since YugabyteDB Anywhere is not Apache 2.0. Done means a staging cluster that passes health checks, accepts test connections from a sample application and produces logs in your central logging system.

  4. Configure authentication and access control

    For PostgreSQL, set password_encryption to scram-sha-256 and disable MD5 password authentication, which PostgreSQL 18 has deprecated. Then select the network authentication methods your identity model supports, such as certificate, LDAP, GSSAPI or PAM, and restrict them in pg_hba.conf. For YugabyteDB, apply the equivalent TLS, role and LDAP settings from its security documentation. Confirm each method with the security team, since the supported options depend on the exact version. Done means a documented access matrix and a test showing that unauthenticated and weak-password connections are refused.

  5. Set up backups and point-in-time recovery

    Configure continuous WAL archiving to storage you control and take base backups on a schedule. For PostgreSQL, this follows the continuous archiving and point-in-time recovery guidance. Note that PostgreSQL does not detect primary failure or promote a standby by itself, so choose and test an external failover tool such as Patroni or CloudNativePG before production. Done means a restore into a separate environment, with a recovery to a chosen timestamp that you have timed and recorded.

  6. Migrate data with Voyager or logical replication

    Move data from CockroachDB using a tool that fits your schema and target. For a PostgreSQL target, logical replication can keep the new cluster in step during the migration window. For a YugabyteDB target, YugabyteDB Voyager is designed to migrate from PostgreSQL, so confirm its current support for your source before relying on it, since its offline migration from MySQL and Oracle is deprecated. Translate CockroachDB-specific types, sequences and retry-dependent transaction code by hand. Done means a full load completes and replication lag reaches an agreed low value.

  7. Validate data, queries and performance

    Compare row counts, checksums on critical tables, sequence values and foreign key integrity between source and target. Replay representative queries and transactions from the inventory and check latency and error rates under load. Confirm that application retry logic behaves correctly without CockroachDB's built-in behavior. Done means a signed validation report listing every table checked, every mismatch found and how it was resolved, approved by the application owner.

  8. Cut over and keep the rollback path open

    Schedule the cutover with the application owners, stop writes to CockroachDB, let replication drain, switch connection strings or the connection pooler to the new cluster, and run the post-cutover checks from the validation report. Keep the CockroachDB cluster read-only and available for a rollback window agreed in advance. Done means production traffic runs on the new cluster, monitoring shows normal behavior, and the decommissioning plan for the old license and servers is approved and recorded.

Operating the new cluster: upgrades, replication and recovery

Plan operations before the first production cutover, because the licence change only settles who pays for the database. The day-to-day cost sits in patching, upgrades and recovery. On PostgreSQL, minor releases arrive at least once every three months, and they never change the internal storage format, so a minor update means replacing the executables and restarting the server. Major releases arrive about once a year, and each major version is supported for five years. Your upgrade calendar should track these windows: version 14 is supported until November 12, 2026, version 15 until November 11, 2027, and version 18 until November 14, 2030. Confirm which major version your standby or pilot cluster will run, and budget a major upgrade inside each window rather than waiting for end of life.

For major upgrades, you choose between pg_upgrade, dump and restore with pg_dumpall, or logical replication. Logical replication works across major versions and can limit downtime to several seconds, but it needs careful planning for sequences, DDL changes and replication slots. PostgreSQL 18 pg_upgrade retains planner statistics and adds parallel jobs, which shortens the window for in-place upgrades. On YugabyteDB, check the release series before you commit: v2024.2 LTS reaches end of life on June 9, 2027, v2025.2 LTS on June 11, 2028, and v2026.1 STS on December 29, 2027. A standard-term series suits teams that can upgrade often, while an LTS series suits teams that want fewer upgrades. Ask your vendor or DeployOpen-style implementation partner to confirm the support contract and upgrade path for the series you select.

Replication choices determine what you can lose in a failure. Synchronous replication makes a commit wait until standbys confirm it, which protects committed data but adds latency to every write and can stall writes if a standby is unavailable. Asynchronous replication returns commits sooner but can lose the most recent transactions if the primary fails. PostgreSQL does not detect a failed primary or promote a standby by itself, so you need an external failover tool and tested runbooks. Test failover and point-in-time recovery from archived WAL at least once before go-live, and record the recovery time and data loss you measured. Those measurements, not the replication mode alone, are what your risk owners need to approve.

Evidence to keep for license and data control reviews

A license review or data control audit will ask what terms applied to each cluster, how you reached your position, and whether you can prove it. The cards below list the records to keep for a CockroachDB cluster and for any move to YugabyteDB or PostgreSQL. Auditors and certification bodies, not DeployOpen, issue any audit reports.

License terms in force per version

Record the exact CockroachDB version running on each cluster and the license that governs it. Versions from 24.3.0 onward fall under the proprietary CockroachDB Software License, so a cluster upgraded from an older release has a different legal position from one installed fresh. Keep the upgrade history with dates, and save a copy of the license terms you relied on at each change. Confirm the current wording with Cockroach Labs before you sign anything.

Licensing FAQs

Revenue calculation for the Free cap

If you rely on the Free tier, keep a written calculation of the revenue figure you measured against the cap, the period it covers, and who approved it. Record the source ledgers, the entities included, and any treatment of affiliates or acquired businesses. Repeat the calculation at each yearly renewal, because the basis can change between cycles. Ask Cockroach Labs to confirm in writing how they measure revenue for your case.

Telemetry settings and data flows

Document which telemetry options each cluster uses, where the setting is configured, and what data leaves your network as a result. Capture a diagram of outbound connections from the cluster nodes and the change record for each setting. For regulated data, your data protection team will need to know whether any table contents, query text or cluster metadata reach the vendor. Verify the behavior in a test cluster before you rely on it.

Migration validation results

If you move to YugabyteDB or PostgreSQL, keep the row counts, checksums, schema diffs and sample query comparisons from each validation run. Note which CockroachDB-specific types, functions and transaction retry behaviors you translated, and the test that confirmed each one. Sign-off records show who accepted the cutover and on which evidence. These records also show a reviewer that the old cluster's data was accounted for before it was retired.

Backup and restore test records

A backup that has never been restored is not evidence of recoverability. Keep dated restore tests for each cluster, the backup destination, the restored target, the time taken and the data checks performed afterward. For a PostgreSQL target, the PostgreSQL continuous archiving docs describe point-in-time recovery, which is a natural check to record. Store the test logs with the license records so both can be produced together.

Upgrade and support window records

Keep a register of each database's version, its support end date and the planned upgrade date. For PostgreSQL, the supported major versions and their end dates are published in the versioning policy, so record which major version each cluster runs and when it leaves support. For YugabyteDB, record the release series and its maintenance and end-of-life dates. Review the register at each license renewal, because an unsupported version can weaken both your security position and your compliance evidence.

Example end-of-life year
2027

Questions buyers ask before hiring help with the license change

Does the 24.3.0 license change force every CockroachDB cluster to move?

No. The change applies to CockroachDB versions from 24.3.0 onward, which ship under the proprietary CockroachDB Software License. A cluster running an older release is not affected by that version boundary, but it still needs a plan for security patches, upgrades and the licensing terms that apply to your use. Check the CockroachDB licensing FAQ against your revenue, deployment and telemetry position, and confirm with Cockroach Labs which terms your contract or Free use qualification falls under before you decide the clock is not running.

What drives the effort of moving off CockroachDB?

Effort follows the shape of your database, not the cluster count alone. The main drivers are:

  • The number of schemas, tables, sequences and indexes, and how many use CockroachDB-specific types or functions
  • Whether applications rely on transaction retry logic, which must be reviewed when the target database behaves differently
  • Multi-region table placement and locality settings, which need an explicit target design
  • Data volume, write rate and how much downtime the business accepts for cutover
  • The number of applications, jobs and ORM layers that connect to the database

A small single-region schema with one application is a very different job from a multi-region system with many services.

What does the work need from our own team?

Expect to supply people who know the data and the applications. Typically this means:

  • A database owner who can approve schema changes and target design decisions
  • Application engineers who can test queries, transactions and error handling against the new engine
  • An operations contact for networking, backups, monitoring and access control in your environment
  • A business owner who signs off on acceptance tests and the cutover window

The more of these roles that are available early, the less time the work spends waiting on decisions.

Can our own engineers do the migration without outside help?

Often yes, if the schema is simple, the team has run distributed or PostgreSQL-style databases in production, and there is capacity for testing. The risks are in the details: CockroachDB-specific SQL, retry behavior, multi-region placement and cutover validation. A useful self-check is whether your team can write a rollback plan, reproduce production query patterns in a test cluster, and explain how it will confirm that results match after cutover. If any of those answers are uncertain, a fixed-scope review of the migration plan is a lower-cost first step than a full engagement.

How long does the work take and what sets the timing?

Timing depends on scope, not on a fixed template. Ask any provider for a schedule that is tied to the written scope, and check that it accounts for:

  • The number of schema objects and applications to translate and test
  • Data volume and how long a full export and load takes in your environment
  • The validation period needed to compare results before cutover
  • Change freeze windows, approvals and staffing on both sides

If a quote gives a duration without describing these inputs, ask what it assumes.

What should a quote for this work include?

A quote should follow from a written scope and list deliverables you can check. Ask that it includes:

  • An inventory of schemas, applications and data volumes that the price is based on
  • Assumptions about who supplies test environments, access and approvals
  • Translation and testing of CockroachDB-specific SQL and types
  • Data movement, validation and rollback steps
  • Cutover support and a post-cutover review period
  • Documentation and handover to your operations team
  • Whether an optional commercial support contract for the target database is priced separately

DeployOpen fixes scope, deliverables and timelines in writing before work starts, so compare quotes on that written scope.

How do YugabyteDB and PostgreSQL support windows affect planning?

Support windows set how long a target version receives maintenance and when you must upgrade again. For YugabyteDB, check the release page for the series you choose: v2024.2 LTS has maintenance support ending December 9, 2026 and end of life on June 9, 2027, while v2025.2 LTS has maintenance support until December 11, 2027 and end of life on June 11, 2028. For PostgreSQL, the versioning policy lists supported major versions through their end dates, such as version 14 to November 12, 2026 and version 17 to November 8, 2029. Plan an upgrade path into the series you adopt, and schedule it before the end-of-life dates that apply to your choice.

How DeployOpen plans and deploys this change

DeployOpen works on CockroachDB license changes as a fixed-scope engagement inside your own infrastructure. We start from the clusters you run today, the licensing position you need to take, and the migration path you choose, then document each step so your compliance and security teams can review it.

How we scope

  • We inventory CockroachDB versions, cluster topology, regions, applications and the licensing terms that apply to each deployment.
  • The written scope states which path is covered: staying on a supported build, moving to YugabyteDB, or moving to PostgreSQL.
  • Deliverables, timelines and responsibilities are agreed in writing before any work starts, and the quote follows from that scope.

How we build

  • We stand up the target platform, either YugabyteDB or PostgreSQL with high availability, in your cloud accounts, data centers or air-gapped network.
  • We set up SSO, access control, audit logging and backup procedures so the new platform can be reviewed against your own controls.
  • We test schema translation, transaction retry logic and application behavior on the target before any cutover is scheduled.

How we hand over

  • You receive runbooks, architecture notes, the validation results and the cutover plan, written for your operations and compliance teams.
  • We document licensing decisions, including which components are Apache 2.0, PostgreSQL License or proprietary, so the record is clear for procurement and audit.
  • Knowledge transfer sessions cover operations, upgrades and restore testing so your staff can run the platform after handover.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover, covering patching and version lifecycle changes.
  • Retainers can include restore tests and failover tests on a schedule you agree, with findings tracked to closure.
  • Before you decide, ask us to confirm current CockroachDB license terms and your own telemetry and revenue position with Cockroach Labs.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.