How to Setup Tierion(TNT) Chainpoint Node using Amazon Web Services (Ubuntu)

in #chainpoint-node9 years ago (edited)
  1. Create AWS Account in AWS

  2. Amazon Lightsail with the $5 plan is sufficient to run one node. Purchase AWS at Amazon Light Sail
    Minimum Requirement
    512MB RAM
    1 CPU Core
    20GB Hard Disk or SSD
    Public IPv4 address

  3. Login to AWS Web Interface and Create Ubuntu Instance

  4. Create Static IP (note down this IP)

  5. I used Putty Client from Windows to access AWS. If you want to use Putty Terminal instead of using AWS web Terminal you can refer to this steps. otherwise Ignore and just use AWS Web terminal. You can download putty client at Putty Website. Once you installed Putty to your computer follow below steps:-
    a) Go to AWS web Interface --> Account --> SSH Keys
    b) Download the default key pair
    c) Open Puttygen (Windows--> Programs --> Putty --> Puttygen )
    d) Click Load --> Browse through the key pair downloaded in #b, (Make sure select the type of key is RSA)
    e) Save Private Key

  6. Now open Putty (Windows--> Programs --> Putty --> Putty )
    Hostname : Static IP address from #4
    Click Open

  7. userId: ubuntu Press enter

  8. Type sudo su (logs you in with root)

  9. Type cd and Press enter. Will take you to root directory

  10. Install docker and docker-compose and chainpoint-node using below command.

    curl -sSL https://cdn.rawgit.com/chainpoint/chainpoint-node/13b0c1b5028c14776bf4459518755b2625ddba34/scripts/docker-install-ubuntu.sh | bash
    
  11. cd ~/chainpoint-node

  12. cp .env.sample .env

  13. cat .env (this will display the content of the .env file)

  14. Highlight the content, copy and paste it in a notepad to edit or just use vi and edit the .env file

  15. Enter information below in the .env file (Note that static IP address starts with http:// )

    NODE_TNT_ADDRESS=your ETH address where you hold minimum 2500 TNT 
    CHAINPOINT_NODE_PUBLIC_URI=http://18.88.88.88 (STATIC IP ADDRESS FROM #4 above)
    
  16. Now run the command make up to start the node.

  17. At this point your Chainpoint node should be up and running. To check run command make ps

  18. To see the secret key, fire the command below ( copy the key and store it securely somewhere)
    make logs | grep private
    Press Ctrl + Z

  19. To check if the node is up and running use command make ps

  20. Once the node is up, you need to buy credits using TNT

  21. From the address where you hold minimum 2500 TNT (#14), send TNT amount required to get 10,800 credits.
    a) Currently 1 TNT = 200 credits. 54 TNT = 10,800 Credits. Send minimum of 54 or more TNT to TNT receiving address (it is 0xddfff2b78463ab1ca781e853bb888fdfd06083d3 ). I personally used MEW to send TNT. *It is recommended to send 60 to 100 TNT to keep the uptime
    b) You can find the current receiving address in https://a.chainpoint.org/config

  22. Once done, you are all set to receive rewards after 4 consecutive audit checks

  23. You can verify checks using the link https://a.chainpoint.org/nodes/yourETHAddressHere This has been discontinued.

  24. You should see 4 consecutive lines where all parameters are True. This may take few hours.

  25. All set !!

Updating a Node

make down
git pull
make up

References:
Tierion
FAQ's

Sort:  

Wow what is tierion

Congratulations @enigmatique! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.078
BTC 61583.79
ETH 1637.38
USDT 1.00
SBD 0.41