/btc-lightning-docker-ansible-aws

Automatically provision a Lightning Network Node Docker container on Amazon AWS using Ansible!

Dockerized Lightning Network Bitcoin Node using Ansible to provision on Amazon AWS

Dependencies

  • sudo -H pip install pyyaml --upgrade
  • sudo -H pip install boto3 --upgrade
  • sudo -H pip install ansible

Commands

Lightning Node

  • ansible-playbook -i inventory/hosts playbooks/start-node.yml

  • ansible-playbook -i inventory/lightning playbooks/prepare-node.yml

  • ansible-playbook -i inventory/lightning playbooks/deploy-bitcoin-daemon.yml

  • ssh -i ~/.ssh/<YOUR_KEYPAIR_NAME>.pem ubuntu@ec2-<YOUR_EC2_IP>..compute.amazonaws.com

  • ansible-playbook -i inventory/lightning playbooks/terminate-node.yml

Misc

  • ansible -i inventory all -m ping
  • atom ~/.ssh/known_hosts
  • docker logs lightning_bitcoind_1 --tail "10"

Resources

Other

For any questions or to report a bug, please open an issue.