Facilitating the spread of knowledge and innovation in professional software development



Choose your language

InfoQ Homepage News Amazon Embraces Node.js

Amazon Embraces Node.js


Amazon has released a developer preview SDK for deploying JavaScript applications running on Node.js. The development kit comes as a NPM module (ZIP) which is installed on Node.js then called in order to access a number of AWS services: EC2, S3, DynamoDB, and Simple Workflow.

Creating an EC2 service is done as following:

var AWS = require('aws-sdk');
var ec2 = new AWS.EC2({region: 'us-west-2'});

Service calls are asynchronous requiring a callback as shown in the next sample:

var request = ec2.client.describeInstances();

// register callbacks on request to retrieve response data
request.done(function(response) {

While a leader in cloud computing in many areas, Amazon AWS is among the latest to support Node.js. Windows Azure, Cloud Foundry, and Heroku have supported server-side JavaScript programming for some time. A Node wiki entry maintains a long list of managed and self-managed providers for Node.js.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.