a fully integrated solution to update your iot devices · 2019-08-15 · witekio france 14, rue...
TRANSCRIPT
![Page 1: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/1.jpg)
A Fully Integrated Solution to Update Your IoT Devices
![Page 2: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/2.jpg)
![Page 3: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/3.jpg)
3
Why FullMetalUpdate?
Container runtime
CloudCloud
June 22nd, 2015
![Page 4: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/4.jpg)
4
A couple of hours later - Containers
GPU
MQTT
Container
Application
Container
QT 5.8 NetworkNetwork
NetworkTouch Screen
![Page 5: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/5.jpg)
5
A couple of hours later - CGroups
Container 1 < 20% Process scheduler
Memory manager
Network interface
< 100MB
< 10Mb/s
Fine-grained control over allocating, prioritizing, denying and managing system resources
Control Groups
![Page 6: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/6.jpg)
6
A couple of hours later - Security
- Secomp limit access to system calls- Rootless containers- Mandatory Access Control Policy
![Page 7: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/7.jpg)
7
Early morningPower Failure: Delta updates are based on Overlayfs, AuFS, … which are not power failure resistant.Complexity: Docker comes with multiple layers to manage containers life cycles, updates, … which are not needed for embedded devices.
![Page 8: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/8.jpg)
8
Late morning…
Does it exist???
GitLibrsync
![Page 9: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/9.jpg)
9
What do we need?1. Runtime to run containers2. Build system to create containers3. Delta updates4. Backend to manage the different updates5. Client to download update6. Tool to manage containers life cycle
![Page 10: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/10.jpg)
10
Step 1 - Open Container Initiative
A Runtime Specification which outlines how to run a “filesystem bundle” that is unpacked on disk.
Multiple implementations:
RunC Clear Containers RailCar
![Page 11: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/11.jpg)
11
Step 2 -Create containers
Your Application
Minimum set of
dependencies to run your application
Configuration of your
container
Container
App – V1
- Need a replacement for dockerfiles- Should work for ARM, X86, … architectures- A tool to pull only needed dependencies- Build system itself in a Docker container
Optimize for your processor!
![Page 12: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/12.jpg)
12
Step 3 – OsTree for delta updatesUsed by:
- Git for binaries- Fully atomic updates- Only update delta- Used to update containers and the OS- Everything happens in the background
![Page 13: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/13.jpg)
13
Step 3 - Delta updates and containers
Local Server
OSTree serverDelta Updates
Build farm
OS – V1
Container
App – V1
Embedded system
OS – V1
Container
App – V1
OSTree clientDelta Updates
![Page 14: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/14.jpg)
14
Step 4 - Update server- Hawkbit as a backend and frontend- Fully integrated with the Yocto build system
![Page 15: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/15.jpg)
15
Step 4 - Cloud agnostic
Hawkbit
Maria DB Rabbit MQ
OsTree Server
- Easy to setup with Docker Compose
![Page 16: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/16.jpg)
16
Step 5 & 6 - Client- Based on Rauc Hawbit client - Integration with OsTree- SystemD to manage containers life cycles
![Page 17: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/17.jpg)
17
Overview
Cloud
![Page 18: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/18.jpg)
What’s available?
![Page 19: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/19.jpg)
19
fullmetalupdate-cloud-demoDocker containers started with docker-compose:- Start an Hawkbit server instance (with MariaDB)- Start an OsTree instance
![Page 20: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/20.jpg)
20
fullmetalupdate-yocto-demoDocker container to automate the build process:- Select the Machine and the Yocto version to Sync- Build the OS image: StartBuild.sh fullmetalupdate-os- Build the Containers: StartBuild.sh build-container container-
evcs- Start a bash shell: StartBuild.sh bash
![Page 21: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/21.jpg)
21
meta-fullmetalupdateIncludes everything which is not specific to a machine:- Container framework recipe- FullMetalUpdate Python client and dependencies- BB classes to push containers and OS images to
OsTree and Hawkbit
![Page 22: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/22.jpg)
22
meta-fullmetalupdate-extraIncludes everything which is specific to a machine- GPU stuff- Dynamic layers per machine- Containers recipes- Image creation scripts
![Page 23: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/23.jpg)
DEMO
![Page 24: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/24.jpg)
24
Tensorflow lite in a container- Add a new container to an IoT device- Run this container and realize an image classification task- Measure the performance of the classification model
![Page 25: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/25.jpg)
25
QT in a container
Update your QT application seamlessly
Add multiple languages Add credit card supportFirst version
![Page 26: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/26.jpg)
ROADMAP
![Page 27: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/27.jpg)
27
Roadmap
- Port to STM32MP1- Port to i.MX8- Final Integration with Skopeo- Integration with Container Network Interface- Port to Warrior and Sumo
![Page 28: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/28.jpg)
CONCLUSION
![Page 29: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/29.jpg)
29
FullMetalUpdate
- Available on GitHub:https://github.com/FullMetalUpdate
- Documentation:https://www.fullmetalupdate.io/docs/documentation/
- Do you want to contribute?https://www.fullmetalupdate.io/docs/contribute/
![Page 30: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/30.jpg)
30
Questions
![Page 31: A Fully Integrated Solution to Update Your IoT Devices · 2019-08-15 · Witekio France 14, rue Rhin et Danube 69009, Lyon France Phone : + 33 (0) 4 27 01 87 06 sales.emea@witekio.com](https://reader035.vdocument.in/reader035/viewer/2022070915/5fb606084af53a07d27a610d/html5/thumbnails/31.jpg)
Accountability & CommitmentCutting Edge expertise
Agility & Scalability Worldwide presenceLocal Teams
Global ActionsCompliance with customers teams
Thank you
Reliability
Witekio France
14, rue Rhin et Danube
69009, Lyon France
Phone : + 33 (0) 4 27 01 87 06
Witekio USA
3150 Richards Roads Suite 210
Bellevue, WA, 98005, USA
Phone : + 1 425-749- 4335
Witekio Germany
Am Wartfeld- 61169
Friedberg, Germany
Phone : + 49 6031 693 7070
Witekio UK
Hollywood Mansion, Hollywood
Lane, Bristol BS10 7TW, UK
Phone : + 44 (0) 117 379 0220
©2018 Witekio & Subsidiaries. All Rights Reserved. This document and the information it contains is confidential and remains the property of our company. It may not be copied or communicated to a third party or used for any purpose other than that for which it is supplied without the prior written
consent of our company.