SlideShare a Scribd company logo
1 of 18
Download to read offline
Edge Computing
using Google IoT
Volodymyr Rudyi
Plan
Let’s see what’s waiting for us
About me What is IoT? Some IoT Devices
Challenges
Q & ACoding TimeSome more questions
Few words about
me and why I’m
here
Let’s clarify some
stuff
Hardware!
Interesting topics
to discuss
Let’s create
something
awesome!
A quick way to
learn something
new
Day-to-day
problems when
working with IoT
About me
Working in IT for 8 years. Managing
AgileVision.io company for the last 3 years.

Worked on projects related to IoT
throughout the whole career, way before the
term became so popular. 

Fond of doing interesting PoC’s involving
both software and hardware. 

Helping clients with replacing boring and
error-prone work with automated software,
smart devices or both.

Few words about me and why I’m here
Volodymyr Rudyi
Managing Director @ AgileVision.io
https://www.linkedin.com/in/vrudyi/
What is IoT?
Let’s clarify some stuff
A network of computing devices which interact and can be 

controlled remotely.
Examples of IoT-enabled Devices
Hardware!
Amazon Alexa
Smart Home Appliance
AWS IoT Button
Industrial Automation
M5 Stack
ESP32 Prototyping Board
NRF52-DK
nRF52 Prototyping Board
…and many more, including cars, smart counters, 

healthcare equipment, fleet management equipment…
Challenges
The world is cruel
Energy Efficiency
Not all devices can be attached to a socket. How can we 

be sure the battery life is long enough to perform tasks?
Connectivity
How to connect thousand of devices that use different
protocols on all layers, starting from the physical layer?
Security
How to exchange data in a secure way? Can we trust other 

parties? How do we protect from impostors?
Economic Feasibility
Technological progress allows creating amazing things. The
only problem is… the price!
Why does “On Time” is more important than “Awesome”?
In some cases, the hot-dog test must work without any delays
• Successful engineers borrow ideas from nature!

• Some decisions must be taken immediately, without a risk of being delayed by data
transfer rates or network outages

• Single point of failure can be unacceptable for life support systems

• Batch processing of non mission-critical data is more cost-efficient than parallel
processing

• Specialized hardware can provide better results for specific tasks
What is “Edge Computing”?
Definitions for bleeding edge terms!
A distributed computing paradigm in which computations

are performed on distributed device nodes that are located closer

to the data.
Why does “smart enough” is not enough?
There is no limit for perfection
• The approach “Implement once use everywhere” doesn’t work anymore

• Luckily we can use the “Learn Continuously” approach

• Responding to change is the key requirement for modern software solutions

• We know nothing about upcoming changes
There is a cloud service for that!
Don’t let your competition to beat you because you had to reinvent the wheel
AWS GreenGrass Azure IoT Edge Google IoT Edge
Production-ready
service. Supports ML
inference, offline mode
and various execution
environments
Production-ready
service. Uses Moby
containers as an
execution environment
for functions.
Still in Alpha. Not much
public information
available.
What is Google IoT?
A closer look
“Google Cloud IoT is a complete set of tools to connect, process, 

store, and analyze data both at the edge and in the cloud.”
How it works?
A closer look
MQTT
Google IoT Core
VideoStream
Private key Public key
Public key
Disclaimer
Beware!
We are not building neural networks here. We are learning how to apply

them on edge devices ;)
Hands-on part: Object Detection
Let’s build our very own IoT-enabled, real-time, scalable plant(and some other stuff) detector
• Device connects to a VPU and uploads a
neural network model to it

• Device connects to the Google IoT

• Inference is happening on the device and
is being sent to the cloud

• Device monitoring is performed in the
cloud. Decisions can be made both on the
edge device(e.g. inform the user the plant
was detected) and in the cloud (analyze
anomalies, like objects appearing/
disappearing after being there for a while)
Hands-on part: Show me the CODE
Yep, that simple. Everything else is just data preparation/conversion/initialization.
# Routine code to initialize the device and load the model
device.OpenDevice()
ssd_mobilenet_graph = device.AllocateGraph(graph_data)
ssd_mobilenet_graph.LoadTensor(resized_image.astype(numpy.float16), None)
output = ssd_mobilenet_graph.GetResult()
# Routine code to free resources
ssd_mobilenet_graph.DeallocateGraph()
device.CloseDevice()
Hands-on part: Output
Let’s build our very own IoT-enabled, real-time, scalable plant(and some other stuff) detector
Summary
Continuous learning is the key
• Google IoT is rather easy to integrate with

• Security is achieved by using standard protocols

• Some of the usual services are not present in Google IoT, including video streaming and
video stream processing. Google offers third-party services hosted on GCP instead

• Google IoT Edge is still not publicly available and right now in the alpha program,
meaning it’s not possible to use it in the production

• Competitors, especially Amazon, provide wider range of services that are connected with
each other and require almost zero configuration
Questions and Answers
Good way to learn something new

More Related Content

What's hot

What's hot (20)

Edge Computing for the Industry
Edge Computing for the IndustryEdge Computing for the Industry
Edge Computing for the Industry
 
Edge computing
Edge computingEdge computing
Edge computing
 
presentation on Edge computing
presentation on Edge computingpresentation on Edge computing
presentation on Edge computing
 
The role of edge computing
The role of edge computingThe role of edge computing
The role of edge computing
 
Edge Computing M&A Analysis
Edge Computing M&A AnalysisEdge Computing M&A Analysis
Edge Computing M&A Analysis
 
Edge Computing and 5G - SDN/NFV London meetup
Edge Computing and 5G - SDN/NFV London meetupEdge Computing and 5G - SDN/NFV London meetup
Edge Computing and 5G - SDN/NFV London meetup
 
Edge and Fog computing, a use-case prespective
Edge and Fog computing, a use-case prespectiveEdge and Fog computing, a use-case prespective
Edge and Fog computing, a use-case prespective
 
Edge Computing and Cloud Computing
Edge Computing and Cloud ComputingEdge Computing and Cloud Computing
Edge Computing and Cloud Computing
 
EDGE COMPUTING
EDGE COMPUTINGEDGE COMPUTING
EDGE COMPUTING
 
Demystify Edge Computing Vs. Cloud Computing
Demystify Edge Computing Vs. Cloud ComputingDemystify Edge Computing Vs. Cloud Computing
Demystify Edge Computing Vs. Cloud Computing
 
Sharon’ Besser, Net Optics VP of Technology, Net Optics, discusses Lawful Int...
Sharon’ Besser, Net Optics VP of Technology, Net Optics, discusses Lawful Int...Sharon’ Besser, Net Optics VP of Technology, Net Optics, discusses Lawful Int...
Sharon’ Besser, Net Optics VP of Technology, Net Optics, discusses Lawful Int...
 
fog&Edge computing
fog&Edge computingfog&Edge computing
fog&Edge computing
 
What's next in edge computing?
What's next in edge computing?What's next in edge computing?
What's next in edge computing?
 
Edge Computing
Edge ComputingEdge Computing
Edge Computing
 
IoT Meets the Cloud: The Origins of Edge Computing
IoT Meets the Cloud:  The Origins of Edge ComputingIoT Meets the Cloud:  The Origins of Edge Computing
IoT Meets the Cloud: The Origins of Edge Computing
 
Edge Computing : future of IoT ?
Edge Computing : future of IoT ? Edge Computing : future of IoT ?
Edge Computing : future of IoT ?
 
How Edge Computing Works | What is Edge Computing | Edge Computing Benefits |...
How Edge Computing Works | What is Edge Computing | Edge Computing Benefits |...How Edge Computing Works | What is Edge Computing | Edge Computing Benefits |...
How Edge Computing Works | What is Edge Computing | Edge Computing Benefits |...
 
Edge Computing Platforms and Protocols - Ph.D. thesis
Edge Computing Platforms and Protocols - Ph.D. thesisEdge Computing Platforms and Protocols - Ph.D. thesis
Edge Computing Platforms and Protocols - Ph.D. thesis
 
IoT World Forum Press Conference - 10.14.2014
IoT World Forum Press Conference - 10.14.2014IoT World Forum Press Conference - 10.14.2014
IoT World Forum Press Conference - 10.14.2014
 
Edge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to YouEdge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to You
 

Similar to Introduction to Edge Computing using Google IoT

Intro to 4IR, IoT, and Embedded Systems.pptx
Intro to 4IR, IoT, and Embedded Systems.pptxIntro to 4IR, IoT, and Embedded Systems.pptx
Intro to 4IR, IoT, and Embedded Systems.pptx
ssuser133b0d
 
Rapid iteration for an Internet of Things
Rapid iteration for an Internet of ThingsRapid iteration for an Internet of Things
Rapid iteration for an Internet of Things
StudioSFO
 
IoT Update Oktober 2019 | Jan Depping @Microsoft | The next step in IoT
IoT Update Oktober 2019 | Jan Depping @Microsoft | The next step in IoTIoT Update Oktober 2019 | Jan Depping @Microsoft | The next step in IoT
IoT Update Oktober 2019 | Jan Depping @Microsoft | The next step in IoT
IoT Academy
 

Similar to Introduction to Edge Computing using Google IoT (20)

IoTforReal Seminar slidedeck
IoTforReal Seminar slidedeckIoTforReal Seminar slidedeck
IoTforReal Seminar slidedeck
 
Hac IT 4. Emerging Technologies (1).pdf
Hac IT 4. Emerging Technologies  (1).pdfHac IT 4. Emerging Technologies  (1).pdf
Hac IT 4. Emerging Technologies (1).pdf
 
#IoTforReal Seminar slidedeck (Codit Belgium - Ghelamco Arena Gent)
#IoTforReal Seminar slidedeck (Codit Belgium - Ghelamco Arena Gent)#IoTforReal Seminar slidedeck (Codit Belgium - Ghelamco Arena Gent)
#IoTforReal Seminar slidedeck (Codit Belgium - Ghelamco Arena Gent)
 
Why integration is key in IoT solutions? (Sam Vanhoutte @Integrate2017)
Why integration is key in IoT solutions? (Sam Vanhoutte @Integrate2017)Why integration is key in IoT solutions? (Sam Vanhoutte @Integrate2017)
Why integration is key in IoT solutions? (Sam Vanhoutte @Integrate2017)
 
Intro to 4IR, IoT, and Embedded Systems.pptx
Intro to 4IR, IoT, and Embedded Systems.pptxIntro to 4IR, IoT, and Embedded Systems.pptx
Intro to 4IR, IoT, and Embedded Systems.pptx
 
Global Azure Bootcamp 2019 - Bandung - Microsoft Azure as Complete Solutions ...
Global Azure Bootcamp 2019 - Bandung - Microsoft Azure as Complete Solutions ...Global Azure Bootcamp 2019 - Bandung - Microsoft Azure as Complete Solutions ...
Global Azure Bootcamp 2019 - Bandung - Microsoft Azure as Complete Solutions ...
 
Living on the (IoT) edge (Sam Vanhoutte @TechdaysNL 2017)
Living on the (IoT) edge (Sam Vanhoutte @TechdaysNL 2017)Living on the (IoT) edge (Sam Vanhoutte @TechdaysNL 2017)
Living on the (IoT) edge (Sam Vanhoutte @TechdaysNL 2017)
 
Rapid iteration for an Internet of Things
Rapid iteration for an Internet of ThingsRapid iteration for an Internet of Things
Rapid iteration for an Internet of Things
 
Exploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemExploring the Azure IoT Ecosystem
Exploring the Azure IoT Ecosystem
 
Solving IoT Hardware Issues With Docker
Solving IoT Hardware Issues With DockerSolving IoT Hardware Issues With Docker
Solving IoT Hardware Issues With Docker
 
Azure iot edge and AI enabling the intelligent edge
Azure iot edge and AI  enabling the intelligent edgeAzure iot edge and AI  enabling the intelligent edge
Azure iot edge and AI enabling the intelligent edge
 
Business Transformation with IoT
Business Transformation with IoTBusiness Transformation with IoT
Business Transformation with IoT
 
IoT Update Oktober 2019 | Jan Depping @Microsoft | The next step in IoT
IoT Update Oktober 2019 | Jan Depping @Microsoft | The next step in IoTIoT Update Oktober 2019 | Jan Depping @Microsoft | The next step in IoT
IoT Update Oktober 2019 | Jan Depping @Microsoft | The next step in IoT
 
CloudOne Continuous Engineering for IoT
CloudOne Continuous Engineering for IoTCloudOne Continuous Engineering for IoT
CloudOne Continuous Engineering for IoT
 
Introduction to Azure IoT Suite
Introduction to Azure IoT SuiteIntroduction to Azure IoT Suite
Introduction to Azure IoT Suite
 
IoT Programmable Block
IoT Programmable BlockIoT Programmable Block
IoT Programmable Block
 
AIoT: Intelligence on Microcontroller
AIoT: Intelligence on MicrocontrollerAIoT: Intelligence on Microcontroller
AIoT: Intelligence on Microcontroller
 
Architecting Azure IoT Solutions
Architecting Azure IoT SolutionsArchitecting Azure IoT Solutions
Architecting Azure IoT Solutions
 
2016 iot summit_guy_bieber9
2016 iot summit_guy_bieber92016 iot summit_guy_bieber9
2016 iot summit_guy_bieber9
 
AI for Manufacturing (Machine Vision, Edge AI, Federated Learning)
AI for Manufacturing (Machine Vision, Edge AI, Federated Learning)AI for Manufacturing (Machine Vision, Edge AI, Federated Learning)
AI for Manufacturing (Machine Vision, Edge AI, Federated Learning)
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

Introduction to Edge Computing using Google IoT

  • 1. Edge Computing using Google IoT Volodymyr Rudyi
  • 2. Plan Let’s see what’s waiting for us About me What is IoT? Some IoT Devices Challenges Q & ACoding TimeSome more questions Few words about me and why I’m here Let’s clarify some stuff Hardware! Interesting topics to discuss Let’s create something awesome! A quick way to learn something new Day-to-day problems when working with IoT
  • 3. About me Working in IT for 8 years. Managing AgileVision.io company for the last 3 years. Worked on projects related to IoT throughout the whole career, way before the term became so popular. Fond of doing interesting PoC’s involving both software and hardware. Helping clients with replacing boring and error-prone work with automated software, smart devices or both. Few words about me and why I’m here Volodymyr Rudyi Managing Director @ AgileVision.io https://www.linkedin.com/in/vrudyi/
  • 4. What is IoT? Let’s clarify some stuff A network of computing devices which interact and can be 
 controlled remotely.
  • 5. Examples of IoT-enabled Devices Hardware! Amazon Alexa Smart Home Appliance AWS IoT Button Industrial Automation M5 Stack ESP32 Prototyping Board NRF52-DK nRF52 Prototyping Board …and many more, including cars, smart counters, 
 healthcare equipment, fleet management equipment…
  • 6. Challenges The world is cruel Energy Efficiency Not all devices can be attached to a socket. How can we be sure the battery life is long enough to perform tasks? Connectivity How to connect thousand of devices that use different protocols on all layers, starting from the physical layer? Security How to exchange data in a secure way? Can we trust other parties? How do we protect from impostors? Economic Feasibility Technological progress allows creating amazing things. The only problem is… the price!
  • 7. Why does “On Time” is more important than “Awesome”? In some cases, the hot-dog test must work without any delays • Successful engineers borrow ideas from nature! • Some decisions must be taken immediately, without a risk of being delayed by data transfer rates or network outages • Single point of failure can be unacceptable for life support systems • Batch processing of non mission-critical data is more cost-efficient than parallel processing • Specialized hardware can provide better results for specific tasks
  • 8. What is “Edge Computing”? Definitions for bleeding edge terms! A distributed computing paradigm in which computations are performed on distributed device nodes that are located closer to the data.
  • 9. Why does “smart enough” is not enough? There is no limit for perfection • The approach “Implement once use everywhere” doesn’t work anymore • Luckily we can use the “Learn Continuously” approach • Responding to change is the key requirement for modern software solutions • We know nothing about upcoming changes
  • 10. There is a cloud service for that! Don’t let your competition to beat you because you had to reinvent the wheel AWS GreenGrass Azure IoT Edge Google IoT Edge Production-ready service. Supports ML inference, offline mode and various execution environments Production-ready service. Uses Moby containers as an execution environment for functions. Still in Alpha. Not much public information available.
  • 11. What is Google IoT? A closer look “Google Cloud IoT is a complete set of tools to connect, process, store, and analyze data both at the edge and in the cloud.”
  • 12. How it works? A closer look MQTT Google IoT Core VideoStream Private key Public key Public key
  • 13. Disclaimer Beware! We are not building neural networks here. We are learning how to apply them on edge devices ;)
  • 14. Hands-on part: Object Detection Let’s build our very own IoT-enabled, real-time, scalable plant(and some other stuff) detector • Device connects to a VPU and uploads a neural network model to it • Device connects to the Google IoT • Inference is happening on the device and is being sent to the cloud • Device monitoring is performed in the cloud. Decisions can be made both on the edge device(e.g. inform the user the plant was detected) and in the cloud (analyze anomalies, like objects appearing/ disappearing after being there for a while)
  • 15. Hands-on part: Show me the CODE Yep, that simple. Everything else is just data preparation/conversion/initialization. # Routine code to initialize the device and load the model device.OpenDevice() ssd_mobilenet_graph = device.AllocateGraph(graph_data) ssd_mobilenet_graph.LoadTensor(resized_image.astype(numpy.float16), None) output = ssd_mobilenet_graph.GetResult() # Routine code to free resources ssd_mobilenet_graph.DeallocateGraph() device.CloseDevice()
  • 16. Hands-on part: Output Let’s build our very own IoT-enabled, real-time, scalable plant(and some other stuff) detector
  • 17. Summary Continuous learning is the key • Google IoT is rather easy to integrate with • Security is achieved by using standard protocols • Some of the usual services are not present in Google IoT, including video streaming and video stream processing. Google offers third-party services hosted on GCP instead • Google IoT Edge is still not publicly available and right now in the alpha program, meaning it’s not possible to use it in the production • Competitors, especially Amazon, provide wider range of services that are connected with each other and require almost zero configuration
  • 18. Questions and Answers Good way to learn something new