IoT: Docker and Raspberry Pi for CamJam

26
Securing the datacenter with IoT Alex Ellis Docker Captain Principal Developer @ ADP

Transcript of IoT: Docker and Raspberry Pi for CamJam

Securing the datacenter with IoT

Alex EllisDocker Captain Principal Developer @ ADP

Economist’s perspective

Realsustainablegrowthdoesnotstemfromnewresources,butfromexistingonesrearrangedtomakethemmorevaluable.-PaulRomer,Economist@NYUniversity

Introduction IoT all the things Achievement unlocked Building the hack

Agenda

Live Demo Real-time alerts Supported by Pimoroni

Feedback Q&A Github repo

IoT all the things

2900+contributors32K+GitHubstars

4B+Docker Downloads 450K+apps240Meetups• 70countries• 95Kmembers

IdeasforCamJam

Learncoding

Shareprojectswithfriends

Buildatutorial

Runthroughatutorial

Savetimeforworkshops

Buildasuper-computer!

Achievement unlocked

Cool Hacks Contest

Putting the Micro in Microservices

Pi Zero 5 USD micro-computer • 1GHz processor • 512MB RAM

Building the hack

Pi 2/3 4-5x cost • 4x 1.2GHz processor • 1GB RAM

Attempt #1

@solomonstre

Custom hardware from PimoroniBuilding a new hack

SoftwareBuilding a new hack

LedDashboard WebDashboardSensor

SwarmNetworkOverlay

Manager

$ docker-compose up

Sensor

LedDashboard WebDashboardSensorSensorSensorSensor

SwarmNetworkOverlay

Manager

$ docker-compose scale sensor=4

KVPs and pub/sub enviro-pHAT Sensor

e6ca8139.temp

e6ca8139.temp.baseline

e6ca8139.live

e6ca8139.motion

sensors.data

SETec6ca.temp“20.5”EX2

Demo

$ docker info $ docker-compose up -d Creating services... $ docker-compose \ scale sensor=4 Creating sensor_2.. Creating sensor_3.. Creating sensor_4..

Dockercon was great!

Kept learning

Kept hacking

Kept on sharing

“We only expected to sell a few thousand Raspberry Pis”

— Eben Upton, CEO

Raspberry Pi Trading

10MunitssoldbySept‘16

Thank you! @alexellisuk