Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Xebicon'18 - IoT: From Edge to Cloud

137 views

Published on

Aujourd'hui accessibles partout, les objets connectés suscitent de plus en plus d’intérêt. Malgré cela, l’implémentation d’un projet IoT peut s’avérer compliquée au vu la diversité des dispositifs, protocoles et frameworks. Le nombre d'alternatives qui se présentent à nous est énorme.
En partant de l'embarqué, avec les protocoles applicatifs, jusqu'au déploiement d'une solution sur le cloud, en passant par la délégation des traitements en local via l'IoT Edge, nous rentrerons dans le détail de l'implémentation d'une solution IoT de bout en bout, le tout en comparant deux solutions : AWS et Azure.

Par Diana Ortega, Développeuse Back-End, Yassir Sennoun et Sameh Ben Fredj Data Scientist et IoT, consultants chez Xebia

Toutes les informations et vidéos sur xebicon.fr

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Xebicon'18 - IoT: From Edge to Cloud

  1. 1. @Xebiconfr #Xebicon18 @XebiaFr Build the future IoT: From Edge to Cloud Sameh, Yassir, Diana 1
  2. 2. @Xebiconfr #Xebicon18 @XebiaFr Who are we ? Sameh Ben Fredj Data scientist Yassir Sennoun Data engineer @SamehBenF Diana Ortega Developer @dicaormu 2
  3. 3. @Xebiconfr #Xebicon18 @XebiaFr Démo: Smart Bar ! 3 Bière reconnue et commande passée au cloudBière servie Commande de bière via la camera du Pi source: Google image
  4. 4. @Xebiconfr #Xebicon18 @XebiaFr IoT & Cloud: Let’s marry them ! 4
  5. 5. @Xebiconfr #Xebicon18 @XebiaFr What’s IoT ? 5 source: Google image
  6. 6. @Xebiconfr #Xebicon18 @XebiaFr What’s IoT …. Today ? 6 source: Bignerdranch
  7. 7. @Xebiconfr #Xebicon18 @XebiaFr What’s IoT …. Today ? Explosion of the number of connected devices 7 source: RIS news
  8. 8. @Xebiconfr #Xebicon18 @XebiaFr Many IoT Challenges ● Security ● Privacy ● Interoperability ● Huge Data Volume ● Real time actionable insight ● Complex Event processing ● Standardization 8
  9. 9. @Xebiconfr #Xebicon18 @XebiaFr On premise 9 ● Thousands of devices ● Up to millions of messages/day On premise solution IoT industrialization source: euroregionenews.eu
  10. 10. @Xebiconfr #Xebicon18 @XebiaFr Cloud ● Manage thousands of devices ● High computation and storage capacities ○ Millions of messages/day ● Deploy services in few minutes ● Scale in few minutes ● Secure from edge to cloud 10
  11. 11. @Xebiconfr #Xebicon18 @XebiaFr Architecture of IoT & Cloud system 11
  12. 12. @Xebiconfr #Xebicon18 @XebiaFr System Overview 12
  13. 13. @Xebiconfr #Xebicon18 @XebiaFr System Overview 13 Visualization
  14. 14. @Xebiconfr #Xebicon18 @XebiaFr Edge Local data processing 14
  15. 15. @Xebiconfr #Xebicon18 @XebiaFr System Overview: Edge 15
  16. 16. @Xebiconfr #Xebicon18 @XebiaFr Cloud System 16 source: blog.octo.com
  17. 17. @Xebiconfr #Xebicon18 @XebiaFr Edge Computing 17 source: blog.octo.com
  18. 18. @Xebiconfr #Xebicon18 @XebiaFr Edge Computing: Definition 18 “Edge computing is a method of optimizing cloud computing systems by performing data processing at the edge of the network, near the source of the data” source: Hackernoon
  19. 19. @Xebiconfr #Xebicon18 @XebiaFr Benefits of edge computing 19 ● Decentralized processing ● Reliability ● Processing close to data source ● Select data and insights flow to the cloud ● Low latency ● Privacy and data protection ● Authentification
  20. 20. @Xebiconfr #Xebicon18 @XebiaFr Use case: Amazon GreenGrass 20 Picamera + Raspberry Pi GreenGrass Groupe Connected devices Cloud: IoT Core MQTT
  21. 21. @Xebiconfr #Xebicon18 @XebiaFr GreenGrass Group 21
  22. 22. @Xebiconfr #Xebicon18 @XebiaFr Amazon GreenGrass Features 22 source: Amazon
  23. 23. @Xebiconfr #Xebicon18 @XebiaFr ML Inference On Edge 23 source: Amazon
  24. 24. @Xebiconfr #Xebicon18 @XebiaFr ML Inference On Edge 24 beer bottle: 0.88 soda bottle: 0.64 ● Deep Neural Network: Squeezenet ‘like’ ● Platform for NN: MXNet ● Model stocké sur S3
  25. 25. @Xebiconfr #Xebicon18 @XebiaFr Protocols Data transmission 25
  26. 26. @Xebiconfr #Xebicon18 @XebiaFr Architecture of an IoT system : Connect to Internet 26
  27. 27. @Xebiconfr #Xebicon18 @XebiaFr Communication protocols 27 Alternative
  28. 28. @Xebiconfr #Xebicon18 @XebiaFr Architecture of an IoT system : Communicate with a remote application 28
  29. 29. @Xebiconfr #Xebicon18 @XebiaFr Application protocols 29 Alternative
  30. 30. @Xebiconfr #Xebicon18 @XebiaFr Cloud Centralizing devices 30
  31. 31. @Xebiconfr #Xebicon18 @XebiaFr Architecture of an IoT system : Cloud 31
  32. 32. @Xebiconfr #Xebicon18 @XebiaFr What do I want from my IoT Platform ? My IoT platform should facilitate the industrialization of my hub by allowing: 32 Registry Management Analysis
  33. 33. @Xebiconfr #Xebicon18 @XebiaFr Registry ● List of devices of my Hub ● Each device is identified in a unique way ● Device information may have metadata ● Indexation possible 33
  34. 34. @Xebiconfr #Xebicon18 @XebiaFr IoT Registry: AWS 34
  35. 35. @Xebiconfr #Xebicon18 @XebiaFr Management ● Secure communication ● Authentication of devices ● Data transfer ● Architecture variable ● Digital Twins 35
  36. 36. @Xebiconfr #Xebicon18 @XebiaFr Demo time 2: closing the bar 36 Close the Bar
  37. 37. @Xebiconfr #Xebicon18 @XebiaFr Real Twin Desired {"desired": { "barStatus": "CLOSED" }, "delta": { "barStatus": "CLOSED" } } ? {"desired": { "barStatus": "OPEN" }, "reported": { "barStatus": "OPEN" } } How does digital twin work ? 37 {"desired": { "barStatus": "OPEN" }, "reported": { "barStatus": "OPEN" } }
  38. 38. @Xebiconfr #Xebicon18 @XebiaFr Real Twin Desired ? Reported {"desired": { "barStatus": "CLOSED" }, "reported": { "barStatus": "CLOSED" How does digital twin work ? 38 {"desired": { "barStatus": "CLOSED" }, "reported": { "barStatus": "CLOSED" } }
  39. 39. @Xebiconfr #Xebicon18 @XebiaFr Analysis ● Support BigData Frameworks ● Triggered by events ● Allows device data analysis 39
  40. 40. @Xebiconfr #Xebicon18 @XebiaFr Triggering actions: Serverless EventsManaged Services To perform specific task Response to something in the cloud Pay per use 40
  41. 41. @Xebiconfr #Xebicon18 @XebiaFr Triggering events 41
  42. 42. @Xebiconfr #Xebicon18 @XebiaFr Smart bartender With AZURE 42
  43. 43. @Xebiconfr #Xebicon18 @XebiaFr AWS vs Azure : Comparison of services 43 IoT Edge IoT Hub DocumentDB Functions Api management AWS Azure
  44. 44. @Xebiconfr #Xebicon18 @XebiaFr AWS vs Azure : ReX 44 FEATURE AWS AZURE Security TLS, X.509 Certificates TLS, Symetric key, X.509 Certificates Edge GreenGrass Edge Protocol MQTT,HTTP MQTT, HTTP, Amqp, Protocol Gateway Registry IoT Core IoT Hub Digital Twins IoT Shadow Digital Twins Serverless Lambda Functions Azure Functions
  45. 45. @Xebiconfr #Xebicon18 @XebiaFr User Feedbacks 45 Aws Azure Deployment Documentation Debugging Development
  46. 46. @Xebiconfr #Xebicon18 @XebiaFr 46 Thank you Github repository: https://github.com/xebia-france/smart-bartender

×