Setting up a Production-Ready MongoDB Replica Set on Amazon EC2 with Terraform

<p>From the official MongoDB documentation, MongoDB supports x.509 certificate authentication for client authentication and internal authentication of the members of replica sets and sharded clusters.</p> <p>The Documentation further states, MongoDB deployment should use valid certificates generated and signed by a certificate authority. However, using a private certificate authority can be quite costly, and as we will be deploying this MongoDB into a private subnet and infrastructure we decide to use self-signed certificates.</p> <p>A machine with installed&nbsp;<strong>Openssl</strong>&nbsp;will be required to generate the certificates. From MongoDB&rsquo;s official documentation the following requirements must be satisfy:</p> <p><a href="https://medium.com/@eamenyedzi/setting-up-a-production-ready-mongodb-replica-set-on-amazon-ec2-with-terraform-61abb08d943e"><strong>Click Here</strong></a></p>
Tags: EC2 Terraform