Amazon DocumentDB (with MongoDB compatibility) pricing

Pay as you go with no up-front fees. There is no minimum fee.

On-Demand Instance Pricing

On-Demand Instances let you pay by the hour with no long-term commitments or upfront fees. This frees you from the cost and complexity of planning and purchasing database capacity ahead of your needs. On-Demand pricing lets you pay as you go and is ideal for development, test and other short-lived workloads.

Pricing is per instance-hour consumed, from the time an instance is launched until it is stopped or deleted. Partial instance hours are billed in one-second increments, with a 10-minute minimum charge following a billable status change such as creating, modifying, or deleting an instance.

Instance pricing applies to both primary instances, used for read-write workloads, and Amazon DocumentDB replicas, used to scale reads and enhance failover. Amazon DocumentDB uses Multi-AZ architecture to failover to one of your replicas if an outage occurs. The cost of Multi-AZ deployments is simply the cost of the primary instance plus the cost of each Amazon DocumentDB replica. To maximize availability, we recommend placing at least one replica in a different Availability Zone from the primary instance.

Database Storage and IOs

Storage consumed by your Amazon DocumentDB cluster is billed per GB-month. Billable storage includes your data, indexes, and change stream data. I/Os consumed are billed per million I/O requests. Reads and writes to your storage volume count as billable I/O requests, including reads and writes from features like change streams and TTL indexes. You pay only for the storage and IOs that your Amazon DocumentDB cluster consumes, and do not need to provision these resources in advance. For best practices, see cost optimization.

Except as otherwise noted, our prices are exclusive of applicable taxes and duties, including VAT and applicable sales tax. For customers with a Japanese billing address, use of AWS is subject to Japanese Consumption Tax. Learn more.

Backup Storage

Backup storage for Amazon DocumentDB is the storage associated with your automated cluster backups and any customer-initiated cluster snapshots. Increasing your backup retention period or taking cluster snapshots increases the backup storage consumed.

  • Backup storage is allocated by region. Total backup storage space is equivalent to the sum of the storage for all backups in that region.
  • Moving a snapshot to another region increases allocated backup storage in the destination region.
  • There is no additional charge for backup storage of up to 100% of your total Amazon DocumentDB cluster storage for a region. (Based on our experience as database administrators, the vast majority of databases require less raw storage for a backup than for the primary dataset, meaning that most customers will never pay for backup storage.)
    • For example, if you have 2 active Amazon DocumentDB clusters each with 300 GB-month of consumed cluster storage, we provide up to 600 GB-month of backup storage at no additional charge.
  • Backup storage beyond this amount and backups stored after your cluster is terminated are billed at storage rates in the table below.

Data Transfer

The pricing below is based on data transferred “in” and “out” of Amazon DocumentDB.

Except as otherwise noted, our prices are exclusive of applicable taxes and duties, including VAT and applicable sales tax. For customers with a Japanese billing address, use of AWS is subject to Japanese Consumption Tax. Learn more.

  • Data transferred between Amazon DocumentDB and Amazon EC2 Instances in the same Availability Zone is free.
  • Data transferred between Availability Zones for replication of Multi-AZ deployments is free.
  • Amazon DocumentDB instances inside VPC: For data transferred between an Amazon EC2 instance and Amazon DocumentDB instance in different Availability Zones of the same Region, Amazon EC2 Regional Data Transfer charges apply on both sides of transfer.

Pricing example

Assume that your Amazon DocumentDB cluster is running a two instance db.r5.large cluster (on-demand) in US East (N. Virginia), you store 50 GB of data with 50 GB backup, perform 200 Million I/Os per month.

  • The on-demand pricing for db.r5.large instance is $0.277 per hour, so your monthly cost for the two instances will be $404.42 ($0.277*730*2). 
  • Your storage cost will be $0.10 per GB-month, so for 50 GB storage, your (30-day) monthly cost will be $5 ($0.10*50). There will be no additional charge for your backup storage because it does not exceed your data storage for the region.
  • Your I/O cost will be $0.20 per million request increments, so for your 200 Million I/Os per month, your cost will be $40.00 ($0.20*200).

Your total monthly bill for Amazon DocumentDB for this example would be $449.42 ($404.42 for instance + $5.00 for storage + $40.00 for I/O).


Additional pricing resources

TCO Calculator

Calculate your total cost of ownership (TCO)

AWS Pricing Calculator

Easily calculate your monthly costs with AWS

Economics Resource Center

Additional resources for switching to AWS

Learn how to get started

Learn how to get started quickly.

Learn more 
Sign up for a free account

Instantly get access to the AWS Free Tier. 

Sign up 
Start building in the console

Get started building with Amazon DocumentDB in the AWS Console.

Sign in