Xebicon'18 - IoT: From Edge to Cloud

XebiaFrance 636 views 46 slides Nov 30, 2018
Slide 1
Slide 1 of 46
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46

About This Presentation

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 ...


Slide Content

@Xebiconfr #Xebicon18@XebiaFr
Build the future
IoT: From Edge to Cloud

Sameh, Yassir, Diana

1

@Xebiconfr #Xebicon18@XebiaFr
Who are we ?
Sameh Ben Fredj
Data scientist


Yassir Sennoun
Data engineer


@SamehBenF
Diana Ortega
Developer


@dicaormu
2

@Xebiconfr #Xebicon18@XebiaFr
Démo: Smart Bar !
3
Bière reconnue et
commande passée
au cloud Bière servie
Commande de bière
via la camera du Pi

source: Google image

@Xebiconfr #Xebicon18@XebiaFr
IoT & Cloud: Let’s marry them !
4

@Xebiconfr #Xebicon18@XebiaFr
What’s IoT ?
5
source: Google image

@Xebiconfr #Xebicon18@XebiaFr
What’s IoT …. Today ?
6
source: Bignerdranch

@Xebiconfr #Xebicon18@XebiaFr
What’s IoT …. Today ?
Explosion of the number of
connected devices
7
source: RIS news

@Xebiconfr #Xebicon18@XebiaFr
Many IoT Challenges
●Security
●Privacy
●Interoperability
●Huge Data Volume
●Real time actionable insight
●Complex Event processing
●Standardization
8

@Xebiconfr #Xebicon18@XebiaFr
On premise
9
●Thousands of devices
●Up to millions of messages/day

On premise solution

IoT industrialization
source: euroregionenews.eu

@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

@Xebiconfr #Xebicon18@XebiaFr
Architecture of IoT & Cloud system
11

@Xebiconfr #Xebicon18@XebiaFr
System Overview
12

@Xebiconfr #Xebicon18@XebiaFr
System Overview
13
Visualization

@Xebiconfr #Xebicon18@XebiaFr
Edge
Local data processing
14

@Xebiconfr #Xebicon18@XebiaFr
System Overview: Edge
15

@Xebiconfr #Xebicon18@XebiaFr
Cloud System
16
source: blog.octo.com

@Xebiconfr #Xebicon18@XebiaFr
Edge Computing
17
source: blog.octo.com

@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

@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

@Xebiconfr #Xebicon18@XebiaFr
Use case: Amazon GreenGrass
20
Picamera + Raspberry Pi
GreenGrass Groupe
Connected devices
Cloud:
IoT Core
MQTT

@Xebiconfr #Xebicon18@XebiaFr
GreenGrass Group
21

@Xebiconfr #Xebicon18@XebiaFr
Amazon GreenGrass Features
22
source: Amazon

@Xebiconfr #Xebicon18@XebiaFr
ML Inference On Edge
23
source: Amazon

@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

@Xebiconfr #Xebicon18@XebiaFr
Protocols
Data transmission
25

@Xebiconfr #Xebicon18@XebiaFr
Architecture of an IoT system : Connect to Internet
26

@Xebiconfr #Xebicon18@XebiaFr
Communication protocols
27
Alternative

@Xebiconfr #Xebicon18@XebiaFr
Architecture of an IoT system : Communicate with a remote application
28

@Xebiconfr #Xebicon18@XebiaFr
Application protocols
29
Alternative

@Xebiconfr #Xebicon18@XebiaFr
Cloud
Centralizing devices
30

@Xebiconfr #Xebicon18@XebiaFr
Architecture of an IoT system : Cloud
31

@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

@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

@Xebiconfr #Xebicon18@XebiaFr
IoT Registry: AWS
34

@Xebiconfr #Xebicon18@XebiaFr
Management
●Secure communication
●Authentication of devices
●Data transfer
●Architecture variable
●Digital Twins

35

@Xebiconfr #Xebicon18@XebiaFr
Demo time 2: closing the bar
36
Close the Bar

@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"
}
}

@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"
}
}

@Xebiconfr #Xebicon18@XebiaFr
Analysis
●Support BigData Frameworks
●Triggered by events
●Allows device data analysis

39

@Xebiconfr #Xebicon18@XebiaFr
Triggering actions: Serverless
Events
Managed
Services
To perform specific
task
Response to
something in the
cloud
Pay per use
40

@Xebiconfr #Xebicon18@XebiaFr
Triggering events
41

@Xebiconfr #Xebicon18@XebiaFr
Smart bartender With AZURE

42

@Xebiconfr #Xebicon18@XebiaFr
AWS vs Azure : Comparison of services
43
IoT Edge IoT Hub
DocumentDB
Functions
Api management
AWS
Azure

@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

@Xebiconfr #Xebicon18@XebiaFr
User Feedbacks
45
Aws Azure
Deployment
Documentation
Debugging
Development

@Xebiconfr #Xebicon18@XebiaFr 46
Thank you
Github repository: https://github.com/xebia-france/smart-bartender