Hetzner

Guide for running the Taraxa Node with Docker on Hetzner

1. Register to Hetzner

You can use the following link to get Euro 20 to test out Hetzner Cloud:

https://hetzner.cloud/

2. Create a Project API access token

First, create a project in the Hetnzer Cloud Console Then select the project and create an API access token in the Security menu under API Tokens tab.

Make a note of that key. We will use it in the next step.

3. Creating a Taraxa Node

If you are running this on Windows you will first need to install Windows Subsystem for Linux. You can use this guide.

Export your Hetzner Cloud access token to your environment so that the node creation script can access it without prompting you for it:

export HCLOUD_TOKEN=your_api_key

The script you fetch and run in the next step depends on the network you want to deploy your node to. Please be sure to select between mainnet and testnet as desired.

Download and run the node install script for the type of node you wish to deploy:

Mainnet Full Node:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/Taraxa-project/taraxa-ops/master/scripts/one-click-Hetzner.sh)" mainnet

Mainnet Light Node:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/Taraxa-project/taraxa-ops/master/scripts/one-click-Hetzner.sh)" mainnet light

Now you should see a new server in your Hetzner Cloud Console and you should receive an email with the login details.

NOTE: It takes a few minutes after the droplet starts to install the Taraxa Node software.

4. Check the logs

You can use the following commands inside the created server to check if the node is up and running:

sudo docker ps

sudo docker logs -f taraxa_compose_node_1

Last updated