I am using opsWorks, and created a nodejs application on ec2.
I want to be able to create a ec2 machine that will run on opsWorks deploy, but all i can do is make a EC2 machine that have nodejs installed. CHEF seams complicated for the simple thing i want to do.
anyone did it ? i want EC2 machine : 1. nodejs installed 2. git clone 3. npm forever installed 4. npm log4js + mongoose installed
anyone did it ? whats the best way to do it ?
Using OpsWorks is relatively simple, and you can probably just use the default Node set up. Check out Has anyone been successful deploying a node (express) app with Amazon OpsWorks? for some things to remember.
If you do it properly, OpsWorks will start your Node app for you. (most likely your filename is wrong).
As well, getting the packages you want installed is easy enough by just adding them into your package.json file.
Have you tried elastic beanstalk for Node.js? It provide preconfigured container for Node.js.