Networking Security: Self-Managed

Learn best practices for securing MongoDB deployments in self-managed environments. This includes configuring IP whitelisting, TLS encryption, firewall rules, and network segmentation to protect against unauthorized access.

Upon completion of the Networking Security: Self-Managed skill and skill check, you will earn a Credly Badge that you are able to share with your network.


  Learning Objectives

Enable TLS/SSL on a MongoDB Deployment

Generate certificates and enable TLS in the mongod configuration file to secure data communication between MongoDB servers, clients, and applications.

Configure an IP Bindings List for a MongoDB Deployment

Create and configure an IP bindings list to control and restrict network connections to your deployment.





Create Firewall Rules for MongoDB Deployments

Use iptables on Linux to manage both incoming traffic to your MongoDB deployment and outgoing responses from your MongoDB deployment.

Who is this Course Good for?

This Networking Security: Self-Managed Skill Badge is for developers, security engineers, and platform engineers who secure database connectivity in on-premises or private cloud environments. It is especially useful for teams running self-managed MongoDB or MongoDB Enterprise Advanced who must align networking and security controls with internal policies and compliance requirements. You should understand core networking concepts—hosts, ports, IP addresses, and firewalls—and have basic experience deploying or administering MongoDB, even if you have not yet configured TLS/SSL. If you want a practical way to strengthen the networking security of your self-managed MongoDB deployments, this course provides an implementation-focused path.

What to Expect in this Course

This skill badge focuses on one core goal: securing network connections to your self-managed MongoDB deployments. You will learn how MongoDB’s networking and security features work together so you can control who connects to your databases and how data is protected as it moves across the network.

The course begins with the fundamentals of why network security matters for MongoDB: protecting systems, data, and applications from unauthorized access, cyberattacks, and service disruptions. You will see how securing traffic in transit helps maintain trust, minimize risk, and support business continuity for applications that rely on self-managed MongoDB clusters.

From there, you dive into protecting data in transit using TLS/SSL. You will learn how MongoDB uses TLS to encrypt client–server communications, what role certificates play, and how encrypted connections prevent attackers from intercepting or tampering with sensitive information as it crosses untrusted networks. You then apply these concepts by configuring a self-managed MongoDB deployment to require TLS/SSL for client connections, validating that encryption is active and correctly enforced.

Next, the course explores IP binding as a practical way to limit where connections can originate. You will configure MongoDB to listen only on specific network interfaces and IP addresses, tightening your attack surface so that only approved application hosts or jump boxes can reach your database processes.

Finally, you will look at how to align MongoDB with broader firewall rules. You will configure firewall access so that only the necessary ports and directions of traffic are permitted, connecting operating-system or network firewalls with MongoDB’s own networking configuration to create layered security.

Throughout the course, you learn concepts through detailed videos and hands-on labs, giving you the opportunity to practice each configuration step in a controlled environment and build confidence applying these techniques to your own self-managed MongoDB deployments.

Summary of the Course

  • Explain the role of networking security in protecting self-managed MongoDB deployments from unauthorized access, attacks, and service disruptions.
  • Describe how TLS/SSL encryption protects data in transit between MongoDB clients and servers.
  • Configure a self-managed MongoDB deployment to use TLS/SSL for all client connections.
  • Use IP binding to restrict which network interfaces and IP addresses can connect to MongoDB.
  • Configure firewall rules that safely allow required MongoDB traffic while blocking unnecessary network access.
  • Combine MongoDB networking features with operating-system or network firewalls to create a layered security model.
  • Validate and troubleshoot common connectivity issues that arise from TLS, IP binding, or firewall misconfiguration.
Parker Faucher | University Curriculum Engineer

Parker Faucher | University Curriculum Engineer

Parker is a Curriculum Engineer on the Education team at MongoDB. Prior to joining MongoDB, he helped maintain a world class developer bootcamp that was offered in multiple universities. He is a self taught developer who loves being able to give back to the community that has helped him so much.

Daniel Curran | Senior Software Engineer

Daniel Curran | Senior Software Engineer

Daniel is a Senior Software Engineer at MongoDB. Before joining MongoDB, he worked as an Instructional Designer and Content Developer specialising in technical content for a host of international clients. Daniel's goal is to remove obstacles so learners can feel confident on their journey to become masters of MongoDB.

Joel Lord | Lead Curriculum Engineer

Joel Lord | Lead Curriculum Engineer

Joel is a Lead Curriculum Engineer at MongoDB, focused on helping developers build better applications through accessible educational content. He started his career in software nearly 25 years ago and only paused briefly to pick up a B.Sc. in computational astrophysics from Université Laval. Since then, he’s worked across software development, developer advocacy, and technical education. Outside of work, he enjoys stargazing, homebrewing, and providing emotional support to his two cats, who frequently make guest appearances on Zoom.

John McCambridge | Curriculum Engineer

John McCambridge | Curriculum Engineer

John is a Curriculum Engineer on the University team at MongoDB. Before his work as a Curriculum Engineer, he was an instructor and teaching assistant for coding boot camps at UT (Austin), and UCLA. Additionally, he worked as a QA engineer for a startup called Coder and spent five years at Apple Inc. John is a passionate software engineer and educator who enjoys taking complex topics and making them digestible for the community.

Davenson Lombard | Senior Software Engineer

Davenson Lombard | Senior Software Engineer

Davenson Lombard is a Senior Software engineer at MongoDB on the Education Team. Prior to that, Davenson was a Technical Services Engineer at MongoDB and a Customer Success architect at Confluent. Davenson holds a Bachelor in Electrical Engineering from Concordia University in Montreal.

Sarah Evans | Senior Curriculum Engineer

Sarah Evans | Senior Curriculum Engineer

Sarah is a Senior Curriculum Engineer on the Curriculum team at MongoDB. Prior to MongoDB, she taught and developed curricula for developer bootcamps. Sarah has a MAT degree from Columbia University Teachers College and studied Software Engineering at Flatiron School in Chicago, IL.

Emilio Scalise | Staff Technologist

Emilio Scalise | Staff Technologist

Emilio is a multi-skilled IT specialist with a vast knowledge in system administration, databases, software development, network security, and cloud solutions. He is currently a Staff Technologist at MongoDB, producing internal and external learning materials. With over 8 years at MongoDB Support Organization, including five as a Staff Technical Support Engineer, he's developed considerable expertise in MongoDB's products and cloud services. In addition, Emilio is a certified MySQL DBA and experienced in technical translations between English and Italian.

Manuel Fontan Garcia | Senior Technologist

Manuel Fontan Garcia | Senior Technologist

Manuel is a Senior Technologist on the Curriculum team at MongoDB. Previously he was a Senior Technical Services Engineer in the Core team at MongoDB. In between Manuel worked as a database reliability engineer at Slack for a little over 2 years and then for Cognite until he re-joined MongoDB. With over 15 years experience in software development and distributed systems, he is naturally curious and holds a Telecommunications Engineering MSc from Vigo University (Spain) and a Free and Open Source Software MSc from Rey Juan Carlos University (Spain).

Hey there. My name is John, and I'm a curriculum engineer here at MongoDB.

In this skill badge, I'll show you how to secure network connections to your self managed MongoDB deployments.

Network security is key for protecting systems, data, and applications from unauthorized attacks, cyberattacks, and disruptions.

It ensures the safe transmission of sensitive information across networks and guards against vulnerabilities that could compromise operations.

By prioritizing network security, you'll maintain trust, minimize risk, and ensure business continuity in today's connected world. MongoDB offers a wide range of security features to protect your data as it moves across the network.

These security features work together to protect your data and control access to your database environment.

Throughout this course, we'll explore several features in-depth, giving you the knowledge to implement the right solution for your specific security requirements. We'll begin by investigating how to protect data in transit.

You'll learn about network encryption and how MongoDB implements TLS and SSL to secure all communications with your database, preventing unauthorized access to your information as it travels across networks.

Once we have an idea of how TLS works, we'll learn how to configure our MongoDB deployment to use TLS or SSL when connecting. Next, we'll explore IP binding. This helps you control exactly which IP addresses can connect to your Atlas deployments, adding in an important layer of access security to your database environment. Finally, we'll learn how to configure firewall access, enabling traffic to flow in and out of your MongoDB database.

In this skill, you'll learn concepts through detailed videos and hands on labs.

Then you'll be ready to take a short skill check to demonstrate your knowledge.

After passing the test, you'll receive an official Credly badge to share on LinkedIn so you can show off your knowledge and skills. Let's get started.