- Launch an Amazon Linux Instance on ec2 - choose 30 GB of EBS storage- free-tier eligible
- ssh into the AMI box
- Use this to install mongodb - https://docs.mongodb.com/manual/tutorial/install-mongodb-on-amazon/
- Use this to create admin user - https://docs.mongodb.com/manual/tutorial/enable-authentication/
- Setup a read only user for running fetch queries
- https://docs.mongodb.com/manual/reference/configuration-options/#security.authorization for restarting mongod service with auth
Last active
August 27, 2016 16:27
-
-
Save purukaushik/64011ce36f83b85bf8ada840a06cb2d0 to your computer and use it in GitHub Desktop.
AMI EC2 MongoDB installation and setup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment