Comment on page
This page shows the 2 steps needed to get an LTO Network node up and running using IBM Cloud, specifically Kubernetes Services.
So you decided you want to be part of the LTO Network, awesome!
A great way to be part of the community is by actively participating as a node in the network.
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.
A future update might include the usage of secrets to secure our configuration.
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 an LTO Network Public Node on IBM Cloud using Kubernetes Services. Awesome!
Depending on your stake (the number of LTO tokens you have in the “2nd wallet”) it will take more or less time for you to start earning LTO. Be patient and be happy. Welcome to the amazing LTO Network community! Read more about community programs.