LTO Network
  • Getting started
  • What is LTO Network?
  • Tutorials
    • Buying and staking LTO
      • Exchanges
        • Binance
        • AscendEX (Bitmax)
        • Uniswap
        • PancakeSwap
        • Other exchanges
      • Creating your LTO web wallet
      • Using the LTO token bridge
      • Staking LTO tokens
    • Mining
      • Setup your node wallets
      • Node management
      • Public community nodes
    • Anchoring
      • Hashing
    • LetsFlow
  • Wallets
    • LTO Web Wallet
      • Using Ledger
    • Universal Wallet
    • LTO CLI
    • Third-Party Wallets
      • Stakely.io wallet
        • Web wallet
        • Commandline
    • ERC20 Token Swap
  • Running a node
    • Public node
      • Installation Guide
        • Mainnet & Testnet
        • Requirements
        • Configuration
        • (Virtual) Machine
        • Nginx reverse proxy (optional)
        • Troubleshooting FAQ
      • Cloud installation
        • Alibaba Cloud
        • AWS Elastic Beanstalk
        • Google Cloud
        • IBM Cloud
        • Microsoft Azure
        • OKD (OpenShift)
        • Raspberry Pi (Expert)
        • Ubuntu Linux with Container
        • Windows with Container
      • REST API
        • Address
        • Wallet
        • Lease Transactions
        • Peers
        • Blocks
        • Utils
        • FAQ
      • Security Notes
      • FAQ
      • Exchange integration guide
    • Anchor node
      • Installation Guide
        • Linux
        • MacOS
        • Windows
      • REST API
    • Identity node
      • Installation guide
        • Linux
        • MacOs
        • Windows
      • Configuration
        • Trust network
      • REST API
    • Workflow node
      • Installation Guide
        • MacOS
        • Windows
        • Ubuntu Linux
      • REST API
  • Ownables
    • What are Ownables?
    • Making your first ownable
    • Ownables SDK
      • Prerequisites
      • Setup
    • Ownables Architecture
      • Smart Contract
      • Widget
    • Ownables Bridge
  • Templates Overview
  • Libraries
    • JavaScript
      • Accounts
      • Transactions
      • Event chain
      • Messages
      • Identities
      • HTTP Authentication
    • Python
      • Accounts
      • Public layer
    • PHP
      • Accounts
      • Identities
      • Public layer
      • Private layer
      • HTTP Authentication
      • Commandline scripts
    • Java
  • Protocol
    • Cryptography
    • Accounts
      • ED25519
      • secp256k1
      • secp256r1
    • Identities
      • Decentralized identifiers (DID)
      • Trust network
      • Verifiable credentials
    • Public layer
      • Transactions
        • Transfer
        • Lease
        • Cancel Lease
        • Mass Transfer
        • Set Script
        • Data
        • Anchor
        • Association
        • Revoke Association
        • Sponsorship
        • Cancel Sponsorship
        • Register
        • Burn
        • Mapped Anchor
        • Statement
      • Transaction fees
      • Consensus protocol
      • Activation Protocol
      • Data Structures
    • Private layer
      • Event chain
        • Event
      • Messaging
        • Sending messages
Powered by GitBook
On this page
  • Step 1: Deploying your node on Alibaba Cloud using the browser interface
  • Step 2: Wait for a 1.000 blocks
  1. Running a node
  2. Public node
  3. Cloud installation

Alibaba Cloud

This page shows the 2 steps ( >:) ) needed to get an LTO Network node up and running using Alibaba Cloud, specifically Elastic Container Instances.

PreviousCloud installationNextAWS Elastic Beanstalk

Last updated 1 year ago

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 to check out the Prepare: before continuing. The node setup pages assume you utilize a 2-wallet setup for extra safety.

Be prepared for some tough configuration. Configuring a container instance on Alibaba is not at all straightforward and a lot of manual networking and security related steps are involved!

Step 1: Deploying your node on Alibaba Cloud using the browser interface

Alibaba Cloud — LTO node — Main screen

Setting up an LTO Public Node on Alibaba cloud is _not_ possible using a free account. There are paid services involved like a NAT Gateway and Elastic IP. Make sure you have entered your payment parameters before continuing.

Alright, let’s go!

Alibaba Cloud offers multiple Container offerings. The Container Service gives you the option of configuring a Kubernetes cluster or Swarm cluster. We do not want this. We just want to deploy 1 container.

We’ll go with the Elastic Container Instance option.

On the Elastic Container Instance product page click Create Elastic Container Group.

We’ll come back to this page a few times. Unfortunately we have to setup various network and security related stuff before being able to deploy our container.

All links you’ll click will open in a new Tab which makes it easy to jump back.

Important: Make sure you configure the resources in the region you’re actually using for your container deployment. In the above screenshot you see the US West 1 and then Zone B. All my configuration is done in Zone A! I will have to switch to be able to select my netwerk components, for example the vSwitch.

The configuration container configuration page asks us to select a VPC. We do not have one yet so let’s create one by clicking Go to Console and Create.

In the next screen click on Create VPC. In the screen appearing configure a VPC and a vSwitch. As you can see in the screenshot above. This is were you configure the Zone.

Next up is configuring the NAT Gateway. Click on the NAT Gateways option in the menu on the left.

No NAT Gateway available yet. In the screen appearing click on Create NAT Gateway to create one.

Let’s go with the defaults. A Small Specification should be enough. Continue.

With your order complete you can refresh your NAT Gateways overview page. You will see your NAT Gateway appearing. Let’s go to the next option to configure. The EIP.

The EIP is our Elastic IP Address. Click on Elastic IP Addresses in the menu on the left. Click Create EIP in the screen appearing to create our Elastic IP address.

Not sure about the max bandwidth needed. I went with 50 Mbps in this example. Make sure you have the region configured as the region were you’ll be deploying your container. Click on Buy Now and finish the rest of the transaction.

In the above screenshot you can see that we have our freshly ordered EIP available. It’s time to bind the EIP to our NAT Gateway. Click Bind on the far right.

We want to bind the EIP to our NAT Gateway. Make sure to select NAT Gateway Instance in the Instance Type field. Now select your NAT Gateway Instance and click OK.

Good job! You’ll see the status changing from Binding to Allocated when successful. With this done we can go back to our NAT Gateway and configure Source NAT.

Click on Configure SNAT on the far right to configure Source NAT.

To continue click on Create SNAT Entry a new screen will appear.

Select our vSwitch and select our EIP. Your IP address will differ from the above screenshot. Now click OK to continue.

OK, we’re back in the ECI configuration page. As you can see we switched our zone to Zone A as I configured my vSwitch in Zone A. I’ve selected my VPC and my vSwitch.

Next up is the configuration of a Security Group. We’ll do this by clicking on Create Security Group.

Click Create Security Group to continue.

We do not really want rules but still, let’s click on Create Rules Now. Accept the proposed rules.

Go to the ingress rules tab of our security group. Select all the rules there and remove them. We do not need ingress rules to make our LTO Public Node work.

With our Security Group created and configured we can finally continue with the configuration of our Elastic Container Instance. Click on Select Security Group and select our freshly created security group from the list. Click Select.

Now scroll down to the Container Group Name for the next step.

We’re almost there. It’s time todo some container configuration.

Please enter a:

  • Container Group Name: you choose!

  • Container Name: you choose!

Fill in the Docker Image name for the public node and fill in “latest” in the version field.

Select 1 vCPU and the 2GiB memory option will appear. We do not need 4 GiB.

Finally enter the environment variables. Unlike in the above screenshot we need to configure 3 parameters:

  • LTO_WALLET_SEED: The seed of the wallet you use for staking

  • LTO_WALLET_PASSWORD: You choose a password

  • LTO_NODE_NAME: Optional but can be a good idea :)

A future update might include the usage of secrets to secure our configuration.

Let’s Create the container.

A small summary before kicking off the creation process. If everything looks good to you click on Create ECI to activate the container.

Yes, we did it. We created our Elastic Container Instance on Alibaba Cloud! Click Console to see our container in action.

In the above screenshot i have selected our freshly created container instance and the Logs tab. I’ve selected the Container Name and clicked OK to view the log entries.

Depending on when you check the node will be busy downloading the blockchain or appending MicroBlocks :)

That’s it. You’ve successfully mastered setting up a LTO Network public node on Alibaba Cloud. Awesome!

Step 2: Wait for a 1.000 blocks

Alibaba Cloud — LTO node — Product overview
Alibaba Cloud — LTO node — Elastic Container Instance main screen
Alibaba Cloud — LTO node — ECI main configuration page
Alibaba Cloud — LTO node — VPC, Virtual Private Cluster configuration
Alibaba Cloud — LTO node — NAT Gateways overview
Alibaba Cloud — LTO node — NAT Gateway — This is a paid service.
Alibaba Cloud — LTO node — Finish your order
Alibaba Cloud — LTO node — EIP configuration page
Alibaba Cloud — LTO node — Another paid service :)
Alibaba Cloud — LTO node — EIP Available
Alibaba Cloud — LTO node — Bind EIP to our NAT Gateway
Alibaba Cloud — LTO node — EIP bind to NAT Gateway → Allocated
Alibaba Cloud — LTO node — NAT Gateways overview
Alibaba Cloud — LTO node — Add a SNAT entry to our table
Alibaba Cloud — LTO node — Create SNAT Entry page
Alibaba Cloud — LTO node — We’re back in the ECI configuration page
Alibaba Cloud — LTO node — Security Groups overview
Alibaba Cloud — LTO node — Rules!
Alibaba Cloud — LTO node — Security group ingress overview
Alibaba Cloud — LTO node — Back to the ECI configuration
Alibaba Cloud — LTO node — ECI instance successfully activated
Alibaba Cloud — LTO node — Looking good! blockchain downloaded, appending MicroBlocks!

You can find the LTO Network Explorer at It shows you the blocks generated, by who, when, how big they are and how many transactions are in the block.

After launching your node check the to see the number of the last block. Wait till another 1.000 blocks are generated and expect your node to be part of the LTO Network.

Utilize the available to get more insights into the network and your participation. Let's build a secure and useful network together!

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 .

https://explorer.lto.network.
Explorer
Community Tech Tools
about community programs
Setup your wallet page
Alibaba Cloud — LTO node — Finally, some container configuration
Alibaba Cloud — LTO node — ECI overview page