Solution Overview
This solution helps you create a highly available MongoDB replica set on Huawei Cloud cloud servers. MongoDB is an open-source NoSQL database, where key-value pairs are stored as a document. Each MongoDB replica set contains primary and secondary nodes so that the replica set can recover automatically once a fault occurs.
Solution Architecture
This solution can help you quickly create a MongoDB replica set on Huawei Cloud cloud servers.

Quick Deployment for a High-Availability MongoDB Database
Version: 2.0.0
Last Updated: August 2024
Built By: Huawei Cloud
Time Required for Deployment: About 10 minutes
Time Required for Uninstallation: About 10 minutes
Solution Description
Solution Description
-
This solution will create three FlexusX instances, and these instances will be used for deploying one primary node and two secondary nodes for a MongoDB replica set at different AZs.
-
This solution will create a public NAT gateway and configure SNAT rules so that database nodes can access Internet unidirectionally, making O&M easy while ensuring database access security.