Categories
devops mongodb

Restrict outside access to MongoDB installed on an EC2 Instance with Security Groups

Note: I will be assuming you have MongoDB running on an EC2 instance. First off we need to allow outside access to the MongoDB instance. Below is what I had to update in mongod.conf file. We have to comment out bindIp and add bindIpAll set to true. At this point you should be able to […]