ubucon 2016: internet of self updated things
TRANSCRIPT
![Page 2: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/2.jpg)
Internet of Updated ThingsFidel Castro extended remix edition
Thibaut [email protected]@canonical.com
![Page 3: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/3.jpg)
![Page 4: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/4.jpg)
![Page 5: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/5.jpg)
![Page 6: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/6.jpg)
![Page 7: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/7.jpg)
![Page 8: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/8.jpg)
![Page 9: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/9.jpg)
![Page 10: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/10.jpg)
![Page 11: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/11.jpg)
![Page 12: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/12.jpg)
![Page 13: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/13.jpg)
![Page 14: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/14.jpg)
IoT
![Page 15: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/15.jpg)
![Page 16: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/16.jpg)
![Page 17: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/17.jpg)
![Page 18: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/18.jpg)
![Page 19: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/19.jpg)
![Page 20: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/20.jpg)
![Page 21: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/21.jpg)
IoT
![Page 22: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/22.jpg)
Internet of Things?
![Page 23: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/23.jpg)
Invasion of Things?
![Page 24: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/24.jpg)
Intelligence of Things?
![Page 25: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/25.jpg)
Internet of things
4K = 18.8GB/hour
![Page 26: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/26.jpg)
Invasion of things
![Page 27: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/27.jpg)
Intelligence of things
4K = 18.8GB/hour Thibaut entered the frontdoor at 18:05.
![Page 28: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/28.jpg)
cloud to edge
![Page 29: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/29.jpg)
Ubuntu is the #1 Linux for development
Source: Eclipse Foundation + StackOverflow survey
Mint Fedora Debian Other Ubuntu
2% 2%3%
6%
17%
![Page 30: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/30.jpg)
Smart drone controllers
Advanced robotics
Home gateways Industrial gateways
Smart drone controllers
Advanced robotics
Home gateways Edge gateways Digital Signage
Digital Signage
Ubuntu is powering smart IoT
![Page 31: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/31.jpg)
![Page 32: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/32.jpg)
Spot the difference!
![Page 33: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/33.jpg)
![Page 34: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/34.jpg)
![Page 35: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/35.jpg)
50M
100M
Microsoft Office 2013
WIndows XP
WIndows 7
Symbian
Large Hadron Collider
Microsoft Vista
Microsoft Visual Studio
US Army Combat System
Debian
Mac OS X Tiger
Car software
Mouse
http://www.informationisbeautiful.net/visualizations/million-lines-of-code/
![Page 36: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/36.jpg)
Hackers remotely kill a jeep on the highway – with me in it.Andy Greenberg
![Page 37: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/37.jpg)
![Page 38: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/38.jpg)
Safe updates and rollback
![Page 39: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/39.jpg)
Snap - a universal Linux package format
Supported distros Example snaps / frameworks
![Page 40: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/40.jpg)
Classic Linux Ubuntu Core
Kernel 4.4Kernel 4.4
Confined applications packaged as a snap with dependencies
Minimal OS packaged as snap
Clearly defined Kernel and device packaged as snap
OS packageApplication B Shared library Device driverApplication A
Legend:
![Page 41: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/41.jpg)
Transactional upgrade: Apps, OS and kernel
Original dataWritable area
Original snapUpgrade
Modified dataduring upgrade
Writable area
Updated snap
Original dataWritable area
Original data is kept on device
Original snap
Original dataWritable area
Original snap
Rollback on failure
![Page 42: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/42.jpg)
Spot the difference!
![Page 43: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/43.jpg)
![Page 44: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/44.jpg)
![Page 45: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/45.jpg)
def setHeatingSetpoint(temp) {log.debug "Executing 'setHeatingSetpoint'"parent.setHeatingSetpoint(this, temp)
}def setCoolingSetpoint(temp) {
log.debug "Executing 'setCoolingSetpoint'"parent.setCoolingSetpoint(this, temp)
}def off() {
log.debug "Executing 'off'"parent.off(this)
}def heat() {
log.debug "Executing 'heat'"parent.heat(this)
}def emergencyHeat() {
log.debug "Executing 'emergencyHeat'"parent.emergencyHeat(this)
}
def cool() {log.debug "Executing 'cool'"parent.cool(this)
}def fanOn() {
log.debug "Executing 'fanOn'"parent.fanOn(this)
}def fanAuto() {
log.debug "Executing 'fanAuto'"parent.fanAuto(this)
}def fanCirculate() {
log.debug "Executing 'fanCirculate'"parent.fanCirculate(this)
}def away() {
log.debug "Executing 'away'"parent.away(this)
}def present() {
log.debug "Executing 'present'"parent.present(this)
}
![Page 46: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/46.jpg)
![Page 47: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/47.jpg)
![Page 48: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/48.jpg)
Secure App Containment
Safe updates and rollback
![Page 49: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/49.jpg)
Snap - a universal Linux package format
Supported distros Example snaps / frameworks
![Page 50: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/50.jpg)
Classic Linux Ubuntu Core
Kernel 4.4Kernel 4.4
Confined applications packaged as a snap with dependencies
Minimal OS packaged as snap
Clearly defined Kernel and device packaged as snap
OS packageApplication B Shared library Device driverApplication A
Legend:
![Page 51: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/51.jpg)
An appstore for new software revenue
![Page 52: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/52.jpg)
Spot the difference!
![Page 53: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/53.jpg)
![Page 54: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/54.jpg)
![Page 55: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/55.jpg)
http://www.macrumors.com/2015/07/21/apple-q3-2015-earnings/
![Page 56: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/56.jpg)
Other OS’s Approach
● You Make a Device● You Build a Brand● They get the App Revenue
![Page 57: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/57.jpg)
App Store as a Service
● You Make a Device & Build a Brand● We Bring Developers, Tools, Security,
Manageability, Innovation & Fun● You Run Your Own App Store
![Page 58: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/58.jpg)
An appstore for new software revenue
![Page 59: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/59.jpg)
![Page 60: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/60.jpg)
How are your things generating revenues?
![Page 61: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/61.jpg)
App-Enabling Smart Devices
Home & SME networking Mobile Base Stations Drones
3D Printers
Enterprise networking
![Page 62: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/62.jpg)
Secure App Containment
Safe updates and rollback
#SnappyUbuntuCore
App Stores as a Service
![Page 63: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/63.jpg)
Secure App Containment
Safe updates and rollback
#SnappyUbuntuCore
Snapcraft = devops for IoT
App Stores as a Service
Perfect for the smartest IoT
![Page 64: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/64.jpg)
Streamlined developer experience with CI/CDBuild from source/debs
Language agnostic
Pre-built parts
Integrate with CI/CD
Free or paid apps
Beta deployments
Large scale deployments
Build and package with Snapcraft
Distribute with Store
From source:GithubLaunchpad
Programming language independent
Pre-built parts
Integrate with CI / CD
...
![Page 65: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/65.jpg)
Let’s talk drones and robots!
![Page 66: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/66.jpg)
#HAL9000good OR #HAL9000bad #C3POgood OR #C3PObad
![Page 67: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/67.jpg)
Ubuntu has roboticist mindshare
80% of robots at DARPA Robotics Challenge were estimated to run ROS (Robot Operating System) on Ubuntu.
![Page 69: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/69.jpg)
![Page 70: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/70.jpg)
http://erlerobotics.com/
![Page 71: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/71.jpg)
![Page 72: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/72.jpg)
Let’s talk here and now!
![Page 73: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/73.jpg)
NextCloud
Fast time to market
Simple to use and install
Single codeline
1
2
3
![Page 74: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/74.jpg)
Screenly
Simple to install
Simple to maintain
Appstore potential
1
2
3
![Page 75: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/75.jpg)
Dell Edge Gateway
Industrial security
Run multiple snaps on the same gateway
Large developer ecosystem
1
2
3
![Page 76: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/76.jpg)
We need you!
![Page 77: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/77.jpg)
Build your IoT device
Raspberry Pi 2
Samsung ARTIK
Qualcomm DragonBoard
Intel NUC
Intel Joule Raspberry Pi 3
Find out more at:https://developer.ubuntu.com/
![Page 78: Ubucon 2016: Internet of self updated things](https://reader031.vdocument.in/reader031/viewer/2022030216/5888fa781a28abcf5f8b54c9/html5/thumbnails/78.jpg)
One thing to try
$ sudo snap install snap-codelabs