In association with heise online

05 December 2012, 12:23

Amazon previews Node.js for its cloud

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

Node.js logo Amazon is looking for developer feedback on its latest platform to get access to the Amazon cloud: the Node.js asynchronous JavaScript framework. The newly published AWS SDK for Node.js includes an NPM (Node Package Manager) packaged SDK, which gives Node applications the ability to access Amazon's DynamoDB, S3 storage services, EC2 elastic compute cloud, and SWF Simple Workflow Service.

Node.js builds on Google's Chrome V8 JavaScript engine and offers developers a web or server framework based around asynchronous processing of events through callbacks. For readers new to Node.js, The H has a Speed Guide which explains how to use the platform.

A Getting started guide covers usage such as credentialled login, how to configure the package, how to access the currently supported services, make asynchronous requests on them, and use the available callbacks for those requests. For example, once logged in, the code for listing all S3 buckets is:

var s3 = new AWS.S3();
s3.client.listBuckets().done(function(resp) {
for (var index in {
var bucket =[index];
console.log("Bucket: ", bucket.Name, ' : ', bucket.CreationDate);

An API reference is also available. Although it is recommended to install the library using npm, interested parties can look at the Apache 2.0 licensed source on AWS's GitHub repository.


Print Version | Send by email | Permalink:

  • July's Community Calendar

The H Open

The H Security

The H Developer

The H Internet Toolkit