TL;DR
-
Get first Raspberry Pi configured, connected and submitting in 10 minutes
-
Second device in under 5 minutes
-
Changes in around 3 minutes
-
Remote management and control of all devices
-
Solution designed for 1 or many, many Raspberry Devices
-
Intended to solve my need to have Raspberry Pi’s in various countries without regular physical access
-
Only requirement - ssh public key, git client, web browser and the hardware
-
Ease of setup - low
Background
About a year an half ago I wrote a post http://discussions.flightaware.com/ads-b-flight-tracking-f21/raspberry-pi-docker-from-blank-sd-to-feeding-in-15-mins-t36459.html - Raspberry
Pi + Docker = Feed setup in under an hour.
I decided to go this route because:
-
Docker was quick to share and setup.
-
Docker had become available on RPI.
-
Allow very quick, repeatable installs.
-
Main goal was to allow me to install many RPI’s in various locations.
It however had a few flaws:
-
It required some unix command line knowledge.
-
Images would have versions hard baked unless recreated.
-
Environment variables had to be hand written into docker-compose.yml file.
-
RPI’s still required manual intervention (i.e. to change something, I needed physical access - which is difficult for RPI’s I intended to install in other countries).
A couple of weeks ago I stumbled across Resin.io. It seemed to resolve many of my issues.
I am very happy with the results and thought I would share my project with everyone else.
Resin.io has allowed me to:
-
Deploy first device in under 20 minutes.
-
Deploy subsequent devices in under 5 minutes.
-
Allow very quick, upgrades of software in around 2 minutes (on all devices).
-
Remote manage and control all devices (even if they are not inside my current network).
Installation information to follow…