This MongoDB container image uses MongoDB 3.4.4.
The CloudStax OpenManage platform makes it easy to setup, manage and scale the Dockerized stateful services, including MongoDB. The platform is open source on CloudStax OpenManage Github.
The MongoDB cluster could be easily installed using AWS CloudFormation. Simply follow the Installation Guide.
The MongoDB failover is handled automatically. When the container moves from one node to another, the volume will move as well and DNS will be updated.
The MongoDB is secured by 3 mechanisms.
- The AppAccessSecurityGroup: the platform creates the AppAccessSecurityGroup to restricts the access to the stateful services. Only the EC2 instances in the AppAccessSecurityGroup could access the stateful services. The customer should have the application running on the EC2 of the AppAccessSecurityGroup and the same VPC.
- The Bastion node: the Bastion AutoScaleGroup is created and is the only one that could SSH to the OpenManage cluster nodes and talk with the OpenManage manage service.
- The MongoDB cluster has security enabled by default. User and password are required to access the service and the access control is enabled between members of the ReplicaSet. See the MongoDB Internal.