I have MongoDB replica set, set up with 1 master and 3 worker nodes deployed with docker-compose on AWS S3 on the same ec2 instance (for development purposes only).
Indiv