News for hackers. Stuff that matters.
Re:DIY node.js server on Amazon EC2 by cuppster on Wednesday May 18, 2011 @12:11PM (#2560611)
I've got a follow up post that shows how to use upstart instead of init to manage supervisor http://cuppster.com/2011/05/18/using-supervisor-with-upstart

People were having issues with the init script gist... upstart simplifies things quite a bit.

Re:DIY node.js server on Amazon EC2 by cuppster on Tuesday May 17, 2011 @11:30AM (#2556633)
I've used this recipe for a couple sites of mine, including the blog itself. The ups and downs of beta features of other node.js hosting providers was becoming a hindrance so I decided to roll my own.
Re:DIY node.js server on Amazon EC2 by DrJ on Wednesday May 18, 2011 @02:07AM (#2559228)
would be interesting to know what features node hoster kept changing? Only thing I have so far is some cough node hosts don't send out enough invites for some of us to get
Re:DIY node.js server on Amazon EC2 by vailripper on Tuesday May 17, 2011 @03:58PM (#2557620)
Great guide, thanks.

One issue I've run into trying to push from my windows 7 machine to my instance is a "Permission denied(publickey)" error, which I assume is due to a missing SSH key in git for my ec2 instance? Does anyone know how to tell the ec2 alias to use my instance private key when connecting?

Re:DIY node.js server on Amazon EC2 by cmurphycode on Tuesday May 17, 2011 @07:18PM (#2558386)
If you're having issues with ssh picking up your keys, you can always call it out explicitly: ssh -i path/to/key.pem [email protected]
Re:DIY node.js server on Amazon EC2 by cuppster on Wednesday May 18, 2011 @02:51PM (#2561224)
if you're using an ubuntu image, it's going to be the ubuntu user: ssh -i path/to/key.pem [email protected]

Spent too much time figuring that out the hardway...

Re:DIY node.js server on Amazon EC2 by doorty on Tuesday May 17, 2011 @03:30PM (#2557516)
And the kicker: The AMI you suggest qualifies as free for a year with a new AWS account. Free hosting for a year to play around with Node. Thanks a lot!
Re:DIY node.js server on Amazon EC2 by cuppster on Tuesday May 17, 2011 @03:33PM (#2557528)
Yes it does, but I'm having so much fun deploying these things, I've created more than one... =)
Re:DIY node.js server on Amazon EC2 by etcet on Tuesday May 17, 2011 @05:16PM (#2557945)
The last time I checked I remember all the Ubuntu images were too big to be completely free. They required more storage than the free tier allowed. Please, correct me if I'm wrong.
Re:DIY node.js server on Amazon EC2 by doorty on Tuesday May 17, 2011 @05:28PM (#2557996)
The AMI is 8GB. The free, micro instance provides 10GB as described here: http://aws.amazon.com/free/.
Re:DIY node.js server on Amazon EC2 by danyork on Tuesday May 17, 2011 @11:35AM (#2556649)
Great step-by-step walkthrough that will help people not familiar with all the tools. Thanks for taking the time to write this up!
Re:DIY node.js server on Amazon EC2 by micmcg on Tuesday May 17, 2011 @09:11PM (#2558663)
Very handy guide