Closed rxmxn closed 4 years ago
Ansible: https://datahovel.com/2016/03/20/how-to-setup-the-raspberry-pi-using-ansible/
Setup docker with ansible: https://www.digitalocean.com/community/tutorials/how-to-use-ansible-to-install-and-set-up-docker-on-ubuntu-18-04
Install Docker on raspi: https://linuxhint.com/install_docker_raspberry_pi/
another guide that can be checked out: http://www.hietala.org/automating-raspberry-pi-setup-with-ansible.html
Installing Raspi over the network article (read the comments for warnings about ssh being disabled by default in the image): https://weberblog.net/reinstall-your-raspberry-over-the-network/
Using Packer and Ansible: https://rollout.io/blog/packer-ansible/
Create and manage images with Packer: https://docs.joyent.com/public-cloud/api/hashicorp/packer
Just interesting read: https://blog.qtum.org/qtum-on-raspberry-pi-4b-ff8ef9068194
Set up a headless raspi: https://www.tomshardware.com/reviews/raspberry-pi-headless-setup-how-to,6028.html
Final Decision: Ubuntu Core. Ubuntu Core is like bare bones Ubuntu with security at its core, so there are less things we need to worry when having our Crypto Accounts connected to the Internet. It's made with snaps and we can create the image with the features we need.
Documentation to follow: https://core.docs.ubuntu.com/en/guides/intro/store
To create a snap of the python app: https://snapcraft.io/docs/python-apps A huge advantage is that you can link the snap with the github repo, so when something is merged to master the snap is automatically updated, so kind of a built-in CI/CD.
To install the image I create for Ubuntu Core: https://ubuntu.com/tutorials/how-to-install-ubuntu-core-on-raspberry-pi#2-prepare-the-sd-card
Jumping to Ubuntu Server for Raspberry Pi to have something running asap
Created issue #15 to continue the automation in the future.
We want to have the Raspi running the system at all times. We need to research if there's a good way to deploy the OS to Raspi itself in a way that it's a cow and not a pet. We should at least be able to get the OS running, and have Docker and Python3 already installed.
Check Ansible, Chef, Terraform to manage infrastructure.