Live data from Hacker News

DIY node.js server on Amazon EC2

cuppster.com

1–10 of 15 posts

Re: DIY node.js server on Amazon EC2

#7
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

#8
post #5

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!

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

#9
post #8
post #5

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!

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.

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

#10

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
Post reply on HN