As we speak, we’re asserting the final availability of Amazon DocumentDB Serverless, a brand new configuration for Amazon DocumentDB (with MongoDB compatibility) that routinely scales compute and reminiscence based mostly in your software’s demand. Amazon DocumentDB Serverless simplifies database administration with no upfront commitments or extra prices, providing as much as 90 % price financial savings in comparison with provisioning for peak capability.
With Amazon DocumentDB Serverless, you should utilize the identical MongoDB compatible-APIs and capabilities as Amazon DocumentDB, together with learn replicas, Efficiency Insights, I/O optimized, and integrations with different Amazon Internet Providers (AWS) companies.
Amazon DocumentDB Serverless introduces a brand new database configuration measured in a DocumentDB Capability Unit (DCU), a mix of roughly 2 gibibytes (GiB) of reminiscence, corresponding CPU, and networking. It regularly tracks utilization of assets comparable to CPU, reminiscence, and community coming from database operations carried out by your software.
Amazon DocumentDB Serverless routinely scales DCUs up or down to satisfy demand with out disrupting database availability. Switching from provisioned cases to serverless in an current cluster is as easy as including or altering the occasion kind. This transition doesn’t require any information migration. To study extra, go to How Amazon DocumentDB Serverless works.
Some key use circumstances and benefits of Amazon DocumentDB Serverless embrace:
- Variable workloads – With Amazon DocumentDB Serverless, you possibly can deal with sudden traffic spikes comparable to periodic promotional occasions, growth and testing environments, and new functions the place utilization may ramp up rapidly. You can even construct agentic AI functions that profit from built-in vector seek for Amazon DocumentDB and serverless adaptability to deal with dynamically invoked agentic AI workflows.
- Multi-tenant workloads – You should use Amazon DocumentDB Serverless to handle particular person database capability throughout the complete database fleet. You don’t have to handle a whole bunch or hundreds of databases for enterprises functions or multi-tenant environments of a software program as a service (SaaS) vendor.
- Blended-use workloads – You possibly can steadiness learn and write capability in workloads that periodically expertise spikes in question visitors, comparable to on-line transaction processing (OLTP) functions. By specifying promotion tiers for Amazon DocumentDB Serverless cases in a cluster, you possibly can configure your cluster in order that the reader cases can scale independently of the author occasion to deal with the extra load.
For regular workloads, Amazon DocumentDB provisioned cases are extra appropriate. You possibly can choose an occasion class that gives a predefined quantity of reminiscence, CPU energy, and I/O bandwidth. In case your workload modifications when utilizing provisioned cases, you must manually modify the occasion class of your author and readers. Optionally, you possibly can add serverless cases to an current provisioned Amazon DocumentDB cluster at any time.
Amazon DocumentDB Serverless in motion
To get began with Amazon DocumentDB Serverless, go to the Amazon DocumentDB console. Within the left navigation pane, select Clusters and Create.
On the Create Amazon DocumentDB cluster web page, select Occasion-based cluster kind after which Serverless occasion configuration. You possibly can select minimal and most capability DCUs. Amazon DocumentDB Serverless is supported beginning with Amazon DocumentDB 5.0.0 and better with a capability vary of 0.5–256 DCUs.

In case you use options comparable to auditing and Efficiency Insights, contemplate including DCUs for every function. To study extra, go to Amazon DocumentDB Serverless scaling configuration.
So as to add a serverless occasion to an current provisioned cluster, select Add cases on the Actions menu once you select the provisioned cluster. In case you use a cluster with an earlier model comparable to 3.6 or 4.0, you must first improve the cluster to the supported engine model (5.0).

On the Add cases web page, select Serverless within the DB occasion class part for every new serverless occasion you wish to create. So as to add one other occasion, select Add occasion and proceed including cases till you could have reached the specified variety of new cases. Select Create.

You possibly can carry out a failover operation to make a DocumentDB Serverless occasion the cluster author. Additionally, you possibly can convert any remaining provisioned Amazon DocumentDB cases to DocumentDB Serverless cases by altering an occasion’s class or eradicating them from the cluster by deleting an Amazon DocumentDB occasion.
Now, you possibly can connect with your Amazon DocumentDB cluster utilizing AWS CloudShell. Select Hook up with cluster, and you’ll see the AWS CloudShell Run command display screen. Enter a singular title in New surroundings title and select Create and run.

When prompted, enter the password for the Amazon DocumentDB cluster. You’re efficiently related to your Amazon DocumentDB cluster, and you’ll run a couple of queries to get conversant in utilizing a doc database.

To study extra, go to Making a cluster that makes use of Amazon DocumentDB Serverless and Managing Amazon DocumentDB Serverless within the AWS documentation.
Now out there
Amazon DocumentDB Serverless is now out there beginning with Amazon DocumentDB 5.0 for each new and current clusters. You solely pay a flat fee per second of DCU utilization. To study extra about pricing particulars and Regional availability, go to the Amazon DocumentDB pricing web page.
Give these new encompasses a attempt within the Amazon DocumentDB console and ship suggestions to AWS re:Put up for Amazon DocumentDB or by way of your typical AWS Assist contacts.
— Channy
7/31/2025: Up to date screenshot

