Softwr

Cloud · head to head

Amazon CloudFront vs Amazon DocumentDB

Amazon CloudFront logo

Amazon CloudFront

Cloud

AWS content delivery network with flat-rate and pay-as-you-go pricing

From
Free
Free plan
Yes
Amazon DocumentDB logo

Amazon DocumentDB

Databases

Managed MongoDB-compatible document database service on AWS

From
On request
Free plan
No

The short version

  • Amazon DocumentDB is a managed document database on AWS.
  • Amazon CloudFront starts at $15/mo; Amazon DocumentDB prices on request.
  • Only Amazon CloudFront lists 750+ points of presence; only Amazon DocumentDB lists MongoDB driver and tool compatibility.
  • Where Amazon CloudFront falls short: free plan has no logging, bot management or advanced DDoS protection.
  • Where Amazon DocumentDB falls short: runs only on AWS; it cannot run on premises or across cloud providers.

How do Amazon CloudFront and Amazon DocumentDB differ?

Amazon CloudFront and Amazon DocumentDB differ on starting price (Free against On request), free tier (Yes against No) and category (Cloud against Databases). Only the attributes on which Amazon CloudFront and Amazon DocumentDB actually diverge.

Attributes where Amazon CloudFront and Amazon DocumentDB differ
AttributeAmazon CloudFrontAmazon DocumentDB
Starting priceFreeOn request
Free tierYesNo
CategoryCloudDatabases

Identical on both: pricing model (Usage-based), platforms (Web).

Which features does each one have?

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

  • 750+ points of presence
  • AWS Shield Standard DDoS protection
  • Serverless edge compute
  • Flat-rate plans with no overage
  • Pay-as-you-go pricing
  • Field-level encryption
  • gRPC and WebSockets support
  • Origin failover on Premium

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

What is each one used for?

Amazon CloudFront is most often brought in for website acceleration; Amazon DocumentDB for migrating MongoDB workloads to AWS. The jobs each tool is most often brought in to do.

Amazon CloudFront

  • Website accelerationnot Amazon DocumentDB
  • Video streaming deliverynot Amazon DocumentDB
  • API accelerationnot Amazon DocumentDB
  • Software and game update distributionnot Amazon DocumentDB
  • IoT firmware updatesnot Amazon DocumentDB

Amazon DocumentDB

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

Where do Amazon CloudFront and Amazon DocumentDB fall short?

Amazon CloudFront's most cited limit: free plan has no logging, bot management or advanced DDoS protection. Amazon DocumentDB's: 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 CloudFront

  • Free plan has no logging, bot management or advanced DDoS protection
  • Advanced DDoS protection and uptime SLA start at the Business plan
  • Pay-as-you-go cost varies month to month with traffic
  • Flat-rate plans cannot be combined with other offers or discounts

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

How much do Amazon CloudFront and Amazon DocumentDB cost?

Amazon CloudFront has a free plan, with paid plans from $15/mo. Plan by plan below, from each vendor's own pricing page.

Amazon CloudFront

Free
  • FreeFree
  • Pro$15/mo
  • Business$200/mo
  • Premium$1,000/mo

Amazon DocumentDB

On request

No published plan breakdown. See the Amazon DocumentDB review.

Which should you pick?

Choose Amazon CloudFront if

  • You need 750+ points of presence.
  • You want to start without paying.
  • You also want aws shield standard ddos protection.

Choose Amazon DocumentDB if

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

Questions people ask

Is Amazon CloudFront or Amazon DocumentDB better?
It depends on the job. Amazon CloudFront fits website acceleration; Amazon DocumentDB fits migrating MongoDB workloads to AWS. Amazon CloudFront starts at Free and Amazon DocumentDB at On request.
Which is cheaper, Amazon CloudFront or Amazon DocumentDB?
Amazon CloudFront has a free tier; the other does not. Paid plans start at Free for Amazon CloudFront and On request for Amazon DocumentDB.
Does Amazon CloudFront or Amazon DocumentDB run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Amazon CloudFront for free?
Yes. Amazon CloudFront has a free tier, so you can try it without paying. Amazon DocumentDB starts at On request.
What is Amazon CloudFront best used for?
Amazon CloudFront is most often used for website acceleration, video streaming delivery, api acceleration, software and game update distribution. Of those, website acceleration and video streaming delivery are not what Amazon DocumentDB is typically brought in for.
What can Amazon CloudFront do that Amazon DocumentDB cannot?
Amazon CloudFront covers 750+ points of presence, AWS Shield Standard DDoS protection, Serverless edge compute, Flat-rate plans with no overage. Amazon DocumentDB covers MongoDB driver and tool compatibility, Managed patching, backups and monitoring, Serverless capacity scaling, Elastic clusters.

Answered from the vendors’ own pages

Amazon CloudFront: How is CloudFront priced?

It offers flat-rate plans billed monthly per distribution with no overage charges. Alternatively, pay-as-you-go bills each service separately by usage, so cost varies with traffic.

Source
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 CloudFront: Is there a free plan?

Yes. The Free plan is $0 a month and includes 1M requests, 100GB of data transfer and a basic WAF with 5 rules.

Source
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 CloudFront: How many points of presence does it have?

The product page cites more than 750 globally dispersed points of presence. It also describes automated network mapping and intelligent routing.

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