Setup your Server

The Q Node is required to run on a server or a (virtual) machine. One possibility is to use a local machine, alternatively you can use a cloud instance on AWS for example. A good external tutorial on how to get started with Ethereum on AWS can be found here Also, you should open the custom port range 30300-30400 to connect to nodes from outside and 8000-8999 to run an RPC and WSS endpoint. Any other machine will work as well if it meets the following requirements:

  • Linux machine with SSH access;
  • Min. 1(v)Core (x86), 20 GB storage and 2 GB RAM;
  • Rec. 2(v)Cores (x86), 30 GB storage and 4 GB RAM;
  • Installed applications: docker, docker-compose, git (optional).

Guide how to install docker and docker-compose could be found by the links.

Check your setup

Check that your node has access to outside:

docker-compose run --rm --entry "ping" validator/rootnode/fullnode

expected result:

Creating miner1_node_run ... done
PING ( 56 data bytes
64 bytes from seq=0 <...>
64 bytes from seq=1 <...>
64 bytes from seq=2 <...>
64 bytes from seq=3 <...>

possible errors:

    Permission denied - to fix this run docker command with sudo or update docker permissions by sudo usermod -aG docker $USER
    Can't find a suitable configuration file in this directory or any parent - switch to the directory that contains your docker-compose file, e.g. cd testnet-public-tools/rootnode