Stefan van Oirschot
Apr 17 · 4 min read

So you decided you want to be part of the LTO Network, awesome! Ow… you were already part of the Community?! Even better! Nice to meet you!

A great way to be part of the community is by actively participating as a node in the network. This blog post demonstrates the steps needed to get an LTO Network node up and running using IBM Cloud, specifically Kubernetes Services.

In this guide I’ll be skipping the part about creating wallets, having a main wallet, a staking wallet, how to lease, etc. If you want to read more about this, please check out the steps 1 and 2 in this guide.

Deploying your node on IBM Cloud using the browser interface

Make sure you have a “Pay-as-you-go” or better IBM Cloud account. It’s not possible to create a Kubernetes Service on IBM Cloud with a free account.

IBM Cloud — Main screen

Shown above is the main screen of IBM Cloud after your initial login. As you can see at the time I had not upgraded to a pay-as-you-go subscription. Without such a subscription you can not create a “free” Kubernetes Service cluster, a requirement (you have other more expensive paid alternatives) for hosting a container on IBM Cloud.

Please make sure you have added a subscription to your plan. If you’re ready to continue click on Create resource in the top right corner.

IBM Cloud — Service Catalog

On the next screen user the filter to go through the catalog. We want to deploy a Kubernetes Service. Click the box to continue.

IBM Cloud — Kubernetes Service overview

On the overview page you can click Create to create your Kubernetes Service cluster. If you do not have the option to click create you probably do not have the right subscription.

IBM Cloud — Create a new Kubernetes service cluster

In the next screen we have the opportunity to setup a simple test cluster or deploy an actual production-ready Kubernetes cluster. For the sake of this test I choose to go with the Free cluster. Select the Free option, change settings if you please and click Create cluster.

IBM Cloud — Alright, you requested a Kubernetes service cluster, let the waiting begin!

You successfully requested a deployment of a Kubernetes Service cluster. Unfortunately this takes quite some time. It’s probably a good idea to grab a cup of coffee, tea or even better… beer!

A Kubernetes cluster consists of multiple components. In the case of the free cluster a Master and a Worker will be deployed. The deployment of the Master will take approximately 30 minutes. The deploy of the Worker will take you an additional 5 minutes.

IBM Cloud — Yes! After 35 minutes we got our Kubernetes Service cluster running!

With our cluster running it’s time to deploy our LTO Public Node application. Click Kubernetes Dashboard to open the Kubernetes dashboard main screen in a new tab.

IBM Cloud — Kubernetes cluster dashboard

To deploy an application on the cluster click on Create in the top right corner.

IBM Cloud — Kubernetes create an application

Select the Create an App tab and fill in an App name, Container image (important). Now click on Show Advanced Options.

IBM Cloud — Kubernetes new application configuration of memory and environment variables

Please change the Memory requirement to 2048 (2 GB) and add your environment variables: LTO_WALLET_SEED, LTO_WALLET_PASSWORD and LTO_NODE_NAME.

Scroll down and click Create. Your LTO Public Node will be deployed on your freshly created Kubernetes Service cluster.

IBM Cloud — Kubernetes dashboard showing your LTO Public Node successfully deployed

Let’s do a final check and click on our pods name in the Pods section of this main screen.

IBM Cloud — Kubernetes LTO Public Node pod configuration

This page shows the configuration of our running node. Please click on Logs in the top right corner to open a separate tab with our console logging.

IBM Cloud — Kubernetes LTO Public Node console logging

In the above example I’ve selected the auto-refresh option to make sure the console logging automatically refreshes every 5 seconds. Watch as the node downloads the blockchain and starts adding MicroBlocks.

That’s it. You’ve successfully mastered setting up a LTO Network Public Node on IBM Cloud using Kubernetes Services. Awesome!

Now wait for a 1.000 blocks…

Best of luck and thank you very much for contributing and being part of the LTO Network Community!

LTO Network

Stefan van Oirschot writing for and about LTO Network

Stefan van Oirschot

Written by

Solution Sales Professional OpenShift + Middleware @ Red Hat | Accelerate Business Innovation | Business Transformation

LTO Network

Stefan van Oirschot writing for and about LTO Network

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade