Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Provision, Manage & Monitor Gateways in Production with Resin.io

Tim Perry
February 01, 2018

Provision, Manage & Monitor Gateways in Production with Resin.io

Tim Perry

February 01, 2018
Tweet

More Decks by Tim Perry

Other Decks in Technology

Transcript

  1. Provision, Manage & Monitor
    Gateways in Production with Resin.io
    @pimterry

    View full-size slide

  2. Going
    to Production
    @pimterry

    View full-size slide

  3. Build
    for failure
    @pimterry

    View full-size slide

  4. Build
    for change
    @pimterry

    View full-size slide

  5. Provision
    Manage
    Monitor
    your fleet of devices
    @pimterry

    View full-size slide

  6. Provisioning
    your devices
    @pimterry

    View full-size slide

  7. How do you quickly put
    devices into production?
    How do you reliably
    replace failing devices?
    @pimterry

    View full-size slide

  8. Avoid manual work
    Control variability
    @pimterry

    View full-size slide

  9. Self-Registering
    Images
    @pimterry

    View full-size slide

  10. Image (Re)configuration
    on the CLI
    @pimterry

    View full-size slide

  11. So, you’ve got a
    fleet of devices
    in the wild...
    @pimterry

    View full-size slide

  12. Managing
    your devices
    @pimterry

    View full-size slide

  13. How do you update
    deployed applications?
    How do you debug
    failures in the field?
    @pimterry

    View full-size slide

  14. git push resin
    @pimterry

    View full-size slide

  15. The Resin.io Dashboard
    @pimterry

    View full-size slide

  16. So, you’ve got a
    manageable fleet happily
    running somewhere...
    @pimterry

    View full-size slide

  17. Are you sure?
    @pimterry

    View full-size slide

  18. Monitoring
    your devices
    @pimterry

    View full-size slide

  19. How do you spot
    symptoms before failure?
    How do you spot
    failures quickly?
    @pimterry

    View full-size slide

  20. @pimterry
    Devices running
    Prometheus
    Node Exporter
    Monitoring Server
    Grafana
    Prometheus
    Server
    Resin
    VPN
    Resin
    API
    Example monitoring architecture
    https://resin.io/blog/prometheusv2/
    Prometheus
    AlertManager

    View full-size slide

  21. Build
    for failure
    @pimterry

    View full-size slide

  22. Build
    for change
    @pimterry

    View full-size slide

  23. Provision, Manage & Monitor
    Gateways in Production with Resin.io
    @pimterry

    View full-size slide