connecting iot devices to azure

54
Connecting IoT devices to Azure Guy Barrette www.guybarrette.com

Upload: guy-barrette

Post on 06-Jan-2017

1.318 views

Category:

Technology


4 download

TRANSCRIPT

Page 1: Connecting IoT devices to Azure

Connecting IoT devices to Azure

Guy Barrettewww.guybarrette.com

Page 2: Connecting IoT devices to Azure

Guy BarretteFreelance architect/dev consultantMicrosoft Azure MVPMember of the Microsoft Regional Director Program

www.guybarrette.com@[email protected]

Page 3: Connecting IoT devices to Azure

Agenda

IntroAzureAzure servicesAzure IoT Hub Azure IoT Suite

Azure IoT

Page 4: Connecting IoT devices to Azure

Is IoT even a new thing?Command and control scenarios have much in common with some parts of IoT.

But falling hardware costs, cloud services and relatively ubiquitous communications do enable new approaches.

Depending on who you ask, IoT is either:

Nothing new

A unicorn

1

2

Magic, and will soon change everything.

We’ve been doing this for 40 years

Page 5: Connecting IoT devices to Azure

IoT is an Inflection Point

Hardware is cheap

Connectivity is pervasive

Development is easy

New Innovative Scenarios

Huge benefits fuel demand

Page 6: Connecting IoT devices to Azure

IoT 2010

Cell phone

VoIP phone

HVAC

Computer

Vending

Printer

Security

Media player

Oven

Automobile

Smart scale

Refrigerator

Television

Microwave

Coffee maker

Alarm clock

HOME HOMEWORKPLACE

Page 7: Connecting IoT devices to Azure

Sleep tracking

COMMUTE COMMUTE

Home security Home automation Leak detection

Smart appliances

Indoor navigation

Health monitoring

Smart lighting

Pet tracking

Information capture

Trip tracking and car health

Control

Child and eldermonitoring

Sports and fitness

Air conditioning and temperature control Environmental

sensors

Behavior modification

Garden, lawn and plant care

Food and nutrition tracking

Beacons and proximity

New devices and sensors

Object tracking

Identity Smart vending machines

Medication adherence

Bike ride stats and protection

Entertainment systems

Office equipment

IoT 2015

HOME HOMEWORKPLACE

Page 8: Connecting IoT devices to Azure

Things are the new apps!

Easy development

Readymarket

Low-friction distribution

Enduring relationships

Page 9: Connecting IoT devices to Azure

$1.7 trillionMarket for IoT by 2020 IDC 25 billion

Connected “things” by 2020 Gartner

Page 10: Connecting IoT devices to Azure

Azure

Page 11: Connecting IoT devices to Azure

Azure Data Centres28 Regions Worldwide, 22 ONLINE

Top 3 networks in the world 2.5x AWS, 7x Google DC Regions

OperationalAnnounced/Not Operational

Central US

Iowa

West USCaliforni

a

East USVirginia

US GovVirginia

North Central US

Illinois

US GovIowa

South Central US

Texas

Brazil SouthSao Paulo

State

West Europe

Netherlands

China North *

BeijingChina

South *Shanghai

Japan EastTokyo,

Saitama

Japan West

OsakaIndia South

Chennai East AsiaHong Kong

SE AsiaSingapo

re

Australia South East

Victoria

Australia EastNew South

Wales

* Operated by 21Vianet ** Operated by Deutsche Telekom

India CentralPune

Canada EastQuebec City

Canada CentralToronto

India West

Mumbai

Germany North East **

Magdeburg

Germany Central **Frankfurt

North EuropeIreland

East US 2

Virginia

United KingdomRegions

United KingdomRegions

Page 12: Connecting IoT devices to Azure

ISO/IEC 27001 SOC 1 SOC 2 PCI DSS L1 version 3 Cloud Security AllianceCloud Security Matrix

HIPAA(Healthcare)

FedRAMP FIPS 140-2 Life Sciences GxP Family Educational Rights & Privacy Act

European Union Model Clause

China Multi Layer Protection

Scheme

United Kingdom G-Cloud

SingaporeMulti-Tier Cloud

Security

ChinaCCCPPF

Australian Signals Directorate I-RAP

Assessment

Criminal Justice Information System

Defense Information Systems Agency L2

Sarbanes Oxley ITAR Defense Information Systems Agency L3-5

ISO / IEC 27018

Azure compliance audits and certificationsGlobal

United States

Regional

Coming soon

Page 13: Connecting IoT devices to Azure

Platform Services

Infrastructure ServicesOS/Server Compute Storage

Datacenter Infrastructure (28 Regions, 22 Online)

Web and Mobile

Web Apps

MobileApps

APIManagement

API Apps

Logic Apps

Notification Hubs

Media & CDNContent DeliveryNetwork (CDN)

Media Services

IntegrationBizTalkServices

HybridConnections

Service Bus

StorageQueues

HybridOperations

Backup

StorSimple

Azure SiteRecovery

Import/Export

Networking

Data

SQL Database

DocumentDB

RedisCache Azure

SearchStorageTables

DataWarehouse Azure AD

Health Monitoring

Virtual Network

ExpressRouteBLOB

StorageAzureFiles

PremiumStorage

Virtual Machines

AD PrivilegedIdentity Management

Traffic Manager

AppGateway

OperationalAnalytics

Services ComputeCloud Services

Batch RemoteApp

ServiceFabric

Developer Services

Visual Studio

AppInsights

Azure SDK

VS Online

ContainerService

DNS VPN Gateway

Load Balancer

Domain Services

Analytics & IoT

HDInsight MachineLearning

StreamAnalytics

Data Factory

EventHubs

MobileEngagement

Data Lake

IoT Hub

Data Catalog

Security & Manageme

nt

Azure ActiveDirectory

Multi-FactorAuthentication

Automation

Portal

Key Vault

Store/Marketplace

VM Image Gallery& VM Depot

Azure ADB2C

Scheduler

Page 14: Connecting IoT devices to Azure

Applications

Clients

Infrastructure

Management

Databases &Middleware

App Frameworks& Tools

DevOps

PaaS &DevOps

Azure is an open cloud

Page 15: Connecting IoT devices to Azure

1 TrillionMessages delivered every

month with Event Hubs

~100,000

New Azure customer subscriptions/month

20 MillionSQL database hours

used every day

>5 TrillionStorage transactions

every month

60 BillionHits to Websites run on Azure Web App Service

425 MillionAzure Active

Directory Users

Azure momentum

57%Of Fortune 500

Companies use Microsoft Azure

>50 TrillionStorage objects

in Azure

Page 16: Connecting IoT devices to Azure

Azure IoT

Page 17: Connecting IoT devices to Azure

IoT HubCustom IoT Suite

The IoT paths to Azure

Page 18: Connecting IoT devices to Azure
Page 19: Connecting IoT devices to Azure

The custom path

Page 20: Connecting IoT devices to Azure

Azure Services making sense for IoTDevices Device Connectivity Storage Analytics Presentation &

Action

Event Hubs SQL Database Machine Learning App Service

Service Bus Table/Blob Storage

Stream Analytics Power BI

External Data Sources DocumentDB HDInsight Notification

Hubs

External Data Sources Data Factory Mobile

Services

BizTalk Services

{ }

Page 21: Connecting IoT devices to Azure

Azure

Using already available services

Event Hub

Storage blobs

Web/Mobile App

Stream Analytics

Logic AppsWeb Jobs

Power BI

Event Hub

devices

Page 22: Connecting IoT devices to Azure

Event IngestionAzure Event Hub

Page 23: Connecting IoT devices to Azure

Cloud-scale telemetry ingestion• Cloud-scale telemetry ingestion from websites, apps, and

devices• Compatible with more than a million publishers supporting

HTTP, AMQP and MQTT• Ingress millions of events per second • SAS based security, with unique token per publisher• Configurable data retention (1-30 days)• Low latency (<10 ms for volatile data)• Pluggable with other cloud services like Stream Analytics

Page 24: Connecting IoT devices to Azure

Event ProcessingAzure Stream Analytics

Page 25: Connecting IoT devices to Azure

Real time event processingHigh volumeAnalyze millions of data points per second

Highly scalableEnterprise grade, predictable solution.

Uncover real time insightsPerform real time analytics across multiple streams

Rapid DeploymentUse simple SQL syntax, auto distributed for scale

Mission critical reliabilityFully managed, low latency, high throughput

Create real time alertsFlag alerts and alarms for attention

Page 26: Connecting IoT devices to Azure
Page 27: Connecting IoT devices to Azure
Page 28: Connecting IoT devices to Azure

Data VisualizationPower BI

Page 29: Connecting IoT devices to Azure

Data visualization with PowerBIRich visualsStandard and custom graphing options

Custom dashboardsBuild heat maps and visually track data

External dataIntegrate external data feeds to add value to device data, or pull in external information such as weather or market information.

Page 30: Connecting IoT devices to Azure

Predictive AnalyticsAzure Machine Learning

Page 31: Connecting IoT devices to Azure

Cloud based predictive analyticsML API serviceModels available as URL, call from any endpoint

Use ML studio to createAccess and prepare data,Create, test and train models

Rapid deploymentSingle click deploy to production via API service

Drag and drop algorithms Simple UI for straightforward algorithm creation

Algorithm librariesUtilize library of preconfigured algorithm solutions

Page 32: Connecting IoT devices to Azure

AML - Drag & Drop + Best in Class Algorithms

Page 33: Connecting IoT devices to Azure

Demo

The custom path

http://guyb.ca/IoTAzureDemo

Page 34: Connecting IoT devices to Azure

Azure IoT Hub - Preview

Page 35: Connecting IoT devices to Azure

Azure IoT HubDesigned for IoTConnect up to 10 million devices

Service assisted communicationsSecure bi-directional communicationCommand and control

Cloud-scale messagingDevice-to-cloud and Cloud-to-deviceDurable messages (at least once semantics)

Cloud-facing telemetry ingestionDelivery receipts, expired messagesDevice communication errors

Per-device authenticationIndividual device identities and credentials

Connection multiplexingSingle device-cloud connection for all communications (C2D, D2C)

Multi-protocol supportNatively supports AMQP, HTTPDesigned for extensibility to custom protocols

Multi-platformDevice SDKs available for multiple platforms (e.g. RTOS, Linux, Windows)Multi-platform Service SDK.

Page 36: Connecting IoT devices to Azure

Event HubsIoT Hub IoT

goodness

IoT Hub is

Page 37: Connecting IoT devices to Azure

Connect your devices to Azure

Field gateway

Cloud protocolgateway

IP-c

apab

lePA

N-de

vice

s

Event processing and insight(e.g. hot and cold paths)

Device business logic,Connectivity monitoring

Applicationdevice provisioning and management

cloudfield

IoT Hub10 101 01

0 01

11

0

11

0

10

1

0 011

10 10

0

01

1

0 1

0

Page 38: Connecting IoT devices to Azure

Why use IoT Hub?

Device authentication & security

Service-facing device connectivity monitoring

Scale up to millions of simultaneously connected devices

IoT protocols, device resource optimization

Device-to-cloud messaging

Cloud-to-device messaging

Page 39: Connecting IoT devices to Azure

Azure IoT Suite SDKs

Device-facingFor devices and field gateway

PlatformsRTOS (FreeRTOS)Linux(Ubuntu, Debian, Fedora, Raspbian, Angstrom)Windows 7/8/10ARM mbedAndroidiOS

LanguagesC, Java, C#, Javascript

Service-facingFor back-ends and cloud gateway

Languages.NET C#JavaNode

Page 40: Connecting IoT devices to Azure

Manage IoT Hub in Azure portalSimple navigationManagement of devices, volume and scaling made easy through the IoT Hub settings in the Azure Management Portal

Page 41: Connecting IoT devices to Azure

A sample scenarioSimulated wind turbineEmits telemetry every secondState machine (StartingStartedStoppingStopped)

Provision device• Device registry to query devices and track

provisioning• Device identity and key stored in IoT hub

Device emits telemetry• Event processor receives telemetry and

updates portal visualization

Send commands• Portal sends commands to devices• Command lifecycle is stored in device registry

Event Processor

Device registr

y

Portal

Command store

IoT Hub

Device id

C2D queueendpoint

D2C send endpoint

Device …

Device …

Device …

D2C receive endpoint

C2D send endpoint

IoT Hub management

Page 42: Connecting IoT devices to Azure

Demo

Create an IoT Hub

Simulated wind turbine

Page 43: Connecting IoT devices to Azure

Azure IoT Suite - Preview

Page 44: Connecting IoT devices to Azure

Azure IoT Suite

Accelerate time to valueGet started quickly with preconfigured solutions for common IoT scenarios.

Rich partner networkLeverage a worldwide ecosystem of experienced IoT partners to tailor IoT solutions to your needs.

Azure IoT Suite

Comprehensive solution Connect millions of devices and integrate your business systems with new insights to transform your business.

Page 45: Connecting IoT devices to Azure

Devices

Azure IoT Suite Remote Monitoring

What you get with remote monitoring preconfigured solution

Back end systems and processes

C# simulatorEvent Hub

Storage blobs DocumentDB

Web/Mobile App

Stream Analytics Logic Apps

Azure Active Directory

IoT Hub Web Jobs

Power BI

Page 46: Connecting IoT devices to Azure

Tailor Azure IoT Suite to your needs using preconfigured solutions

Finish with your Internet of Things applicationStart quickly with preconfigured solutions

Modify existing rules and alerts

Fine-tuned to specific assets and processes

Integrate with back-end systems

Highly visual for your real-time operational data

Get started in minutes

Add your devices and begin tailor to your needs

Page 47: Connecting IoT devices to Azure
Page 48: Connecting IoT devices to Azure
Page 49: Connecting IoT devices to Azure

Demo

Create an IoT Suite

Page 50: Connecting IoT devices to Azure

Azure is a platform for IoT solutions

Page 51: Connecting IoT devices to Azure

IoT HubCustom IoT Suite

Page 52: Connecting IoT devices to Azure

Free one-month trial

Page 53: Connecting IoT devices to Azure

www.bizspark.com

Page 54: Connecting IoT devices to Azure

© 2015 Microsoft Corporation. All rights reserved.