Validator Node Setup Prerequisites

0. Choose your local Ansible Control Station username.

  • For clarity, you may wish to use identical usernames on your Ansible Control Station and your remote node. For example, one could create a user named "ubuntu" on both your Ansible Control Station and your remote note. If you have the means, using a dedicated node for the Ansible Control Station that can be powered down or moved off-network when not in use is ideal. If using a local workstation, creating and using a dedicated Ansible Control Station user reduces potential for error. When you create a new local user (we recommend using our example 'ubuntu' username), ensure this user has sudo or su (Super User) authority on the Ansible Control Station. The rest of this example assumes your user is in the sudo group.

1. git

  1. check that you have git installed

    git --version

    if not - install it following instructions here

2. python & pip

  1. check that you have python 2 version >= 2.6.5 or python 3 version >= 3.3 installed

    python --version

    if not - install it choosing appropriate binary from here

  2. check if you have pip python package manager install

    pip --version

    if not - install it following instructions from here. Basically, you need to download this script and save it on your computer then run


3. ansible

  1. follow this guide to install ansible. For example, you can use pip to do it:

    sudo pip install ansible
  2. use pip to install the following packages:

    sudo pip install boto
    sudo pip install boto3

4. SSH keys

  1. check if you already have a keypair:

    ls -la ~/.ssh

    if you get error that directory does not exist or the directory is empty, you need to follow the instructions below. If you already have key pair, you can skip this section.

  2. generate ssh key-pair

    ssh-keygen -t rsa -b 4096 -C ""

    insert your email address there and a strong password. By default, keys will be saved to ~/.ssh/ and named id_rsa with your public key being ~/.ssh/

5. aws cli

  1. check if you have aws cli installed

    aws --version

    if not - install it following these instructions. The simplest way is to use pip:

    pip install awscli --upgrade --user

    Mac systems with homebrew installed:

    brew install awscli

Continue to Configuring AWS

Last updated