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

IoT: Docker and Raspberry Pi for CamJam

Apr 16, 2017

Download

Technology

Alex Ellis
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: IoT: Docker and Raspberry Pi for CamJam

Securing the datacenter with IoT

Alex EllisDocker Captain Principal Developer @ ADP

Page 2: IoT: Docker and Raspberry Pi for CamJam

Economist’s perspective

Realsustainablegrowthdoesnotstemfromnewresources,butfromexistingonesrearrangedtomakethemmorevaluable.-PaulRomer,Economist@NYUniversity

Page 3: IoT: Docker and Raspberry Pi for CamJam

Introduction IoT all the things Achievement unlocked Building the hack

Agenda

Live Demo Real-time alerts Supported by Pimoroni

Feedback Q&A Github repo

Page 4: IoT: Docker and Raspberry Pi for CamJam

IoT all the things

Page 5: IoT: Docker and Raspberry Pi for CamJam

2900+contributors32K+GitHubstars

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

Page 6: IoT: Docker and Raspberry Pi for CamJam

IdeasforCamJam

Learncoding

Shareprojectswithfriends

Buildatutorial

Runthroughatutorial

Savetimeforworkshops

Buildasuper-computer!

Page 7: IoT: Docker and Raspberry Pi for CamJam

Achievement unlocked

Page 8: IoT: Docker and Raspberry Pi for CamJam

Cool Hacks Contest

Page 9: IoT: Docker and Raspberry Pi for CamJam

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

Page 10: IoT: Docker and Raspberry Pi for CamJam

Attempt #1

Page 11: IoT: Docker and Raspberry Pi for CamJam

@solomonstre

Page 12: IoT: Docker and Raspberry Pi for CamJam
Page 13: IoT: Docker and Raspberry Pi for CamJam
Page 14: IoT: Docker and Raspberry Pi for CamJam

Custom hardware from PimoroniBuilding a new hack

Page 15: IoT: Docker and Raspberry Pi for CamJam

SoftwareBuilding a new hack

Page 16: IoT: Docker and Raspberry Pi for CamJam

LedDashboard WebDashboardSensor

SwarmNetworkOverlay

Manager

$ docker-compose up

Page 17: IoT: Docker and Raspberry Pi for CamJam

Sensor

LedDashboard WebDashboardSensorSensorSensorSensor

SwarmNetworkOverlay

Manager

$ docker-compose scale sensor=4

Page 18: IoT: Docker and Raspberry Pi for CamJam

KVPs and pub/sub enviro-pHAT Sensor

e6ca8139.temp

e6ca8139.temp.baseline

e6ca8139.live

e6ca8139.motion

sensors.data

SETec6ca.temp“20.5”EX2

Page 19: IoT: Docker and Raspberry Pi for CamJam

Demo

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

Page 20: IoT: Docker and Raspberry Pi for CamJam

Dockercon was great!

Page 21: IoT: Docker and Raspberry Pi for CamJam

Kept learning

Page 22: IoT: Docker and Raspberry Pi for CamJam

Kept hacking

Page 23: IoT: Docker and Raspberry Pi for CamJam

Kept on sharing

Page 25: IoT: Docker and Raspberry Pi for CamJam

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

— Eben Upton, CEO

Raspberry Pi Trading

10MunitssoldbySept‘16

Page 26: IoT: Docker and Raspberry Pi for CamJam

Thank you! @alexellisuk