top | item 2556616

DIY node.js server on Amazon EC2

71 points| cuppster | 15 years ago |cuppster.com | reply

12 comments

order
[+] cuppster|15 years ago|reply
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.
[+] DrJ|15 years ago|reply
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
[+] vailripper|15 years ago|reply
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?

[+] cmurphycode|15 years ago|reply
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]
[+] doorty|15 years ago|reply
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!
[+] cuppster|15 years ago|reply
Yes it does, but I'm having so much fun deploying these things, I've created more than one... =)
[+] etcet|15 years ago|reply
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.
[+] danyork|15 years ago|reply
Great step-by-step walkthrough that will help people not familiar with all the tools. Thanks for taking the time to write this up!