connecting iot

19
Connecting IoT Andy Cross, Director Elastacloud Ltd Windows Azure MVP Da zee zij oek. @andybareweb

Upload: aerona

Post on 25-Feb-2016

51 views

Category:

Documents


1 download

DESCRIPTION

@ andybareweb. Connecting IoT. Andy Cross, Director Elastacloud Ltd Windows Azure MVP. Da zee zij oek . Thank you, sponsors!. The Cloud for Modern Business. aka.ms/azuretry. Deploy fast in the cloud, scale elastically and minimize test cost - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Connecting  IoT

Connecting IoTAndy Cross, Director Elastacloud Ltd

Windows Azure MVP

Da zee zij oek.

@andybareweb

Page 2: Connecting  IoT

Thank you, sponsors!

Page 3: Connecting  IoT

The Cloud for Modern Business

Grab your benefit

aka.ms/azuretry

Deploy fast in the cloud, scale elastically and minimize test costActivate your Windows Azure MSDN benefit at no additional charge

aka.ms/msdnsubscr

Page 4: Connecting  IoT

IoT fundamentals

Billions of internet connected devices All varying device capabilities Devices sometimes online

Android emergent but expensive Silicon solutions without software Software solutions on generic hardware

Page 5: Connecting  IoT

This session

Largely practical*we need luck for this to work!* Demonstrates the state of the art with Microsoft technologies Covers patterns and futures

Page 6: Connecting  IoT

Firstly - Scenario

A million internet connected, distributed heat sensors In homes, maybe connected to intelligent heating systems

Perhaps these work in buildings (‘tenants’)

We require 4 communication types: Notification: Send message to device Command: Send message and receive a response Inquiry: Receive message and send a response Telemetry: Receive a message from the device

Page 7: Connecting  IoT

M2M Information Exchange Patterns

Telemetry

Information flowing from a device to other systems for conveying status of device and environment

Inquiries

Requests from devices looking to gather required information or asking to initiate activities

Commands

Commands from other systems to a device or a group of devices to perform specific activities

Notifications

Information flowing from other systems to a device (-group) for conveying status changes in the rest of the world

Page 8: Connecting  IoT

Supporting Tech 1 -> Client

We will be using NETMF and the Netduino Plus 2.

We will be using only Open Source client libraries in order that smaller devices can reimplement or lighten the library weight

Ethernet connected as a baseline; it is possible to connect via wifi/gsm etc, but the demo gods are fickle.

Page 9: Connecting  IoT

Supporting Tech 2 -> Cloud

We are using Windows Azure’s storage services These do not require SSL and this eases the load on our stack – BUT

BEWARE WHAT THIS MEANS FOR YOUR APP

Queue -> For command and control Table -> For logs and reporting structured data Blob -> For reporting unstructured data

Page 10: Connecting  IoT

DemoNETMF storage basics

Page 11: Connecting  IoT

DemoNETMF storage GB -> PB

Page 12: Connecting  IoT

Demo 4 types of Device Communication

Page 13: Connecting  IoT

FuturesWhat does the future of devices and Azure hold?

Page 14: Connecting  IoT

What haven’t we done today?

With more capable devices: Secure connections via SSL Cipher of message content

With a better client library: Use of Shared Access Signatures for authentication

Or a totally different approach: Windows Azure Service Bus

Page 15: Connecting  IoT

Why Service Bus

Lightweight protocols: AMQP

Built in security

High scalability targets Throughput Number of Queues

Pub/Sub technologies suit multiple devices

Page 16: Connecting  IoT

What might be even better?

Front the Service Bus with MQTT as a custom Protocol Binary transfer technology, with no ceremony Lightweight, secure With SB underneath this is scalable Providing the fronting tier is itself scalable; Windows Azure

Page 17: Connecting  IoT

Final Thought: WTF do I do with the data? A billion devices connected has the capability to produce a huge

amount of data Azure Storage can cope with this but … how do I derive meaning from

it?

Answer: Using Big Data Technologies; see my afternoon session on Big Data: Data Liberty in an age POST Sql.

Page 18: Connecting  IoT

ThanksQuestions?

Page 19: Connecting  IoT

The slide of disaster (snafu fallback!) For M2M on Azure; follow @clemensv watch Subscribe:

http://channel9.msdn.com/Blogs/Subscribe

If you don’t hate me already … ;-0 My AzureConf 2012 video:

http://channel9.msdn.com/Events/windowsazure/AzureConf2012/A06 My netmfazurestorage lib https://github.com/andycross/netmfazurestorage

Sign up for an Azure Free Trial: http://www.windowsazure.com/en-us/pricing/free-trial/