Industry EventBuild your AI future on MongoDB. Join us at re:Invent, Dec 1 - 5 in Las Vegas. Find out more >
NewModernize 2-3x faster with MongoDB’s AI-powered Application Modernization Platform. Learn more >
NewSearch & Vector Search now in public preview for Community Edition Read the blog >
Blog home
arrow-left

Automated, Secure, and Scalable: Reference Implementation for Atlas on Azure

November 17, 2025 | Updated: November 17, 2025 ・ 2 min read

Today’s cloud-driven world is characterized by the requirement to scale—and to do so massively and faster than ever. But standing up secure and compliant environments on the cloud is complex and requires huge efforts, as teams have to figure out networking, policies, identity, and governance requirements across numerous projects.

At MongoDB, we’re focused on empowering enterprise customers to build faster, smarter, and more securely. We know how important it is to developers to be able to quickly onboard and start building on a trusted platform. But to stand up secure, governed, production-ready Atlas clusters, a standardized cloud foundation is essential.

That’s where the MongoDB Atlas on Azure Reference Implementation comes in. Designed to bring the power of MongoDB Atlas to Microsoft Azure customers, this reference architecture and sample implementation enables teams to automatically deploy MongoDB Atlas clusters that align seamlessly with Microsoft Azure’s well-architected framework, avoiding inconsistent deployments, security gaps, and reduced developer productivity.

Introducing the MongoDB Atlas on Azure reference implementation  

 The MongoDB Atlas on Azure reference implementation extends automation and governance to the data layer, allowing you to deploy MongoDB Atlas with confidence that your database setup is repeatable and adheres to your organization’s policies and compliance frameworks automatically.

 The reference implementation (RI) is our prescriptive guidance and automation toolkit to deploy Atlas seamlessly within your enterprise-grade Azure environment.

 Here’s what it delivers:

  • Automated deployment: We provide Infrastructure-as-Code (IaC) Terraform templates that automatically provision and configure Atlas to align perfectly with Azure and MongoDB architecture standards. This includes setting up both single-region and multi-region Atlas clusters using a DevOps Pipeline with a manual approval gate.

  • Prescriptive security: The RI provides guidance and recommendations on security best practices. It automates the configuration of private endpoints within customer Azure VNet, NSGs, NAT Gateway, and VNet Peering between multi-region application nodes—providing for secure communication and network isolation.

  • Scalable by design: The RI establishes a repeatable deployment pattern for MongoDB Atlas. This means every new development team can spin up a pre-configured, secure, and governed Atlas environment quickly, allowing your organization to rapidly and systematically scale.

  • Monitoring and observability: The RI includes a monitoring component, wherein an Azure Function App periodically queries the MongoDB Atlas API to gather database health and performance metrics, which are visualized in the Application Insights dashboards.

  • Test DB connectivity: The RI can also deploy an optional Web App to confirm the connectivity between the application and MongoDB Atlas was successful and secure.

MongoDB Atlas on Azure architecture overview

Single-region architecture

In the single-region deployment, all core components—including the MongoDB Atlas cluster, Azure Virtual Network, monitoring, and supporting application infrastructure—are provisioned within a single Azure region. This setup is ideal for applications with regional data residency requirements or when resilience to regional failure is not a primary concern.

Diagram illustrating the single-region MongoDB Atlas deployment architecture on Microsoft Azure, showing the MongoDB Atlas cluster, Azure Virtual Network, monitoring components, and supporting application infrastructure all within a single Azure region.
Figure 1. Single-region MongoDB Atlas deployment architecture.

Multi-region architecture

For organizations with higher requirements for business continuity and disaster recovery, the multi-region architecture distributes MongoDB Atlas cluster nodes and supporting infrastructure across multiple Azure regions. The design leverages VNet peering and multiple private endpoints to provide seamless, secure connectivity, even in the event of a regional failure.

Diagram illustrating the multi-region MongoDB Atlas deployment architecture on Microsoft Azure, showing cluster nodes and supporting infrastructure distributed across multiple Azure regions, utilizing VNet peering and multiple private endpoints for enhanced business continuity and disaster recovery.
Figure 2. Multi-region MongoDB Atlas deployment architecture.

Components:

  1. Application or service: Applications or services are deployed in the subnet with the NSG and the NAT so that they are secured and have visibility to the MongoDB Atlas clusters. These can include web apps, backend services, analytics jobs, or integration tools.

  2. MongoDB Atlas Cluster: The MongoDB Atlas clusters are visible through a private endpoint connection and can connect to the applications or services deployed in the secured Azure Virtual Network.

  3. Observability: An Azure Function App periodically queries the MongoDB Atlas API to gather database health and performance metrics, which are visualized in Application Insights dashboards.

  4. Resiliency: VNet Peering is enabled so that in case of a regional outage, all remaining regions have visibility to the rest of the MongoDB Atlas clusters.

Accelerating innovation

The MongoDB Atlas on Microsoft Azure Reference Implementation helps bridge the gap between developer agility and enterprise control. It provides the automation, security, and scalability needed to deliver data-driven innovation faster—while aligning with your organization’s cloud governance model. With this accelerator, enterprises can standardize data deployments, empower teams to focus on building applications instead of managing infrastructure and confidently scale MongoDB Atlas across their Azure ecosystem.

The RI offers a unified approach that brings together the best of MongoDB’s modern data platform and Azure’s cloud foundation—enabling organizations to innovate securely and at scale.

megaphone
Next Steps

Learn more about our work with Microsoft Azure on our Microsoft Ignite learning page.

Refer to this video for a demonstration for a single region Atlas on Azure deployment.