These are chat archives for agherzan/meta-raspberrypi

12th
May 2016
crosofg
@crosofg
May 12 2016 16:33
@crosofg
hey Do you know any way to remotely ssh into my raspberry fomr internet ?
lets say I have deployed couple of raspberry and I want to change some code/remove files watch file size and ll
how can this be done?
Andrei Gherzan
@agherzan
May 12 2016 16:37
@crosofg That seems exactly what resin.io is for.
Using this infrastructure you will be able to push updates to your application without any issues from anywhere in the world
Khem Raj
@kraj
May 12 2016 18:27
resin.io is interesting
Andrei Gherzan
@agherzan
May 12 2016 19:25
@kraj It is indeed.
Khem Raj
@kraj
May 12 2016 19:25
so tell me what all can it do
Can I replace an existing f/w update mechanism from headend to premise devices
if yes what protocols does it use
and what do I need infra wise
and how many devices can it handle
Andrei Gherzan
@agherzan
May 12 2016 19:28
OK. So this is how it works. Basically it uses docker and containers
you have a private git endpoint where you push your code
in that repository you have a dockerfile based on which the git hook triggers the builders and compiles a new container.
On the devices there is an agent which is notified about this new container, and triggers the pull of it. Stops the running container and runs the new one
and in this way you can update any number of devices with your new application
for now everything is opensource but the server side (which is planed to be released open source too)
And there are tons of features on top:
  1. see the map of your devices
  2. me able to inject env variables per device and per app making the apps running differently based on them
  3. web teminal
  4. restart app. restart device remotely
  5. see live logs per each device
  6. get notifications based on events
  7. share devices with other collaborators
    etc
This message was deleted
This message was deleted
@kraj ^
Andrei Gherzan
@agherzan
May 12 2016 19:47
You would definitely get more info on https://gitter.im/resin-io/chat