How to access MongoDB AMI?
Accessing MongoDB
Shell/Terminal:
mongo admin –u admin –p
Password: instance-id
Accessing Mongo Express
URL: http://instance-public-ipv4:8081
Username: admin
Password: instance-id
Instance Login
Shell/Terminal:
sudo chmod 400 yourpemkeyname.pem
ssh -i yourpemkeyname.pem ubuntu@yourinstanceip
Accessing MongoDB Container
Command:
docker run –d –p 27017:27017 –p 28017:28017 <”AWS Container Image URI”>
Let’s Talk
Let us know if there’s an opportunity for us to build something awesome together.