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:
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:
Serverless computing is a model that dynamically uses only what it needs, and only charges for what it uses.
The idea of serverless computing has recently been extended to databases. Serverless databases share many of the same characteristics of serverless application platforms:
These attributes confer advantages similar to the serverless application model:
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 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: