Live data from Hacker News

DIY node.js server on Amazon EC2

cuppster.com

11–15 of 15 posts

Re: DIY node.js server on Amazon EC2

#12
post #2

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.

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

#15

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?

If you're having issues with ssh picking up your keys, you can always call it out explicitly: ssh -i path/to/key.pem ec2-user@blah.amazonaws.com

if you're using an ubuntu image, it's going to be the ubuntu user: ssh -i path/to/key.pem ubuntu@blah.amazonaws.com

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

Post reply on HN