At this time, we’re saying the overall availability of Amazon DocumentDB Serverless, a brand new configuration for Amazon DocumentDB (with MongoDB compatibility) that routinely scales compute and reminiscence primarily based in your utility’s demand. Amazon DocumentDB Serverless simplifies database administration with no upfront commitments or further prices, providing as much as 90 % value financial savings in comparison with provisioning for peak capability.
With Amazon DocumentDB Serverless, you should use the identical MongoDB compatible-APIs and capabilities as Amazon DocumentDB, together with learn replicas, Efficiency Insights, I/O optimized, and integrations with different Amazon Net Providers (AWS) providers.
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 reminiscent of CPU, reminiscence, and community coming from database operations carried out by your utility.
Amazon DocumentDB Serverless routinely scales DCUs up or down to fulfill demand with out disrupting database availability. Switching from provisioned situations to serverless in an current cluster is as simple as including or altering the occasion sort. This transition doesn’t require any information migration. To be taught extra, go to How Amazon DocumentDB Serverless works.
Some key use circumstances and benefits of Amazon DocumentDB Serverless embody:
- Variable workloads – With Amazon DocumentDB Serverless, you possibly can deal with sudden traffic spikes reminiscent of periodic promotional occasions, growth and testing environments, and new functions the place utilization would possibly 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 utilize Amazon DocumentDB Serverless to handle particular person database capability throughout the complete database fleet. You don’t must handle tons of or hundreds of databases for enterprises functions or multi-tenant environments of a software program as a service (SaaS) vendor.
- Blended-use workloads – You’ll be able to stability learn and write capability in workloads that periodically expertise spikes in question site visitors, reminiscent of on-line transaction processing (OLTP) functions. By specifying promotion tiers for Amazon DocumentDB Serverless situations in a cluster, you possibly can configure your cluster in order that the reader situations can scale independently of the author occasion to deal with the extra load.
For regular workloads, Amazon DocumentDB provisioned situations are extra appropriate. You’ll be able to choose an occasion class that provides a predefined quantity of reminiscence, CPU energy, and I/O bandwidth. In case your workload adjustments when utilizing provisioned situations, it is best to manually modify the occasion class of your author and readers. Optionally, you possibly can add serverless situations 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 sort after which Serverless occasion configuration. You’ll be able to 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.
If you happen to use options reminiscent of auditing and Efficiency Insights, think about including DCUs for every function. To be taught extra, go to Amazon DocumentDB Serverless scaling configuration.
So as to add a serverless occasion to an current provisioned cluster, select Add situations on the Actions menu once you select the provisioned cluster. If you happen to use a cluster with an earlier model reminiscent of 3.6 or 4.0, it is best to first improve the cluster to the supported engine model (5.0).
On the Add situations 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 situations till you might have reached the specified variety of new situations. Select Create.
You’ll be able to carry out a failover operation to make a DocumentDB Serverless occasion the cluster author. Additionally, you possibly can convert any remaining provisioned Amazon DocumentDB situations to DocumentDB Serverless situations 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. 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 just a few queries to get accustomed to utilizing a doc database.
To be taught 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 price per second of DCU utilization. To be taught extra about pricing particulars and Regional availability, go to the Amazon DocumentDB pricing web page.
Give these new contains a strive within the Amazon DocumentDB console and ship suggestions to AWS re:Publish for Amazon DocumentDB or via your standard AWS Help contacts.
— Channy
7/31/2025: Up to date screenshot