Softwr

Databases · head to head

AWS Direct Connect vs Google Cloud Spanner

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
Google Cloud Spanner logo

Google Cloud Spanner

Databases

Globally distributed relational database with strong consistency and up to 99.999% availability

From
Free
Free plan
Yes

The short version

  • Google Cloud Spanner is free; AWS Direct Connect starts at $0.03/mo.
  • Only AWS Direct Connect lists dedicated connections; only Google Cloud Spanner lists strong global consistency.
  • 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 Google Cloud Spanner falls short: pricing has compute, storage, replication and network components.

How do AWS Direct Connect and Google Cloud Spanner differ?

AWS Direct Connect and Google Cloud Spanner 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 Google Cloud Spanner actually diverge.

Attributes where AWS Direct Connect and Google Cloud Spanner differ
AttributeAWS Direct ConnectGoogle Cloud Spanner
Starting price$0.03/hourFree
Pricing modelPer port hour plus per GB data transfer outUsage-based
Free tierNoYes

Identical on both: platforms (Web).

Not yet recorded: category for AWS Direct Connect.

Which features does each one have?

They share no listed features; 6 appear only for AWS Direct Connect and 9 only for Google Cloud Spanner. 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 Google Cloud Spanner

  • Strong global consistency
  • Automatic sharding
  • Single, dual and multi-region configurations
  • Spanner Graph
  • Vector and full-text search
  • Columnar engine for analytics
  • BigQuery federated queries
  • Spanner Omni

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; Google Cloud Spanner for global transactional systems. 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 Google Cloud Spanner
  • Hybrid applications that need consistent latency between a data centre and a VPCnot Google Cloud Spanner
  • Regulated workloads that must not traverse the public internetnot Google Cloud Spanner
  • Reducing data transfer out costs for steady high-volume egressnot Google Cloud Spanner

Google Cloud Spanner

  • Global transactional systemsnot AWS Direct Connect
  • Mission-critical apps needing 99.999% availabilitynot AWS Direct Connect
  • Applications needing relational plus graph and vectornot AWS Direct Connect
  • Real-time analytics on operational datanot AWS Direct Connect
  • Scaling beyond a single database servernot AWS Direct Connect

Where do AWS Direct Connect and Google Cloud Spanner 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. Google Cloud Spanner's: pricing has compute, storage, replication and network components. 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

Google Cloud Spanner

  • Pricing has compute, storage, replication and network components
  • Cost is high for small or single-region workloads
  • Tied to Google Cloud outside the Omni option
  • Schema and query patterns differ from standard PostgreSQL deployments

How much do AWS Direct Connect and Google Cloud Spanner cost?

AWS Direct Connect starts at $0.03/mo; Google Cloud Spanner is free to use. 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

Google Cloud Spanner

Free

No published plan breakdown. See the Google Cloud Spanner review.

Which should you pick?

Choose AWS Direct Connect if

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

Choose Google Cloud Spanner if

  • You need strong global consistency.
  • You want to start without paying.
  • You also want automatic sharding.

Questions people ask

Is AWS Direct Connect or Google Cloud Spanner 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; Google Cloud Spanner fits global transactional systems. AWS Direct Connect starts at $0.03/hour and Google Cloud Spanner at Free.
Which is cheaper, AWS Direct Connect or Google Cloud Spanner?
Google Cloud Spanner has a free tier; the other does not. Paid plans start at $0.03/hour for AWS Direct Connect and Free for Google Cloud Spanner.
Does AWS Direct Connect or Google Cloud Spanner run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Google Cloud Spanner for free?
Yes. Google Cloud Spanner 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 Google Cloud Spanner is typically brought in for.
What can AWS Direct Connect do that Google Cloud Spanner cannot?
AWS Direct Connect covers Dedicated connections, Hosted connections, Virtual interfaces, Link aggregation groups. Google Cloud Spanner covers Strong global consistency, Automatic sharding, Single, dual and multi-region configurations, Spanner Graph.

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.

Google Cloud Spanner: Is there a free trial?

Yes, a free trial instance lasts 90 days with up to 10 GiB of data.

Source
AWS Direct Connect: Is data in free?

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

Google Cloud Spanner: What availability does Spanner offer?

Up to 99.999% availability, depending on configuration.

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.

Google Cloud Spanner: How is Spanner billed?

By hourly compute by edition, plus storage and replication, with committed use discounts of one and three years.

Source
Google Cloud Spanner: Can Spanner run outside Google Cloud?

Spanner Omni is a downloadable version for on-premises, other clouds or a laptop.

Source
Share

Related pages

Other head to heads