What is Serverless Architecture?
FAQs
A common misconception of serverless computing is that it is not secure or can impose security risks over self-hosted or traditional cloud computing offerings. However, in serverless architecture, the cloud provider or service provider manages the infrastructure security for you. So there is no need to worry about security misconfigurations and potential vulnerability issues. But the application security is still your responsibility. With MongoDB Atlas, we ensure enterprise grade security controls are enforced out of the box, so you can build and deploy your applications with the confidence that your data is secure. Learn more about our security controls
Similar to fully-managed cloud hosted solutions, in a serverless architecture, the cloud providers, or service providers, are responsible for the server provisioning and scaling as your applications demand. They are also responsible for managing security controls and version upgrades.
Serverless and PaaS (platform as a service) solutions are similar in that the underlying infrastructure and servers are abstracted from the end user of the service. However, there are some notable differences that differentiate one from the other - most notably, being the scalability and the pricing model. Unlike serverless solutions, PaaS solutions are not capable of instantly auto scaling out of the box and typically require work on the developers part to forecast and configure the solution to scale automatically. Serverless solutions are also charged based on the precise amount of resources consumed, whereas PaaS solutions typically rely on a pre-provisioned price model and charge a flat fee based on the server resources (compute, storage, and so on) decided upon in advance.
Despite a serverless model abstracting the backend completely from the end user, a database is still needed to run and host your application. While there are backend-as-a-service solutions that take care of the data storage for you, it’s important to choose a database that can best suit both your current and future application needs. Unlike other models, a document database can provide greater flexibility over traditional SQL, allowing you to build applications faster without being tasked with complex schema planning upfront or the need to re-architect your schema down the line with new application requirements.
Get started with Atlas today
Get started in seconds. Our free clusters come with 512 MB of storage so you can play around with sample data and get oriented with our platform.
GET STARTED WITH:
- 125+ regions worldwide
- Sample data sets
- Always-on authentication
- End-to-end encryption
- Command line tools