Softwr

Databases · head to head

CockroachDB vs HashiCorp Boundary

CockroachDB logo

CockroachDB

Databases

The cloud-native distributed SQL database

From
Free
Free plan
Yes
HashiCorp Boundary logo

HashiCorp Boundary

Cybersecurity

Identity-aware session broker for infrastructure access without distributing credentials

From
Free
Free plan
Yes

The short version

  • CockroachDB is a cloud-native distributed SQL database.
  • HashiCorp Boundary is free; CockroachDB starts at $0.057/mo.
  • Only CockroachDB lists distributed SQL; only HashiCorp Boundary lists identity-based access.
  • Where CockroachDB falls short: basic and Standard tiers limited to AWS and GCP (select regions only).

How do CockroachDB and HashiCorp Boundary differ?

CockroachDB and HashiCorp Boundary differ on pricing model, platforms and category (Databases against Cybersecurity). Only the attributes on which CockroachDB and HashiCorp Boundary actually diverge.

Attributes where CockroachDB and HashiCorp Boundary differ
AttributeCockroachDBHashiCorp Boundary
Pricing modelFreemiumOpen source, no licence fee
PlatformsAWS, GCP, AzureLinux, macOS, Windows, Web
CategoryDatabasesCybersecurity

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for HashiCorp Boundary.

Which features does each one have?

They share no listed features; 20 appear only for CockroachDB and 8 only for HashiCorp Boundary. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in CockroachDB

  • Distributed SQL
  • Automatic Sharding
  • Multi-region Replication
  • Geo-partitioning
  • ACID Transactions
  • Horizontal Scaling
  • Survivability
  • PostgreSQL Compatibility

Only in HashiCorp Boundary

  • Identity-based access
  • Just-in-time credentials
  • Dynamic host catalogues
  • Session recording
  • Transparent sessions
  • Multi-hop workers
  • Audit logging
  • Terraform provider

What is each one used for?

CockroachDB is most often brought in for distributed SQL database for scalable applications. The jobs each tool is most often brought in to do.

CockroachDB

  • Distributed SQL database for scalable applicationsnot HashiCorp Boundary
  • Multi-region deployment and failovernot HashiCorp Boundary

HashiCorp Boundary

  • A platform team replacing shared SSH keys and a bastion host so that leavers lose access the moment they are removed from the identity providernot CockroachDB
  • Granting contractors time-boxed database access without ever issuing them a credential they could keepnot CockroachDB
  • An estate where autoscaling replaces hosts continuously and a static access list is always out of datenot CockroachDB
  • Producing session recordings as evidence for an audit that requires proof of who touched production and what they rannot CockroachDB

Where do CockroachDB and HashiCorp Boundary fall short?

CockroachDB's most cited limit: basic and Standard tiers limited to AWS and GCP (select regions only). Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

CockroachDB

  • Basic and Standard tiers limited to AWS and GCP (select regions only)
  • Azure support restricted to Advanced tier only
  • Basic tier limited to 50 million RUs and 10 GiB storage per month
  • Advanced tier starts at $0.60/hour for 4 vCPUs minimum
  • 3 TiB maximum storage on Basic and Standard tiers, 10 TiB per node on Advanced

HashiCorp Boundary

  • HashiCorp was acquired by IBM in February 2025 and Enterprise licensing now runs through IBM Passport Advantage; IBM has already retired HCP Vault Secrets, so Boundary's roadmap depends on IBM portfolio decisions rather than HashiCorp's own product strategy
  • Enterprise pricing is not published anywhere, and the features most organisations actually need for compliance, notably session recording, are Enterprise only, so the free community edition is rarely the version you end up buying
  • It solves access to infrastructure, not to applications; browser-based internal tools, SaaS admin consoles and APIs need a separate control, so Boundary is one component of a zero-trust programme rather than the whole thing
  • Running it yourself means operating controllers, worker nodes and a Postgres database in a highly available configuration, and if that control plane is down nobody can reach production, which makes it a new critical dependency
  • It is materially easier to adopt if you already run Vault and Terraform; teams without that ecosystem face a steeper learning curve than a device-based mesh product like Tailscale, for a similar access outcome

How much do CockroachDB and HashiCorp Boundary cost?

CockroachDB has a free plan, with paid plans from $0.057/mo; HashiCorp Boundary is free to use. Plan by plan below, from each vendor's own pricing page.

CockroachDB

Free
  • Standard$0.057/vcpu-hour
  • Mission Critical$0.162/vcpu-hour

HashiCorp Boundary

Free
  • Boundary Community EditionFree
    • MPL 2.0 open source
    • Self-hosted controllers and workers
    • Identity-based target access
  • Boundary EnterpriseOn request
    • Session recording and playback
    • Multi-hop and transparent sessions
    • Multi-tenancy via scopes

Which should you pick?

Choose CockroachDB if

  • You need distributed sql.
  • You want to start without paying.
  • You work on AWS, GCP, Azure.
  • You also want automatic sharding.

Choose HashiCorp Boundary if

  • You need identity-based access.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, Web.
  • You also want just-in-time credentials.

Questions people ask

Is CockroachDB or HashiCorp Boundary better?
It depends on the job. CockroachDB fits distributed SQL database for scalable applications; HashiCorp Boundary fits a platform team replacing shared SSH keys and a bastion host so that leavers lose access the moment they are removed from the identity provider. CockroachDB starts at Free and HashiCorp Boundary at Free.
Which is cheaper, CockroachDB or HashiCorp Boundary?
CockroachDB starts at Free and HashiCorp Boundary at Free.
Does CockroachDB or HashiCorp Boundary run on more platforms?
CockroachDB runs on AWS, GCP, Azure. HashiCorp Boundary runs on Linux, macOS, Windows, Web.
Can I use CockroachDB for free?
Both have a free tier, so you can try either at no cost before committing.
What is CockroachDB best used for?
CockroachDB is most often used for distributed sql database for scalable applications, multi-region deployment and failover. Of those, distributed sql database for scalable applications and multi-region deployment and failover are not what HashiCorp Boundary is typically brought in for.
What can CockroachDB do that HashiCorp Boundary cannot?
CockroachDB covers Distributed SQL, Automatic Sharding, Multi-region Replication, Geo-partitioning. HashiCorp Boundary covers Identity-based access, Just-in-time credentials, Dynamic host catalogues, Session recording.

Answered from the vendors’ own pages

CockroachDB: What does the free Basic tier include?

The Basic tier is free and includes 50 million RUs and 10 GiB storage per month, with a maximum compute of 30K RU/sec. No credit card is required to start.

Source
HashiCorp Boundary: Is Boundary open source?

The community edition is, under MPL 2.0. Boundary Enterprise is commercial and is now sold through IBM Passport Advantage.

CockroachDB: How much do the paid tiers cost?

Standard tier starts at $0.18 per hour for 2 vCPUs, and Advanced tier starts at $0.60 per hour for 4 vCPUs. Both tiers support additional resources with higher costs for increased compute and storage.

Source
HashiCorp Boundary: Does it replace a VPN?

For infrastructure access, largely yes. It grants a session to a specific target rather than putting the user on a network, but it does not cover browser-based internal applications.

CockroachDB: What are the storage limits for each tier?

Basic plan supports up to 3 TiB storage, Standard tier up to 3 TiB, and Advanced tier up to 10 TiB per node with unlimited total storage.

Source
HashiCorp Boundary: What does Boundary Enterprise cost?

HashiCorp does not publish Boundary pricing. It is quoted, and since the IBM acquisition it is transacted on IBM licensing paper.

CockroachDB: Can I get trial credits before paying?

Yes, new users can try CockroachDB free with $400 in credits. The Basic and Standard plans do not require a credit card to start.

Source
HashiCorp Boundary: Do I need Vault to use it?

No, but the just-in-time credential brokering that makes Boundary worthwhile depends on Vault or an equivalent secrets store.

CockroachDB: Do legacy contracts have different pricing?

Customers with annual or multi-year contracts entered before December 1, 2024 can view legacy pricing terms on a separate page, which apply until their contract renewal date.

Source
Share

Related pages

Other head to heads