I use mongodb and nodejs on ec2, I would like to deploy it to support 10,000 requests per day. I would like to make sure that if the instance is completed or rebooted (?), The database will not be lost. I understand that I need to create EBS volumes to store data.
I tried http://www.mongodb.org/display/DOCS/Amazon+EC2+Quickstart#AmazonEC2Quickstart-ConfigureStorage , but this did not work. I get to the point where I have to run [ec2-user @domU -... ~] $ sudo chown mongod: mongod / data but I get: chown: invalid user: `mongod: mongod '
solved this: sudo chown mongod.mongod / data still cannot work mongod:
$sudo /etc/init.d/mongod start Starting mongod: forked process: 1694 all output going to: /log/mongod.log [FAILED][ ec2-user@domU-... /]$ sudo mongod
I DO NOT UNDERSTAND THE WORD IN MANUAL ... is it just me ...? Is there a simpler guide to achieve this? Thanks!
Liatz source share