\u003C/figure>\n\u003C!-- /wp:image -->\n\n\u003C!-- wp:paragraph -->\n\u003Cp>All you need to do is pick your provider, region, and desired backup option, then give your instance a name you’ll use to refer to it in your application. That instance name is probably the most important part of this setup; you’ll need to include it in the database connection string that opens a connection to a database, so make it memorable and manageable. \u003C/p>\n\u003C!-- /wp:paragraph -->\n\n\u003C!-- wp:paragraph -->\n\u003Cp>In contrast, creating a database on a dedicated server requires you to select the infrastructure requirements and a host of other configuration options that have been abstracted in serverless, helping to save you time. \u003C/p>\n\u003C!-- /wp:paragraph -->\n\n\u003C!-- wp:heading {\"level\":4} -->\n\u003Ch4 id=\"h-thanks-to-atlas-serverless-instances-we-are-spending-less-time-wrestling-with-infrastructure-and-configuration-and-more-time-developing-solutions-for-our-customers-ceo-small-business-computer-services-company\">\u003Cem>“Thanks to Atlas serverless instances we are spending less time wrestling with infrastructure and configuration and more time developing solutions for our customers.” - CEO, Small Business Computer Services Company. \u003C/em>\u003C/h4>\n\u003C!-- /wp:heading -->\n\n\u003C!-- wp:heading -->\n\u003Ch2 id=\"h-build-full-stack-serverless-applications-with-mongodb-atlas-google-cloud-run\">Build full-stack serverless applications with MongoDB Atlas + Google Cloud Run\u003C/h2>\n\u003C!-- /wp:heading -->\n\n\u003C!-- wp:paragraph -->\n\u003Cp>If you’re looking to get started with a serverless compute and database stack, we’ve found good results running \u003Ca href=\"https://www.mongodb.com/developer/videos/how-to-deploy-your-serverless-full-stack-app-with-google-cloud-run-and-mongodb-atlas/?utm_campaign=serverless_vs_rdbms&utm_source=stackoverflow&utm_medium=sponsored_content\">MongoDB Atlas with Google Cloud Run\u003C/a>. It’s a fully-managed serverless solution that performs seamlessly with our database instances. \u003C/p>\n\u003C!-- /wp:paragraph -->\n\n\u003C!-- wp:paragraph -->\n\u003Cp>Cloud Run's automatic scalability, combined with MongoDB Atlas's fully managed and highly available database, allows for a seamless and cost-effective way to handle incoming traffic. As Cloud Run automatically spins up additional containers to handle the load, your serverless database will also provide more resources to handle the database load. This ensures that your application is always able to handle incoming traffic, even during periods of high and unexpected usage, without you having to worry about managing the underlying infrastructure. So you can focus on developing and deploying your application, instead of worrying about maintaining servers or databases.Both Cloud Run and MongoDB Atlas are pay-per-use services, which means that you only pay for the resources you actually use. Depending on your use case, this may help you save on cost as you are not paying for resources that you don't need.\u003C/p>\n\u003C!-- /wp:paragraph -->\n\n\u003C!-- wp:paragraph -->\n\u003Cp>Finally, Cloud Run's stateless and event-driven nature and MongoDB Atlas's automatically scaling and highly available database make them a great fit for a wide variety of use cases, from simple web applications to complex microservices architectures. Developers can take full advantage of serverless technology across the entire stack, making their development process more streamlined and cost-effective.\u003C/p>\n\u003C!-- /wp:paragraph -->\n\n\u003C!-- wp:heading -->\n\u003Ch2 id=\"h-move-fast-and-don-t-worry-about-infrastructure\">Move fast and don’t worry about infrastructure\u003C/h2>\n\u003C!-- /wp:heading -->\n\n\u003C!-- wp:paragraph -->\n\u003Cp>For individuals or organizations looking to get a cloud-based application up and running quickly without having to worry about provisioning and scaling infrastructure, serverless has emerged as a solid option. But you could miss out on the full benefits of serverless if part of your stack — your databases — aren’t optimized for flexibility and scale. \u003C/p>\n\u003C!-- /wp:paragraph -->\n\n\u003C!-- wp:paragraph -->\n\u003Cp>If you’re looking to improve your efficiency and take advantage of the added benefits of a serverless database, \u003Ca href=\"https://console.cloud.google.com/marketplace/product/mongodb/mdb-atlas-self-service?utm_source=stack_overflow&utm_medium=blog&utm_campaign=stack_overflow_serverless_blog&utm_id=mongodb\">sign-up for MongoDB Atlas on Google Cloud Marketplace\u003C/a> to try Atlas serverless instances today. After signing up and completing the setup wizard, you’ll be ready to start storing data within minutes. If you’re not quite ready for that, you can also \u003Ca href=\"https://www.mongodb.com/serverless?utm_campaign=serverless_vs_rdbms&utm_source=stackoverflow&utm_medium=sponsored_content\">visit our website\u003C/a> to learn more about how to build serverless applications with MongoDB Atlas to make sure you’re prepared when your next project arises. \u003C/p>\n\u003C!-- /wp:paragraph -->","html","2023-02-15T15:00:00.000Z",{"current":463},"serverless-scales-well-but-most-databases-dont",[465,473,478,482,486,491,496,500],{"_createdAt":466,"_id":467,"_rev":468,"_type":469,"_updatedAt":466,"slug":470,"title":472},"2023-05-23T16:43:21Z","wp-tagcat-cloud-computing","9HpbCsT2tq0xwozQfkc4ih","blogTag",{"current":471},"cloud-computing","cloud computing",{"_createdAt":466,"_id":474,"_rev":468,"_type":469,"_updatedAt":466,"slug":475,"title":477},"wp-tagcat-code-for-a-living",{"current":476},"code-for-a-living","Code for a Living",{"_createdAt":466,"_id":479,"_rev":468,"_type":469,"_updatedAt":466,"slug":480,"title":481},"wp-tagcat-database",{"current":481},"database",{"_createdAt":466,"_id":483,"_rev":468,"_type":469,"_updatedAt":466,"slug":484,"title":485},"wp-tagcat-mongodb",{"current":485},"mongodb",{"_createdAt":466,"_id":487,"_rev":468,"_type":469,"_updatedAt":466,"slug":488,"title":490},"wp-tagcat-nosql",{"current":489},"nosql","noSQL",{"_createdAt":466,"_id":492,"_rev":468,"_type":469,"_updatedAt":466,"slug":493,"title":495},"wp-tagcat-partner-content",{"current":494},"partner-content","Partner Content",{"_createdAt":466,"_id":497,"_rev":468,"_type":469,"_updatedAt":466,"slug":498,"title":499},"wp-tagcat-partnercontent",{"current":499},"partnercontent",{"_createdAt":466,"_id":501,"_rev":468,"_type":469,"_updatedAt":466,"slug":502,"title":503},"wp-tagcat-serverless",{"current":503},"serverless","Serverless scales well, but most databases don’t",[506,512,518,524],{"_id":507,"publishedAt":508,"slug":509,"sponsored":452,"title":511},"e10457b6-a9f6-4aa9-90f2-d9e04eb77b7c","2025-08-27T04:40:00.000Z",{"_type":10,"current":510},"from-punch-cards-to-prompts-a-history-of-how-software-got-better","From punch cards to prompts: a history of how software got better",{"_id":513,"publishedAt":514,"slug":515,"sponsored":12,"title":517},"65472515-0b62-40d1-8b79-a62bdd2f508a","2025-08-25T16:00:00.000Z",{"_type":10,"current":516},"making-continuous-learning-work-at-work","Making continuous learning work at work",{"_id":519,"publishedAt":520,"slug":521,"sponsored":12,"title":523},"1b0bdf8c-5558-4631-80ca-40cb8e54b571","2025-08-21T14:00:25.054Z",{"_type":10,"current":522},"research-roadmap-update-august-2025","Research roadmap update, August 2025",{"_id":525,"publishedAt":526,"slug":527,"sponsored":12,"title":529},"5ff6f77f-c459-4080-b0fa-4091583af1ac","2025-08-20T14:00:00.000Z",{"_type":10,"current":528},"documents-the-architect-s-programming-language","Documents: The architect’s programming language",{"count":531,"lastTimestamp":532},1,"2023-05-25T09:48:04Z",["Reactive",534],{"$sarticleModal":535},false,["Set"],["ShallowReactive",538],{"sanity-HfdwATVUZXqV26Lch15ZkkFk_BlEtcy0QufMLVXoU1c":-1,"sanity-comment-wp-post-21613-1756338249941":-1},"/2023/02/15/serverless-scales-well-but-most-databases-dont"]