Embrace the Benefits of Serverless Development With MongoDB Atlas
Today’s applications are expected to just work, regardless of time of day, user traffic, or where in the world they are being accessed. To achieve this level of performance and scale, developers need to ensure they have the proper infrastructure resources in place to handle user demand, which often leads to time wasted on non-differentiating work. Organizations that want to stay competitive and rapidly innovate must look for solutions that simplify the process and enable them to speed time to development. Enter serverless. What’s the big deal with serverless? Serverless technologies allow developers to build applications without thinking about resource provisioning and scaling. As a result, developers are increasingly adopting a serverless-first approach to application development as a means to move fast, optimize costs, and eliminate the operational overhead of deploying and managing infrastructure. With application demand and user expectations growing faster than ever, serverless is becoming an essential component of application modernization strategies for both emerging startups and enterprises alike, with more and more organizations beginning to adopt function-as-a-service (FaaS) solutions, popular serverless frameworks, and now even serverless databases. Atlas serverless instances now generally available With MongoDB Atlas , our mission is and always has been to empower developers to move fast and simplify how they build with data for any application. Newer developers don’t have time to learn the intricacies of deploying and managing databases, nor should they have to. Recognizing this shift, we have been focused on building a developer data platform that minimizes this challenge. We started by launching services like Atlas Functions and Atlas Triggers and then moved to the data layer, first adding auto-scaling, then releasing Atlas serverless instances, our serverless database deployment option, in public preview in July 2021. Today, we are excited to announce that serverless instances are now generally available (GA). With serverless instances, you can quickly deploy a database with minimal configuration—just choose your cloud provider and region, and get the full power of MongoDB with the benefits of the serverless model . Once you’ve deployed your database, the serverless instance will take care of the scaling for you, with the ability to scale up or down from zero without any cold starts, and will only charge you for the operations you run. What’s new in serverless instances With this GA release, serverless instances will now offer additional features, such as private networking with AWS PrivateLink, enhanced monitoring and alerting capabilities, and extended backup retention with point-in-time recovery. Also, serverless instances are now compatible to use with our other serverless cloud services, such as the Atlas Data API and Atlas Functions, making building end-to-end serverless applications even easier. We’ve also dropped our prices (up to 60% in certain regions), to improve usage costs, with tiered pricing for reads that gives you automatic discounts on your daily usage without any up-front commitments or the need to talk to a sales rep. With this model, you can scale your usage without the fear of surprises. Develop modern serverless applications of any scale with Atlas The MongoDB Atlas data platform lets you build modern applications of any scale. Unlike other serverless databases, Atlas provides the full power and flexibility of the document model, so you can structure data for a variety of different use cases, instead of being limited to only simple key/value workloads. Additionally, our unified query API allows you to run MongoDB anywhere with a consistent experience—whether it’s on your laptop, a dedicated cluster, or a serverless instance—without ever changing your app code. Already using other serverless solutions in your application stack today? Atlas connects seamlessly with other leading serverless tools—from FaaS, to app development platforms, and frameworks—so you can continue working with the solutions you already know and love. And, most importantly, serverless instances are hosted on the same reliable Atlas foundation that is already trusted by organizations of all sizes today, from disruptive startups to some of the world's largest enterprises. Get started today Serverless databases are incredibly flexible and we’ve seen them perform well for lightweight or infrequent application workloads, such as application development and testing, or QA environments, event-driven applications, and periodic cron jobs. Are you ready to give serverless instances a try? Deploy your first serverless database today to see just how easy it is to get a cloud data endpoint for your application. Create your first serverless database
Accelerate App Development by Integrating MongoDB Atlas with Vercel: Now Available on the Vercel Marketplace
We’re excited to announce that MongoDB Atlas is now available on the Vercel Integrations Marketplace . If you are already using Vercel to develop and ship applications, or considering it for an upcoming project, this integration enables you to add a fully managed MongoDB Atlas database to your Vercel application in a matter of minutes. Build new web experiences with ease Vercel is known for making it easy for frontend developers to deploy Next.js applications instantly with no configuration and seamless scale through built-in CI/CD, analytics, serverless functions, and content delivery at the edge. MongoDB Atlas complements Vercel with a fully managed multi-cloud database service built on an intuitive and flexible document data model that provides a frictionless getting started experience. Atlas offers several database deployment types, ranging from a free shared cluster that is great for exploring MongoDB, to serverless instances that are ideal for app development and lightweight workloads, to our dedicated clusters that offer advanced functionality and customizations to power the most mission-critical applications. When using Atlas with Vercel, developers can build new web experiences quickly and with ease. Deploy on Vercel with zero configuration and instantly start building with documents that map directly to objects in your code. Scale without limits with Atlas and Vercel As your application grows, Atlas is built to grow with you, allowing you to modify data schemas if requirements change, and to scale confidently with built-in defaults and best practices that ensure your application is performant and secure. Our developer data platform makes expanding to meet new workload requirements easy, with embedded capabilities for full-text search, real-time analytics, data visualization, and more, so you can get the most out of your data without the added complexity of additional tools. And if you’re planning to have users all over the world, that’s no problem. Atlas and Vercel make delivering first-class experiences easier, regardless of where your users are located. Take advantage of Vercel’s edge network and the ability to distribute your data globally on Atlas with the click of a button, with access to nearly 100 regions and features for data partitioning, multi-region, and multi-cloud deployments designed for resiliency and responsiveness. Get started today If you’re ready to start building your next application with MongoDB Atlas and Vercel, getting started is simple. Select MongoDB Atlas on the Vercel Integrations Marketplace and automatically create and link your Atlas database with your Vercel app project in just a few clicks. We’re excited to see what you build! Join our community forums to share your project, leave feedback, ask questions, and connect with other developers using MongoDB Atlas. Try the integration today
Real Apps Built with a MongoDB Atlas Serverless Database
Serverless application development is quickly gaining popularity as a preferred way of building and running modern applications. With developers looking for solutions to speed development and provide even greater abstraction from the underlying infrastructure supporting those applications, it’s no surprise that the concept of serverless is extending beyond compute services to now databases as well. To continue delivering a modern developer experience for our users, MongoDB has recently introduced serverless databases in Atlas, currently available in preview. This new deployment option eliminates the process of capacity sizing and management altogether, and instead provides an on-demand endpoint that seamlessly scales based on workload demand and only charges for the resources used. If that sounds compelling, you might be wondering what can I build with a serverless database? The scalability and cost model naturally make them a great option for workloads that are infrequent and have cycles of usage combined with longer idle periods - like CRON jobs that run weekly or monthly. Because of this, we challenged users in a recent Atlas hackathon to use serverless databases as the backend to automate a weekly task - and some of the end results were pretty cool! Track your weekly fitness goals If you’re looking for a way to hold yourself accountable for your fitness goals, why not use an app to track your progress? This app uses Atlas to store and automate the weekly data aggregation and analysis - so you know if you’re meeting your goals. Automate the collection and delivery of your favorite web content Want to stay up to date on all the latest developer content from your favorite sites like Dev and Hashnode? This web app automatically compiles the latest articles from developer sites once a day and delivers up to 5 titles to your inbox based on keywords you’ve provided. It uses an Atlas database to store all the data and is hosted on Netlify using Netlify Serverless Functions as the backend service. Track your productivity for better work/life balance Finding the right work/life balance can be difficult without a true understanding of how you're spending your time - something a KanBan board is great at helping with. This submission uses an Atlas database along with Azure functions to automate the process of creating monthly reports from a Notion kanban board - eliminating the manual task and freeing up more time to get work done. If you’re interested in what else is possible with Atlas check out the other submissions here . Are you ready to try serverless? These are just a few of the ways you can use a serverless database in MongoDB Atlas but by no means the only use case. If you’re in the early stages of building a new application and aren’t sure of the level of scale to expect, serverless may be a great choice - enabling you to start quickly without the added cognitive load of worrying about infrastructure requirements. Or maybe you already have an app up and running but need a more effective dev/test environment - consider trying serverless as a way to optimize your resource spend. Are you ready to build your next app? Give Atlas serverless databases a try today and share your experience with us in our community forums ! Create your first serverless database
Serverless Instances Now Offer Extended Regional and Cloud Provider Support
Today’s applications are expected to just work, regardless of time of day, user traffic, or where in the world they are being accessed from. But in order to achieve this level of performance and scale, developers have to meticulously plan for infrastructure needs, sometimes before they even know what the success of their application may be. In many cases, this is not feasible and can lead to over provisioning and over paying. But what if you could forgo all of this planning and the database would seamlessly scale for you? Well, now you can - with serverless instances on MongoDB Atlas. Since we announced serverless instances in preview at MongoDB.live we have been actively working toward implementing new functionality to make them more robust and widely available. With our most recent release, serverless instances now offer expanded cloud providers and regions, and support MongoDB tools. Deploy a serverless instance on the cloud provider of your choice With our dedicated clusters on MongoDB Atlas, you have the flexibility to run anywhere with global reach on the cloud provider of your choice, so you can deliver responsive and reliable applications wherever your users are located. Our goal is to provide this same flexibility for serverless instances. We’re happy to announce that you can now deploy a serverless instance in ten regions on AWS, Google Cloud, and Azure. You’ll see when deploying a serverless instance there are now more regions supported on AWS, as well as two available regions on both Google Cloud and Azure - so you can get started with the cloud provider that best suits your needs or the region that’s closest to you. We will be continuing to add new regions over time to ensure coverage where you need it most. Easily import your data with MongoDB tools With this release, we have also made it easier to work with your data. You can now easily import data from an existing MongoDB deployment using the MongoDB Tools including mongodump, mongorestore, mongoexport , and mongoimport . In order to use MongoDB tools with serverless instances, you will need to be using the latest version . If you have additional feature requests that would make your developer experience better, share them with us in our feedback forums . Database deployment made simple With serverless instances, you can get started with almost no configuration needed - MongoDB Atlas will automatically scale to meet your workload needs, whether you have variable traffic patterns or you’re looking for a sandbox database for your weekend hobby project. If you haven’t yet given serverless instances a try, now is a great time to see what they can offer. If you have feedback or questions, we’d love to hear them! Join our community forums to meet other MongoDB developers and see what they’re building with serverless instances. Create your own serverless instance on MongoDB Atlas. Try the Preview .