How secure is setting mongodb to 0.0.0.0 but blocking all incoming requests to 27017 on ec2?

As the title suggests. If I set the net.bindIp setting in mongod.conf to 0.0.0.0 on port 27017 this should open it up to all incoming connections. However, if in my ec2 instance I whitelist only my local IP on 27017, will this block all ot… Continue reading How secure is setting mongodb to 0.0.0.0 but blocking all incoming requests to 27017 on ec2?

How secure is setting mongodb to 0.0.0.0 but blocking all incoming requests to 27017 on ec2?

As the title suggests. If I set the net.bindIp setting in mongod.conf to 0.0.0.0 on port 27017 this should open it up to all incoming connections. However, if in my ec2 instance I whitelist only my local IP on 27017, will this block all ot… Continue reading How secure is setting mongodb to 0.0.0.0 but blocking all incoming requests to 27017 on ec2?