Softwr

Databases · head to head

Amazon DocumentDB vs Amazon EKS

Amazon DocumentDB logo

Amazon DocumentDB

Databases

Managed MongoDB-compatible document database service on AWS

From
On request
Free plan
No
Amazon EKS logo

Amazon EKS

Databases

Managed Kubernetes control plane on AWS, in the cloud or on your own hardware

From
$0.1/hour
Free plan
No

The short version

  • Amazon DocumentDB is a managed document database on AWS.
  • Amazon EKS starts at $0.1/mo; Amazon DocumentDB prices on request.
  • Only Amazon DocumentDB lists MongoDB driver and tool compatibility; only Amazon EKS lists node options.
  • Where Amazon DocumentDB falls short: runs only on AWS; it cannot run on premises or across cloud providers.
  • Where Amazon EKS falls short: the real bill is dominated by worker nodes, load balancers, NAT gateways and data transfer, none of which appear in the cluster fee.

How do Amazon DocumentDB and Amazon EKS differ?

Amazon DocumentDB and Amazon EKS differ on starting price (On request against $0.1/hour), pricing model and platforms (Web against Web, Linux). Only the attributes on which Amazon DocumentDB and Amazon EKS actually diverge.

Attributes where Amazon DocumentDB and Amazon EKS differ
AttributeAmazon DocumentDBAmazon EKS
Starting priceOn request$0.1/hour
Pricing modelUsage-basedPer cluster per hour, plus worker nodes
PlatformsWebWeb, Linux

Identical on both: free tier (No).

Not yet recorded: category for Amazon EKS.

Which features does each one have?

They share no listed features; 8 appear only for Amazon DocumentDB and 6 only for Amazon EKS. 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 Amazon EKS

  • Managed control plane
  • Node options
  • EKS Hybrid Nodes
  • Extended support
  • EKS Capabilities
  • IAM integration

What is each one used for?

Amazon DocumentDB is most often brought in for migrating MongoDB workloads to AWS; Amazon EKS for A platform team standardising on Kubernetes across several business units on AWS. The jobs each tool is most often brought in to do.

Amazon DocumentDB

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

Amazon EKS

  • A platform team standardising on Kubernetes across several business units on AWSnot Amazon DocumentDB
  • Running the same cluster tooling in the cloud and in factories or data centres through Hybrid Nodesnot Amazon DocumentDB
  • Hosting stateful or operator-driven workloads that ECS cannot expressnot Amazon DocumentDB
  • Workloads that may need to move to another cloud or to on-premises Kubernetes laternot Amazon DocumentDB

Where do Amazon DocumentDB and Amazon EKS fall short?

Amazon DocumentDB's most cited limit: runs only on AWS; it cannot run on premises or across cloud providers. 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

Amazon EKS

  • The per cluster fee is charged whether or not a single pod runs, so organisations that create one cluster per team or environment pay for idle control planes
  • Falling out of standard support moves the control plane fee from $0.10 to $0.60 per hour, so teams that postpone upgrades are charged for the delay
  • AWS manages the control plane only; add-ons, CNI, ingress, node upgrades and CVE patching of nodes remain your responsibility, which needs dedicated Kubernetes skills
  • The real bill is dominated by worker nodes, load balancers, NAT gateways and data transfer, none of which appear in the cluster fee
  • Kubernetes API changes force an upgrade cycle roughly every 14 months, and deprecated APIs can break manifests and operators

How much do Amazon DocumentDB and Amazon EKS cost?

Amazon EKS starts at $0.1/mo. Plan by plan below, from each vendor's own pricing page.

Amazon DocumentDB

On request

No published plan breakdown. See the Amazon DocumentDB review.

Amazon EKS

$0.1/hour
  • Standard support$0.1/hour
    • Per cluster control plane fee, Kubernetes versions in their first 14 months
    • Worker nodes billed separately at EC2 or Fargate rates
  • Extended support$0.6/hour
    • Per cluster fee for versions in months 15 to 26
    • Same control plane, six times the hourly fee
  • Hybrid Nodes$0.02/hour
    • Per vCPU per hour for on-premises and edge nodes, first volume tier
    • Lower rate applies at higher volumes

Which should you pick?

Choose Amazon DocumentDB if

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

Choose Amazon EKS if

  • You need managed control plane.
  • You work on Web, Linux.
  • You also want node options.

Questions people ask

Is Amazon DocumentDB or Amazon EKS better?
It depends on the job. Amazon DocumentDB fits migrating MongoDB workloads to AWS; Amazon EKS fits a platform team standardising on Kubernetes across several business units on AWS. Amazon DocumentDB starts at On request and Amazon EKS at $0.1/hour.
Which is cheaper, Amazon DocumentDB or Amazon EKS?
Amazon DocumentDB starts at On request and Amazon EKS at $0.1/hour.
Does Amazon DocumentDB or Amazon EKS run on more platforms?
Amazon DocumentDB runs on Web. Amazon EKS runs on Web, Linux.
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 Amazon EKS is typically brought in for.
What can Amazon DocumentDB do that Amazon EKS cannot?
Amazon DocumentDB covers MongoDB driver and tool compatibility, Managed patching, backups and monitoring, Serverless capacity scaling, Elastic clusters. Amazon EKS covers Managed control plane, Node options, EKS Hybrid Nodes, Extended support.

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
Amazon EKS: How much does an EKS cluster cost per month?

The control plane fee is $0.10 per hour under standard support and $0.60 per hour under extended support, per the AWS pricing page. Worker nodes, storage and networking are billed separately at their own rates.

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
Amazon EKS: Is EKS cheaper than ECS?

ECS has no control plane fee, so for the same compute it costs less. EKS charges per cluster in exchange for upstream Kubernetes compatibility.

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
Amazon EKS: Can EKS run on-premises?

Yes. EKS Hybrid Nodes lets you register your own servers as nodes in an EKS cluster, billed per vCPU per hour.

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