The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a...

23
The Age of Azure IoT Edge HAS ALTAIAR AZURE NIGHTS - MELBOURNE @HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 1

Transcript of The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a...

Page 1: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

The Age of Azure IoT EdgeHAS ALTAIAR

AZURE NIGHTS - MELBOURNE

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 1

Page 2: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

whoami

Has AlTaiar

Solutions Architect – Independent Contractor

@HasAlTaiar

Https://www.hasaltaiar.com.au

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 2

Page 3: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

What’s IoT?IoT is a network of physical and virtual devices (“things”) that are connected and able to

exchange data. Each thing is uniquely identifiable and capable of operating within the

existing internet infrastructure. Typically, IoT devices exchange massive amounts of data at

a rapid pace.

Main Characteristics

Intelligent (Autonomous Control)

Connectivity

Scale (Network, Compute, Storage)

Sensing

Heterogeneity

Security (and Privacy)

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 3

Page 4: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

What’s Edge Computing?

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.

Azure IoT Edge moves cloud analytics and custom business logic to devices so that your organization can focus on business insights instead of data management

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 4

Page 5: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

Azure IoT Edge

IoT Edge Runtime Environment

ModulesCustom Code

Cloud-based InterfaceManage & Monitor

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 5

Page 6: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

Edge Computing Benefits

Reduce bandwidth usage

Lower latency

Distribute compute load

Comply with Security and Privacy regulations

Solution for Occasionally-connected devices

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 6

Page 7: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

How does it work?

Code modules as Docker images

Configure modules on the IoT Hub

The Azure IoT Hub does the rest

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 7

Page 8: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

Azure IoT Edge Runtime

Portable on most platforms (Win, Mac, Linux)

Pushed as a Python library

Uses Docker modules for everything

It has 2 main parts that are also Docker images (modules). These are:

◦ IoT Edge Agent

◦ IoT Edge Hub

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 8

Page 9: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

The Role of IoT Edge Runtime

Installs/updates workloads

Maintains security standards

Manage Operations and Monitoring

Facilitates communications with the IoT Hub

Facilitates communication between modules

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 9

Page 10: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

IoT Edge Hub

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 10

Page 11: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

IoT Edge Hub

Acts as a proxy of the Azure IoT Hub

Not a full version of the IoT Hub running locally.

Optimizes no of real connections to the cloud.

Caches messages and twin updates locally when disconnected.

Facilitates module-to-module communication.

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 11

Page 12: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

IoT Edge Agent

Responsible for instantiating modules

Ensures that modules continue to run

Reports the status of modules to the IoT Hub.

Ensures security (verify a module’s image before starting it)

Like other module, Agent uses its module twin to store configuration data.

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 12

Page 13: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

Modules

Modules are pieces of code wrapped in a Docker container.

Other types of module might appear in the future.

In Preview, modules can only be coded in C#/Python

Composition happens in the deployment manifest file

Each Module has the following: ◦ Module image

◦ Module instance

◦ Module identity

◦ Module twin

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 13

Page 14: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

Azure-built Modules

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 14

Page 15: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

Configuration & Monitoring

Edge Runtime + IoT Hub provide full control over device lifecycle.

Configure a workflow (Build a data pipeline)

Target one device or a group of devices

Deploy modules and configuration with one click

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 15

Page 16: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

Intelligence on Cloud vs on Edge

In the Cloud On the Edge

Remote monitoring & management

Merging multiple datasets

Larger compute & storage to train and develop advanced ML models

Low latency for near real-time scenarios

Protocol translation & data normalisation

Privacy & security of data.

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 16

Page 17: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

Similar Offerings – AWS Greengrass

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 17

Page 18: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

Demo 1Create an Azure IoT Edge device

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 18

Page 19: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

Demo 2Create a custom module

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 19

Page 20: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

Demo 3Create an Azure Stream Analytics module

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 20

Page 21: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

Conclusions

- Edge computing can be great model for solving complex problems with Latency, data throughput, and Security (and Privacy) laws.

- Azure IoT Edge provides state-of-the-art suite of services for managing deployment, pipeline, configuration, and modules life-cycle.

- It’s fairly easy to build custom modules on Azure IoT Edge, and the Azure team is adding pre-built modules continuously.

- The AI wave is just starting, it relies heavily on IoT to integrate the physical and the cyber world. This creates a great opportunity for Technologists.

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 21

Page 22: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

Lastly,

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 22

Are you comfortable now

with Living On The Edge?

Page 23: The Age of Azure IoT Edge - Has AlTaiar · IoT Edge Hub Acts as a proxy of the Azure IoT Hub Not a full version of the IoT Hub running locally. Optimizes no of real connections to

@HasAltaiar - goo.gl/c2DjJw AZURE NIGHTS - MELBOURNE - THE AGE OF AZURE IOT EDGE 23

Any Questions?