MONGODB ATLAS

Serverless Instances

The power of MongoDB with the ease of a serverless model. Try out our new serverless instances that automatically and dynamically scale to meet your workload and pay only for the operations you run.

Seamless deployment and scaling

Choose a cloud region to get started. MongoDB Atlas seamlessly provides the resources your application needs, whether you need to scale fast, have variable traffic patterns, or just don’t need your database that often.

Reliable backend infrastructure

Backed by best-in-class automation trusted by thousands of startups and enterprises. Serverless instances come with the latest MongoDB version, end-to-end security, continuous uptime, backups, metrics, and more.

Intuitive pricing model

Pay for only the operations you run. No more deciphering instance sizes to figure out what combination of resources to provision. Serverless instances are billed monthly and metered on reads, writes, and storage.

Frequently asked questions

What is serverless?

Serverless computing, pioneered by platforms such as AWS Lambda, is a relatively new computing paradigm that developers are increasingly using as a tool for building applications in the cloud.

Generally speaking, a solution is “serverless” if it can automatically and dynamically match compute and storage resources to workload demands.

Serverless technology can take a variety of forms, but it often has the following attributes:

  • Elastic scaling: The ability to automatically scale up and down based on workload, including the ability to scale down to zero resources when there is no workload.
  • Consumption-based pricing: A pricing model that only charges for resources used to service the workload.

The serverless application model results in an abstraction that frees developers from needing to think about servers (hence "serverless"). This model has the following benefits:

  1. You don’t need to think about scaling up to meet increasing workloads.
  2. You don’t need to worry about paying for resources you are not using.

Serverless computing is a model that dynamically uses only what it needs, and only charges for what it uses.

What is a serverless database?

The idea of serverless computing has recently been extended to databases. Serverless databases share many of the same characteristics of serverless application platforms:

  • Elastic scaling: The ability to automatically scale up and down based on workload, including the ability to scale down to zero compute resources when there is no workload. Unlike serverless application platforms, which only manage compute, serverless database platforms have both a compute layer and a storage layer which can scale elastically.
  • Consumption-based pricing: A pricing model that only charges for the data stored in the database and the resources used to service the database workload.

These attributes confer advantages similar to the serverless application model:

  1. You don’t need to think about scaling up to meet increasing workloads or storage needs.
  2. You don’t need to worry about paying for resources you are not using.

What’s the difference between a serverless instance and a cluster on MongoDB Atlas?

Serverless instances and clusters are two different types of database deployments available on MongoDB Atlas. When you register for a MongoDB Atlas account, you will have the option to choose which one you want to create and use.

The main differences between serverless instances and clusters on MongoDB Atlas are:

  • Serverless instances require minimal configuration: All you need to do is choose a cloud region to create a serverless instance on MongoDB Atlas.
  • Serverless instances scale automatically and dynamically to meet your workload: With serverless instances, MongoDB Atlas will seamlessly provide the database resources your application needs at any given time, removing the need to manually scale up and down between different cluster tiers.
  • Serverless instances are billed on usage: You will only pay for the operations you run. Serverless instances are billed on reads, writes, and storage. See pricing

What does “available in preview” mean for serverless instances on MongoDB Atlas?

Serverless instances will initially be available in preview, meaning they are not feature-complete or ready for production use.

During the preview phase, serverless instances will also be:

  • Not included in our uptime SLA
  • Limited or restricted in functionality
  • Available in select cloud regions

Where can I find more information?

Visit our documentation to learn more about serverless instances on MongoDB Atlas.