Softwr

Databases · head to head

AWS Direct Connect vs CockroachDB

AWS Direct Connect logo

AWS Direct Connect

Databases

Dedicated private network links from your data centre to AWS

From
$0.03/hour
Free plan
No
CockroachDB logo

CockroachDB

Databases

The cloud-native distributed SQL database

From
Free
Free plan
Yes

The short version

  • CockroachDB is a cloud-native distributed SQL database.
  • CockroachDB has a free plan, then $0.057/mo; AWS Direct Connect starts at $0.03/mo.
  • Only AWS Direct Connect lists dedicated connections; only CockroachDB lists distributed SQL.
  • Where AWS Direct Connect falls short: provisioning takes weeks and involves a colocation facility or partner, so it cannot be used for a quick or short-term need.
  • Where CockroachDB falls short: basic and Standard tiers limited to AWS and GCP (select regions only).

How do AWS Direct Connect and CockroachDB differ?

AWS Direct Connect and CockroachDB differ on starting price ($0.03/hour against Free), pricing model and free tier (No against Yes). Only the attributes on which AWS Direct Connect and CockroachDB actually diverge.

Attributes where AWS Direct Connect and CockroachDB differ
AttributeAWS Direct ConnectCockroachDB
Starting price$0.03/hourFree
Pricing modelPer port hour plus per GB data transfer outFreemium
Free tierNoYes
PlatformsWebAWS, GCP, Azure

Not yet recorded: category for AWS Direct Connect, founded for AWS Direct Connect.

Which features does each one have?

They share no listed features; 6 appear only for AWS Direct Connect and 20 only for CockroachDB. 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 AWS Direct Connect

  • Dedicated connections
  • Hosted connections
  • Virtual interfaces
  • Link aggregation groups
  • MACsec
  • SiteLink

Only in CockroachDB

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

What is each one used for?

AWS Direct Connect is most often brought in for hybrid applications that need consistent latency between a data centre and a VPC; CockroachDB for distributed SQL database for scalable applications. The jobs each tool is most often brought in to do.

AWS Direct Connect

  • Moving tens of terabytes to S3 on a dedicated circuit instead of over the internetnot CockroachDB
  • Hybrid applications that need consistent latency between a data centre and a VPCnot CockroachDB
  • Regulated workloads that must not traverse the public internetnot CockroachDB
  • Reducing data transfer out costs for steady high-volume egressnot CockroachDB

CockroachDB

  • Distributed SQL database for scalable applicationsnot AWS Direct Connect
  • Multi-region deployment and failovernot AWS Direct Connect

Where do AWS Direct Connect and CockroachDB fall short?

AWS Direct Connect's most cited limit: A resilient design needs at least two connections at two locations, which doubles port fees before any traffic is sent. CockroachDB's: 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.

AWS Direct Connect

  • Provisioning takes weeks and involves a colocation facility or partner, so it cannot be used for a quick or short-term need
  • A resilient design needs at least two connections at two locations, which doubles port fees before any traffic is sent
  • Colocation cross-connect and carrier circuit costs are billed by third parties and are often larger than the AWS port charge
  • Data transfer out is still metered per GB, and the rate depends on the Region and the Direct Connect location, so cost modelling needs the full rate table
  • The connection is not encrypted by default; adding a VPN or MACsec is extra configuration, and MACsec is only on certain dedicated ports

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

How much do AWS Direct Connect and CockroachDB cost?

AWS Direct Connect starts at $0.03/mo; CockroachDB has a free plan, with paid plans from $0.057/mo. Plan by plan below, from each vendor's own pricing page.

AWS Direct Connect

$0.03/hour
  • Hosted connection$0.03/hour
    • 50 Mbps $0.03 per hour, 1 Gbps $0.33, 10 Gbps $2.48 (excluding Japan)
    • Ordered through an AWS Direct Connect Partner
  • Dedicated connection$0.3/hour
    • 1 Gbps $0.30 per hour, 10 Gbps $2.25, 100 Gbps $22.50, 400 Gbps $85.00 (excluding Japan)
    • Ordered directly from AWS at a Direct Connect location
  • Data transfer$0.02/gb
    • Data in is $0.00 per GB
    • Data out from US Regions to US locations is $0.02 per GB, higher for other geographies

CockroachDB

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

Which should you pick?

Choose AWS Direct Connect if

  • You need dedicated connections.
  • You also want hosted connections.

Choose CockroachDB if

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

Questions people ask

Is AWS Direct Connect or CockroachDB better?
It depends on the job. AWS Direct Connect fits moving tens of terabytes to S3 on a dedicated circuit instead of over the internet; CockroachDB fits distributed SQL database for scalable applications. AWS Direct Connect starts at $0.03/hour and CockroachDB at Free.
Which is cheaper, AWS Direct Connect or CockroachDB?
CockroachDB has a free tier; the other does not. Paid plans start at $0.03/hour for AWS Direct Connect and Free for CockroachDB.
Does AWS Direct Connect or CockroachDB run on more platforms?
AWS Direct Connect runs on Web. CockroachDB runs on AWS, GCP, Azure.
Can I use CockroachDB for free?
Yes. CockroachDB has a free tier, so you can try it without paying. AWS Direct Connect starts at $0.03/hour.
What is AWS Direct Connect best used for?
AWS Direct Connect is most often used for moving tens of terabytes to s3 on a dedicated circuit instead of over the internet, hybrid applications that need consistent latency between a data centre and a vpc, regulated workloads that must not traverse the public internet, reducing data transfer out costs for steady high-volume egress. Of those, moving tens of terabytes to s3 on a dedicated circuit instead of over the internet and hybrid applications that need consistent latency between a data centre and a vpc are not what CockroachDB is typically brought in for.
What can AWS Direct Connect do that CockroachDB cannot?
AWS Direct Connect covers Dedicated connections, Hosted connections, Virtual interfaces, Link aggregation groups. CockroachDB covers Distributed SQL, Automatic Sharding, Multi-region Replication, Geo-partitioning.

Answered from the vendors’ own pages

AWS Direct Connect: How much does AWS Direct Connect cost?

A 1 Gbps dedicated port is $0.30 per hour and a 10 Gbps port $2.25 per hour, plus $0.02 per GB data transfer out in US locations, per the AWS pricing page.

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
AWS Direct Connect: Is data in free?

Yes. Data transferred into AWS over Direct Connect is $0.00 per GB at all locations.

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
AWS Direct Connect: Do I need a VPN with Direct Connect?

Not for connectivity, but Direct Connect is not encrypted by default; a VPN over it or MACsec adds encryption.

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
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
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