How to Integrate MongoDB in an AWS EC2 Instance | HackerNoon
Briefly

Ensure security group settings allow inbound traffic on MongoDB port (27017) from your IP address or a specific range to integrate MongoDB on AWS EC2.
Install MongoDB on Ubuntu by updating apt-get, installing gnupg and curl, adding MongoDB public GPG key, updating sources list, and installing MongoDB using sudo apt-get command.
Read at Hackernoon
[
|
]