Softwr

Databases · head to head

Amazon DocumentDB vs Fly.io

Amazon DocumentDB logo

Amazon DocumentDB

Databases

Managed MongoDB-compatible document database service on AWS

From
On request
Free plan
No
Fly.io logo

Fly.io

Cloud

Deploy web applications globally

From
$29/month
Free plan
No

The short version

  • Amazon DocumentDB is a managed document database on AWS.
  • Fly.io starts at $29/mo; Amazon DocumentDB prices on request.
  • Only Amazon DocumentDB lists MongoDB driver and tool compatibility; only Fly.io lists docker support.
  • Where Amazon DocumentDB falls short: runs only on AWS; it cannot run on premises or across cloud providers.
  • Where Fly.io falls short: stopped machines still bill at $0.15 per GB of root filesystem a month, so a paused service is not a free one.

How do Amazon DocumentDB and Fly.io differ?

Amazon DocumentDB and Fly.io differ on starting price (On request against $29/month), platforms and category (Databases against Cloud). Only the attributes on which Amazon DocumentDB and Fly.io actually diverge.

Attributes where Amazon DocumentDB and Fly.io differ
AttributeAmazon DocumentDBFly.io
Starting priceOn request$29/month
PlatformsWebWeb, API, Self-hosted
CategoryDatabasesCloud

Identical on both: pricing model (Usage-based), free tier (No).

Not yet recorded: founded for Amazon DocumentDB.

Which features does each one have?

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

  • Global deployment
  • Docker support
  • Postgres databases
  • Redis support
  • Auto-scaling
  • Health checks
  • Backups
  • Monitoring

What is each one used for?

Amazon DocumentDB is most often brought in for migrating MongoDB workloads to AWS; Fly.io for deploying containerised applications close to users across regions. The jobs each tool is most often brought in to do.

Amazon DocumentDB

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

Fly.io

  • Deploying containerised applications close to users across regionsnot Amazon DocumentDB
  • Running full stack apps and databases on managed machinesnot Amazon DocumentDB

Where do Amazon DocumentDB and Fly.io fall short?

Amazon DocumentDB's most cited limit: runs only on AWS; it cannot run on premises or across cloud providers. Fly.io's: stopped machines still bill at $0.15 per GB of root filesystem a month, so a paused service is not a free one. 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

Fly.io

  • Egress is priced by destination region, from $0.02 per GB in North America and Europe to $0.12 per GB for Africa and India, so the same traffic costs six times more depending on where users are
  • Stopped machines still bill at $0.15 per GB of root filesystem a month, so a paused service is not a free one
  • Volumes are billed on provisioned capacity rather than usage, at $0.15 per GB a month
  • Reservation discounts of 40% require paying a year up front, from $36 to $1,440
  • Fly Kubernetes is a separate $75 a month per cluster
  • Dedicated IPv4 addresses are $2 a month each

How much do Amazon DocumentDB and Fly.io cost?

Fly.io starts at $29/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.

Fly.io

$29/month
  • Pay-as-You-GoOn request
    • Micro VMs and persistent storage charged by usage
    • FlyCTL CLI
    • Unlimited users and organizations
  • Serious Support$29/mo
    • Access to dedicated engineering team
    • All Pay-as-You-Go features
  • Machine Reservation BlocksOn request
    • 40% discount on machine usage
    • Requires upfront payment for savings
  • Compliance Package$99/mo
    • HIPAA compliance
    • BAAs
    • SOC2 documentation

Which should you pick?

Choose Amazon DocumentDB if

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

Choose Fly.io if

  • You need global deployment.
  • You work on Web, API, Self-hosted.
  • You also want docker support.

Questions people ask

Is Amazon DocumentDB or Fly.io better?
It depends on the job. Amazon DocumentDB fits migrating MongoDB workloads to AWS; Fly.io fits deploying containerised applications close to users across regions. Amazon DocumentDB starts at On request and Fly.io at $29/month.
Which is cheaper, Amazon DocumentDB or Fly.io?
Amazon DocumentDB starts at On request and Fly.io at $29/month.
Does Amazon DocumentDB or Fly.io run on more platforms?
Amazon DocumentDB runs on Web. Fly.io runs on Web, API, Self-hosted.
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 Fly.io is typically brought in for.
What can Amazon DocumentDB do that Fly.io cannot?
Amazon DocumentDB covers MongoDB driver and tool compatibility, Managed patching, backups and monitoring, Serverless capacity scaling, Elastic clusters. Fly.io covers Global deployment, Docker support, Postgres databases, Redis 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
Fly.io: Is there a free tier for Fly.io?

Fly.io does not advertise a free tier. The base plan is pay-as-you-go with usage-based pricing for Micro VMs and persistent storage. All users get FlyCTL CLI, unlimited organizations, private networking, SSO, ACLs, and scoped tokens.

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
Fly.io: How much does Fly.io Serious Support cost?

Serious Support costs 29 USD per month and provides access to a dedicated engineering team while maintaining all pay-as-you-go features for Micro VMs and storage.

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
Fly.io: What does Fly.io Compliance Package include?

The Compliance Package is 99 USD per month and includes HIPAA compliance, BAAs, and SOC2 documentation for organizations requiring compliance certifications.

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
Fly.io: Does Fly.io offer discounts for upfront commitment?

Yes, Fly.io offers Machine Reservation Blocks with 40% discount on machine usage. This requires upfront payment but applies savings on infrastructure costs.

Source
Share

Related pages

Other head to heads