How to setup a custom Domain for a Node-RED instance on IBM Cloud

This blog post is a short cheat sheet, how easy it is to configure/setup a custom domain for a Node-RED example instance on IBM Cloud for a Cloud Foundry App. To do this you need a Pay-As-You-Go or Trial-Account for the IBM Cloud.

The image below shows my Node-RED Node.js instance in IBM Cloud and the invocation in a browser.

Cloud Foundry App InstanceNode-RED invocation in a browser
Continue reading

How to configure the IBM Cloud Operator for an existing Cloudant service?

Kubernetes Operators are an awesome way to simplify work for developers to setup and maintain complex applications in Kubernetes or Red Hat OpenShift.

The IBM Cloud Operator provides you the ability to bind IBM Cloud services to your applications running in Kubernetes or RedHat OpenShift and create, update, and delete IBM Cloud services from within the cluster by calling Kubernetes APIs, instead of needing to use several IBM Cloud APIs in addition to configuring your app for Kubernetes.

That example shows how to bind an existing Cloudant service instance in IBM Cloud to an application running in Red Hat OpenShift. The content of the example is related to the usage of the Red Hat OpenShift with IBM Cloud Open Labs. In these labs you can use a preconfigured OpenShift environment for four hours at no charge to run workshops by your own. By the way, here you can find the related source code for the examples.

Continue reading

Write your first simple Kubernetes Operator

Ask your human Operator to do all the complicated ugly work for you!

… or write your own Operator, if you are the expert and you know how the complicated ugly work, works in detail. This is how you can make sure it works in the future 😉

For those of you who don’t know Kubernetes Operators in combination with Ansible, let me just give you a very simplified description from my point of view:

Even a student with minimal knowledge of Kubernetes should be able to install a highly complex container-based application on top of Kubernetes or OpenShift. Eliminate the manual interaction effort as much as possible to deploy, run, and maintain your containerized application on Kubernetes or OpenShift with your Operator implementation.


During my search on the internet, how to build an own custom Kubernetes Operator, I came along to that awesome YouTube video with a talk from Keith Tenzer, he gave in 2020 on the Open Infrastructure Foundation Summit called “Building Kubernetes Operators with the Operator Framework and Ansible”.

Continue reading

Install VirtualBox and setup a virtual machine with Ubuntu on MacOS

This blog post does contain a very short cheat sheet for me and maybe it is also useful for you: How to install VirtualBox and setup a virtual machine with Ubuntu on a Mac OS host system, by using various documentation resources from the internet.

Step 1: Download and install the latest VirtualBox on your Mac (pay attention to the Oracle Licensing, when you start using VirtualBox).

Step 2: Be aware of the system security preferences settings. You can follow the instructions from this awesome very short blog post, written by Xilin Sun. That will help you to avoid following Error:

Solving VirtualBox “kernel driver not installed (rc=-1908)” Error on macOS

Step 3: Download an iso image file from the Ubuntu webpage for your installation.

Step 4: Follow these instructions which are written by the About the Biometric Research Program. The instructions are for a Windows operating system, but I would say, you can easily map the content to a Mac0S installation.

And by the way also useful to know is:


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

Greetings,

Thomas

#VirtualBox, #Ubuntu

Absolute beginner Node-RED flow

The motivation for that blog post is: When I support Hackathons I notice there’s often a lack of programming knowledge and building UIs, but they have awesome ideas. If this is the case, then Node-RED is a perfect starting point to realize a prototype at a hackathon. The dashboard of Node-RED is a awesome way to build a UI, but there was a “out of the box” Node missing to simply add a table. Now I found a very useful Node that’s create a table inside a Node-RED dashboard.

That’s motivated me to create an example GitHub project, which provides an example to build a simple application from scratch.

The gif shows the simple functionality of the flow.

  • Enter a new user
  • Search for lastname
  • Inspect result
Continue reading

What do you think about the OWASP web application security top ten as a developer?

I like the OWASP Top Ten for “developers” charts. From my point of view, it gives an awesome advice, where to start and helps to take care and remember what you maybe already know about web security implementation. From my side it feels a bit like “rub salt into the wound” of a developer soul, isn’t it so? Especially when you starting developing cloud native and microservices based applications.

Continue reading

Get started with IBM Cloud – a student perspective

In this new blog post I want to address a common situation I see students facing: there are several cloud providers and you want to check out the different platforms. The reason is you want to be prepared; for example working with cloud resources related to courses at your university or for a hackathon. One of these cloud providers is IBM Cloud and this blog post is about how to get started with IBM Cloud. This is a tailored version of my blog post: How to prepare for a Hackathon with IBM Cloud for you as a student.

IBM Cloud provides a wide range and huge amount of different services, runtimes, and more. It covers both virtual and hardware –based servers on one demand cloud-platform, which means you have complete infrastructure control. One of the great things about IBM Cloud is that you can register for an account and try before you buy without needing a credit card.

From my point of view, one of the most important objectives for student is to have a running application instance live.

To do this you need a runtime 😉

Continue reading

Getting started with continuous integration and delivery (CI/CD) using Tekton and an Open Toolchain on IBM Cloud (Part 3/3)

This blog post is about the last 14 min video for my YouTube playlist related to the hands-on tutorial “Develop a Kubernetes app by using Tekton delivery pipelines“. In this video we do the final setup of the toolchain and then we execute a Tekton pipeline. For more background please visit my first blog post “Getting started with continuous integration and delivery (CI/CD) using Tekton and an Open Toolchain on IBM Cloud (Part 1/3)“.

Note: The video was live recorded and it would take 30 min for the entire session, but I did reduce the time of the video to only 14 min ;-).

But now the video could be sometimes a little bit (too) fast.

Continue reading