Developing & Deploying Node.js Web application into Windows Azure with Cloud9 IDE

While it’s common to run Node.js applications  & deploy them into Windows Azure. Lets start by building a simple Demo of building a Node.js app in Cloud9 IDE & deploy it into Windows Azure. Node.js is an open – source toolkit for developing Windows Azure based apps. Cloud9 is a browser based cross-platform development environment supports for Node.js projects which can be directly deployed to Windows Azure.

  • Cloud9 IDE is an ideal browser tool for Chrome -OS & works in OS X , Linux & Windows.
  • To use Cloud9 IDE, you need to Sign up to Cloud9 portal @
  • Alternatively you can Sign in using Github Id.
  • So, lets first create a Cloud9 Project , click on the icon ‘Create a new project’ .

  • Select the name of your cloud project  & click on Create to create the project.
  • Start Editor after the project is being created. You would be prompted for dashboard preview but is you need to code directly click on Just the editor, please.
  • Start coding by selecting New File from the menu. Paste the following code in the file.

var http = require(‘http’);

var port = process.env.PORT;



res.writeHead(200, {‘Content-Type’: ‘text/plain’});

res.end(‘hello windows azure\n’); }).listen(port);

  • Next save the file as ‘server.js’ from the Save As menu.

  • Start debugging & preview the output in browser as app.

  • Now, deploy the app by clicking on Deploy button from the button grid options & select Windows Azure as deployment platform.
  • Next, you will be prompted to Windows Azure portal  & start migrting your on-premise node.js web app in Cloud9 IDE app into Windows Azure.



About Anindita
Anindita Basak is working as Big Data Cloud Consultant in Microsoft. Worked in multiple MNCs as Developer & Senior Developer on Microsoft Azure, Data Platform, IoT & BI , Data Visualization, Data warehousing & ETL & of course in Hadoop platform.She played both as FTE & v- employee in Azure platform teams of Microsoft.Passionate about .NET , Java, Python & Data Science. She is also an active Big Data & Cloud Trainer & would love share her experience in IT Training Industry. She is an author, forum contributor, blogger & technical reviewer of various books on Big Data Hadoop, HDInsight, IoT & Data Science, SQL Server PDW & PowerBI.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: