I am new to node.js and AWS.I dont know how/where to start.
Kindly guide me the step by step process.
Take a look at these guides:
Also, AMZN has pretty good docs:
> I am new to node.js and AWS.I dont know how/where to start.
> Kindly guide me the step by step process.
Very vague question. Help us help you by providing more information. What are you trying to do with node? How are you wanting to use AWS? What have you done or tried so far? Where are you stuck?
> Kindly guide me the step by step process.
Very vague question. Help us help you by providing more information. What are you trying to do with node? How are you wanting to use AWS? What have you done or tried so far? Where are you stuck?
Here is a quick and dirty script I wrote to total some AWS costs for a client. You might find it helpful to play around with. I copied it from the aws-billing module. I had to update some of the process since AWS has dropped their prices since aws-billing was written. Anyway, if I get a chance I'll update some more stuff with it, but you can kind of see how the AWS SDK works.
To use it you would do something like this:
npm install aws-sdk
AWS_ACCESS_KEY_ID=AKIA... (put your key here) AWS_SECRET_ACCESS_KEY=(put your secret access key here) node index.js
In other words, aws-sdk looks for the key in the environment variable. You can specify on the Cubans line but be careful about security. You may want to delete the key from your command line history if you are on a Linux box.
https://github.com/alexwoehr/ node-aws-ec2costs/blob/master/ aws-billing-totals
To use it you would do something like this:
npm install aws-sdk
AWS_ACCESS_KEY_ID=AKIA... (put your key here) AWS_SECRET_ACCESS_KEY=(put your secret access key here) node index.js
In other words, aws-sdk looks for the key in the environment variable. You can specify on the Cubans line but be careful about security. You may want to delete the key from your command line history if you are on a Linux box.
https://github.com/alexwoehr/
One great way to learn a new server toolkit is to try building a to do app. So you can list your todos, log in, create new to do task, delete task, etc. I would start simple, either with bare node or maybe express. Once you are done, search online for "node to do app" and see how someone else did it.
Also, the node docs are awesome. Try reading them and if you get any cool ideas, try coding them up!
Also, the node docs are awesome. Try reading them and if you get any cool ideas, try coding them up!
댓글 없음:
댓글 쓰기