AWS t2.xlarge OS : Redhat 8.6 MongoDB Version : 6.0.3
# mongodb 실행 mongosh # root권한가진 계정생성 db.createUser({user:"USERNAME", pwd:"PW", roles:["root"]}) #로그인 mongosh admin -u USERNAME -p PW