A short introduction of the Node-RED Starter kit on IBM Cloud for Hackathons
Tags: nodered, deliverpipeline, toolchain, continuesdelivery
Published: 2020-03-17 15:06:30

---
title: A short introduction of the Node-RED Starter kit on IBM Cloud for Hackathons
published: true
description: In that blog post I want to highlight the new way of the instantiation of a Node-RED application on  IBM Cloud with the Node-RED Starter kit. From my perspective Node-RED is a very helpful tool at hackathons.
cover_image: https://suedbroecker.files.wordpress.com/2020/03/hacker-1569744_1920.jpg?w=1000&h=420&crop=1
tags: Node-RED, DeliverPipeline, Toolchain, Continues Delivery
---

In that post I want to highlight the new way of the instantiation of a Node-RED application on  IBM Cloud with the Node-RED Starter kit. From my perspective Node-RED is a very helpful tool at hackathons. [(just take a look in my blog post  How to prepare for a Hackathon with IBM Cloud?)](https://suedbroecker.net/2019/02/11/how-to-prepare-for-a-hackathon-with-ibm-cloud/)

The Node-RED instantiation has changed and with the Node-RED Starter kit we can take the advantage of the capabilities of IBM Cloud to control the build, deployment and execution of the Node-RED application and we setup automatically all  development tools to work effectively in a small development team in our hackathon.

I want to provide a short walkthrough from my perspective and created a 13 min YouTube video in addition to that blog post.[(just take a look in my blog post  How to prepare for a Hackathon with IBM Cloud?)](https://suedbroecker.net/2019/02/11/how-to-prepare-for-a-hackathon-with-ibm-cloud/)

{% youtube eVHm9UIsbuI %}

Let's get started with the description of the Node-RED Starter kit in IBM Cloud.

_“This starter kit provides a pre-configured Node-RED application, including a Cloudant service to store the application flow configuration. Add services, generate and download the code, use the IBM Cloud Developer Tools CLI to run and debug locally, then deploy to Cloud Foundry or a DevOps Pipeline.“_

With that Node-RED Starter kit we setup all needed development tools to work effectively in a small team at a hackathon.

![IBM Node-RED Starter kit](https://suedbroecker.files.wordpress.com/2020/03/node-red-01.png?w=2448)

The Node-RED Starter kit will create six new service instances in IBM Cloud as you see in the dashboard below.

![IBM Node-RED Starter kit services](https://suedbroecker.files.wordpress.com/2020/03/node-red-02.png?w=1548)

_What are the created resources in the image above:_

* **Cloud Foundry apps:** A Cloud Foundry Node-RED application instance.
* **Cloud Foundry services:** A alias for the Cloudant service to bind that service to the Cloud Foundry Node-RED application. You can find more about the alias topic in my blog post: How to use VCAP with a IAM enabled service in IBM Cloud?
* **Services:** Two created services:
   * Cloudant service
   * Continuous Delivery service
* **Apps:** The App, from my point of view the “App” is technically, a single point of entry to all resources we usually need to build, deploy and run an application on IBM Cloud ("here the App was pre-configured with the Node-RED Starter kit“).
* **Developer tools:** The created toolchain.

---

## Let's have a short walkthrough, how to use the Node-RED Starter kit to create the Node-RED application instance on IBM Cloud

Here are five major steps, I see, when we use the Node-RED Starter kit.

![Here are five major steps](https://suedbroecker.files.wordpress.com/2020/03/node-red-starter.gif?w=1460)

* _Step 1:_ First we will create an App. That App is the single point of entry to all relevant resources for build, deploy and run the Node-RED application instance. In the following image we see the fully deployed App, with links to the related resources as the services, the toolchain, the application URL and the source code repository.

![Step 1](https://suedbroecker.files.wordpress.com/2020/03/node-red-04.png?w=2448)

* _Step 2:_ Then automatically a Cloudant service instance will be instantiated. That instance does contain a Cloudant database which saves configurations and flows and more of the Node-RED application. The image displays the noderedmyhackathon database in the Cloudant service instance.

![Step 2](https://suedbroecker.files.wordpress.com/2020/03/node-red-05.png?w=1124)

* _Step 3:_ The toolchain will be automatically configured, based on configuration information we will provide. The image shows a example list of toolchains in Dallas.

![Step 3](https://suedbroecker.files.wordpress.com/2020/03/node-red-06.png?w=1878)

* _Step 4:_ The toolchain will create a Continues Delivery service, that service will clone the source code for the Node-RED application from origin Node-RED IBM Cloud GitHub project to our GitLab project in IBM Cloud. We can use the source code to modify the Node-RED application instance later. The GitLab project is the input for the delivery pipeline which does the concrete deployment of the application. The picture displays the configured toolchain.

![Step 4](https://suedbroecker.files.wordpress.com/2020/03/node-red-07.png?w=1332)

* _Step 5:_  The deployment pipeline now creates the Cloud Foundry Node-RED application and the needed Cloud Foundry alias to bind the Cloudant service to the Cloud Foundry Node-RED application. The image shows the deployment pipeline.

---

The gif below shows how to access the running Node-RED application from the App.

![Access the running Node-RED application from the App](https://suedbroecker.files.wordpress.com/2020/03/node-red-11.gif?w=2448)

I hope this was useful for you and let’s see what’s next?

Greetings,

Thomas

[Resource on www.suedbroecker.net](https://suedbroecker.net/2020/03/09/a-short-introduction-of-the-node-red-starter-kit-on-ibm-cloud-for-hackathons/)