Skip to content

prepareing the automation to deploy origin-trail node on Digitalocean VMs by Terraform and Ansible.

Notifications You must be signed in to change notification settings

aggholamyy/origin-trail-assessment

Repository files navigation

Prepare OriginTrail nodes on Digitalocean

  1. Install ansible requirements

     ansible-galaxy install -r requierment.yml
  2. Run Terraform command by Make file

    make terraform cmd=init
    make terraform cmd=plan
    make terraform cmd=apply
  3. Update the inventory.ini file in ansible directory by output of terraform command.

  4. Run install-docker command by Make file

    make install-docker
  5. Run create-certificate command by Make file to Create certificates

    make create-certificate
  6. Run scp-cers-confs-to-nodes command by Make file to copy config files and certs to destination hosts

    make scp-cers-confs-to-nodes
  7. Run run-nodes command by Make file to create the container and prepare the node

    make run-nodes

Further work around

1. preparing monitoring for nodes.
2. writing exporter for node to check health of the node and compare its’ status by other nodes in the cluster and outside nodes.
3. creating dynamic inventory for ansible. 

About

prepareing the automation to deploy origin-trail node on Digitalocean VMs by Terraform and Ansible.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published