Node-RED Running on Microsoft Azure

Node-RED: Running on Microsoft Azure

Node-RED is a tool for wiring together hardware devices, APIs and online services in new and interesting ways. I often used it for my Proof of Concept and demo.

Node-RED provides a browser-based flow editor that makes it easy to wire together flows using the wide range nodes in the palette. Flows can be then deployed to the runtime in a single-click, JavaScript functions can be created within the editor. The light-weight runtime is built on Node.js and with over 225,000 modules in Node’s package repository, it is easy to extend the range of palette nodes to add new capabilities.

In my future it will be more and more present the cloud platform Azure, so I decided to write this post about how to install and use node red on Azure. Here are the main steps:

Create an Ubuntu Server

in Compute select Ubuntu Server, give your machine a name, the username you want to use and the authentication details you want to use to access the instance:

Node-RED: Running on Microsoft Azure

Configure TCP Inbound rule

on the Network security group option, add a new inbound rule with a name and a priority and the options set as Protocol equal to TCP and Destination port equal to 1880:

Node-RED: Running on Microsoft Azure

Install Nodejs

logon in virtual machine by ssh and install nodejs repository, then install nodejs and nodered:

Node-RED: Running on Microsoft Azure

that’s all, you can continue to use node-Red for any proof of concept.

Node-RED: Running on Microsoft Azure

thanks to all !


Related Articles

Back to top button