I am new to MongoDB as well in AWS. I am trying to create a node for out an existing mongodb cluster on AWS. After the AWS node is started i was trying to add it into the cluster but is getting 'response status: AuthenticationFailed: Authentication failed.'
So I disabled the auth configuration in mongod.conf which now looks like :
security:
#clusterAuthMode: keyFile
#keyFile: /data/db/mongodb/dory.keyfile
authorization: disabled- We are using SSL(which doesn't seems to be an issue as we have configuration for that in mongod.conf and has been taken care off) and our exiting mongodb instance is hosted on unix
My question : What am i missing here?All mongoDB support docs mentioned creation of a admin/super user on first use ...i tried that but got same error. Is there a default user (master user and password) created by AWS for initial connection?