Running a LTO Network node on Azure (ACI)

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 Microsoft Azure, specifically Azure Container Instances (Not to be confused with Azure 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 Azure using the browser interface

LTO Public Node on Azure — Main screen

As mentioned before we’re configuring an Container instance using ACI. This is not to be confused with AKS, Azure Kubernetes Services. AKS can be used to setup a cluster for container orchestration. This is overkill for what we’re trying to achieve at this time.

Please type “container” (without an s) in the box and “Container instances” will appear. Click Container instances.

LTO Public Node on Azure — Base configuration

First step is to configure some basic settings for your new container instance. You can not really go wrong here. The subscription entry displayed will display on your Azure subscription. You might need to create a Resource group using create new. Please name your container, select a Region where you want to host your container and make sure to enter the image name correctly. Before going to the next step we need to change 1 more thing.

LTO Public Node on Azure — Configure memory

Let’s boost the memory a little from 1.5 GB default to 2 GB by clicking Change size. Now click on Next: Networking to go to the next step.

LTO Public Node on Azure — No port / network changes required

Wow, this one is easy. We don’t need to change anything here. Maybe you want to enter the DNS name label. It’s up to you. This is not a requirement. No ports need to be added at this point. You can leave it at default.

Please click Next: Advanced so we can start configuring our node.

LTO Public Node on Azure — Setup your environment variables

Alright at this stage you want to configure your LTO_WALLET_SEED. This is an important step. This should be the seed of the wallet you use for staking. We configure the LTO_WALLET_PASSWORD to encrypt the seed. The LTO_NODE_NAME is the name your node will use to identify itself on the LTO Network.

When you’re done putting in these variables click on Review + create.

LTO Public Node on Azure — Validation passed — Your screen might look slightly different

If validation is successful click Create to create your container and wait for the deployment to finish.

LTO Public Node on Azure — Deployment of Container instance is running

The deployment might take 1–2 minutes to complete.

LTO Public Node on Azure — A successful deployment of your LTO Public Node container on Azure

Your LTO Public Node is now running on Azure using Azure Container Instances. Not convinced? Let’s double check :) Please click on Go to resource.

LTO Public Node on Azure — Connected to the console

Let’s click on Containers under Settings. Now click on Connect and select a bash shell to Connect. A terminal will open. Activate the terminal by clicking on the black screen.

Using the cd (change directory) command we will browse to the /lto/log directory. In this directory you’ll find our logfile called: lto.log.

Start a tail like in the above screenshot and follow the progress as your node downloads the blockchain or maybe is already adding MicroBlocks.

LTO Public Node on Azure — Tailing your Node’s logfile

That’s it. You’ve successfully mastered setting up a LTO Network public node on Azure. 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

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