Softwr

Databases · head to head

Amazon DocumentDB vs Google Compute Engine

Amazon DocumentDB logo

Amazon DocumentDB

Databases

Managed MongoDB-compatible document database service on AWS

From
On request
Free plan
No
Google Compute Engine logo

Google Compute Engine

Databases

Google Cloud virtual machines billed per vCPU and per GB of memory

From
On request
Free plan
No

The short version

  • Amazon DocumentDB is a managed document database on AWS.
  • Only Amazon DocumentDB lists MongoDB driver and tool compatibility; only Google Compute Engine lists machine families.
  • Where Amazon DocumentDB falls short: runs only on AWS; it cannot run on premises or across cloud providers.
  • Where Google Compute Engine falls short: you manage patching, hardening and scaling, so the effective cost includes operations time that serverless options remove.

How do Amazon DocumentDB and Google Compute Engine differ?

Amazon DocumentDB and Google Compute Engine differ on pricing model and platforms (Web against Web, API). Only the attributes on which Amazon DocumentDB and Google Compute Engine actually diverge.

Attributes where Amazon DocumentDB and Google Compute Engine differ
AttributeAmazon DocumentDBGoogle Compute Engine
Pricing modelUsage-basedPer vCPU and per GB of memory per hour
PlatformsWebWeb, API

Identical on both: starting price (On request), free tier (No).

Not yet recorded: category for Google Compute Engine.

Which features does each one have?

They share no listed features; 8 appear only for Amazon DocumentDB and 5 only for Google Compute Engine. 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 Amazon DocumentDB

  • MongoDB driver and tool compatibility
  • Managed patching, backups and monitoring
  • Serverless capacity scaling
  • Elastic clusters
  • Global clusters across up to 10 AWS Regions
  • I/O-Optimized pricing configuration
  • CloudWatch, IAM and AWS Backup integration
  • Zero ETL to Amazon OpenSearch Service

Only in Google Compute Engine

  • Machine families
  • Custom machine types
  • Sustained use discounts
  • Committed use discounts
  • Free e2-micro

What is each one used for?

Amazon DocumentDB is most often brought in for migrating MongoDB workloads to AWS; Google Compute Engine for lift-and-shift of virtual machine workloads to Google Cloud. The jobs each tool is most often brought in to do.

Amazon DocumentDB

  • Migrating MongoDB workloads to AWSnot Google Compute Engine
  • Content and catalogue document storesnot Google Compute Engine
  • Serverless document databases for variable loadnot Google Compute Engine
  • Multi region read replicas for disaster recoverynot Google Compute Engine

Google Compute Engine

  • Lift-and-shift of virtual machine workloads to Google Cloudnot Amazon DocumentDB
  • GPU and high performance computing jobsnot Amazon DocumentDB
  • Self-managed databases or legacy servers needing OS controlnot Amazon DocumentDB
  • Cost-optimised batch work on spot capacitynot Amazon DocumentDB

Where do Amazon DocumentDB and Google Compute Engine fall short?

Amazon DocumentDB's most cited limit: runs only on AWS; it cannot run on premises or across cloud providers. Google Compute Engine's: machine type choice is wide, and picking the wrong family wastes money until you resize. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon DocumentDB

  • Runs only on AWS; it cannot run on premises or across cloud providers
  • Compatible with MongoDB rather than identical, with no time series collection support
  • Cost combines instance, storage, I/O and backup charges, which are harder to forecast
  • Free tier allowance lasts 30 days for new accounts and is excluded in some regions

Google Compute Engine

  • You manage patching, hardening and scaling, so the effective cost includes operations time that serverless options remove
  • Bills combine vCPU, memory, disks, network egress and licences, which makes forecasting hard without the pricing calculator
  • Machine type choice is wide, and picking the wrong family wastes money until you resize
  • Sustained use discounts do not stack with committed use discounts, so savings depend on getting commitments right
  • Network egress charges can exceed compute cost for data-heavy applications

How much do Amazon DocumentDB and Google Compute Engine cost?

Amazon DocumentDB

On request

No published plan breakdown. See the Amazon DocumentDB review.

Google Compute Engine

On request
  • On demandOn request
    • vCPU and memory billed separately
    • Sustained use discounts up to 30%
    • Committed use discounts available

Which should you pick?

Choose Amazon DocumentDB if

  • You need mongodb driver and tool compatibility.
  • You also want managed patching, backups and monitoring.

Choose Google Compute Engine if

  • You need machine families.
  • You work on Web, API.
  • You also want custom machine types.

Questions people ask

Is Amazon DocumentDB or Google Compute Engine better?
It depends on the job. Amazon DocumentDB fits migrating MongoDB workloads to AWS; Google Compute Engine fits lift-and-shift of virtual machine workloads to Google Cloud. Amazon DocumentDB starts at On request and Google Compute Engine at On request.
Which is cheaper, Amazon DocumentDB or Google Compute Engine?
Amazon DocumentDB starts at On request and Google Compute Engine at On request.
Does Amazon DocumentDB or Google Compute Engine run on more platforms?
Amazon DocumentDB runs on Web. Google Compute Engine runs on Web, API.
What is Amazon DocumentDB best used for?
Amazon DocumentDB is most often used for migrating mongodb workloads to aws, content and catalogue document stores, serverless document databases for variable load, multi region read replicas for disaster recovery. Of those, migrating mongodb workloads to aws and content and catalogue document stores are not what Google Compute Engine is typically brought in for.
What can Amazon DocumentDB do that Google Compute Engine cannot?
Amazon DocumentDB covers MongoDB driver and tool compatibility, Managed patching, backups and monitoring, Serverless capacity scaling, Elastic clusters. Google Compute Engine covers Machine families, Custom machine types, Sustained use discounts, Committed use discounts.

Answered from the vendors’ own pages

Amazon DocumentDB: Is DocumentDB the same as MongoDB?

No. It is MongoDB compatible: existing MongoDB drivers and tools work, but Wikipedia notes it supports MongoDB 3.6 and 4.0 with later partial 5.0 compliance and no time series collections.

Source
Google Compute Engine: How is Compute Engine billed?

Per vCPU and per GB of memory per hour, plus disks and network.

Amazon DocumentDB: How is DocumentDB priced?

Pay as you go. Provisioned clusters are billed for instances per second, I/O, storage and backup storage, while serverless uses DocumentDB Capacity Units billed per second.

Source
Google Compute Engine: Is there a free VM?

Yes, Google Cloud offers a free e2-micro instance under its free programme.

Amazon DocumentDB: Is there a free tier?

New AWS accounts get one month: 750 hours a month of db.t3.medium, 30 million I/Os, 5 GB storage and 5 GB backup. It is not available in AWS GovCloud (US) or China (Ningxia).

Source
Google Compute Engine: What discounts exist?

Sustained use discounts of up to 30% and committed use discounts.

Amazon DocumentDB: Can it run outside AWS?

No. Wikipedia says it runs only on AWS and cannot span cloud providers or run on premises.

Source
Share

Related pages

Other head to heads