azure e .net per internet of things

30
Azure e .NET per l’Azienda Maker Marco Parenzan Microsoft MVP 2014 for Azure 1nn0va / [email protected]

Upload: marco-parenzan

Post on 17-Jul-2015

194 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Azure e .Net per Internet of Things

Azure e .NET per l’Azienda Maker

Marco ParenzanMicrosoft MVP 2014 for Azure

1nn0va / [email protected]

Page 2: Azure e .Net per Internet of Things

Speaker info/Marco Parenzan

www.slideshare.net/marco.parenzan

www.github.com/marcoparenzan

marco [dot] parenzan [at] 1nn0va [dot] it

www.1nnova.it

@marco_parenzan

Formazione ,Divulgazione e Consulenza con 1nn0va

Microsoft MVP 2014 for Microsoft Azure

Cloud Architect, NET developer

Loves Functional Programming, Html5 Game Programming and Internet of Things

Microservices

Saturday

2015: un

viaggio con

NServiceBus L

IVE

IoT Day - 08/05/2015

Page 3: Azure e .Net per Internet of Things

Internet of Things // Internet delle Cose

Page 4: Azure e .Net per Internet of Things

Cos’è l’Internet of Things?

• La rete degli oggetti fisici che contengono tecnologia per comunicare e

interagire con loro stati interni o esterno ambiente embedded.

• Il termine è stato creato da Kevin Ashton nel 1999 per descrivere una

tecnologia per l'identificazione univoca degli oggetti all'interno di una "rete".

Page 5: Azure e .Net per Internet of Things

Internet of Things e i device

• IoT non è solo circa la raccolta dati, si tratta di come è possibile utilizzare

questi dati per ottenere il valore

• Un dispositivo Embedded connesso a Internet non è un dispositivo Internet

delle cose

• An “IoT Device” does not exists !

• Avete IoT quando hai cose (dispositivi) e Internet, una soluzione che integra

dispositivi e servizi basati su Internet è un prodotto IoT

Page 6: Azure e .Net per Internet of Things

Perchè IoT?

• Data-Driven Insight (“Telemetry”)

• More efficient use of resources (reduce cost, environmental impact)

• More targeted products and services (increase revenue, social impact)

• => “Things” = a rapidly expanding source of raw material for the Insight pipeline

• Enable Action at a Distance (“Command & Control”)

• Engage with customers beyond the point of sale

• Preventive maintenance, Best practices guidance, Proactive sales, Remote

servicing etc.

• => From CRM to PRM – “Product Relationship Management”

Page 7: Azure e .Net per Internet of Things

Gartner HypeCycle for IoT 2014

Page 8: Azure e .Net per Internet of Things

Un momento di svolta per l’IoT

Components

and devices

are

inexpensive

Connectivity

is pervasive

Development

is easy

Economic

benefits are

enormous

New

scenarios fuel

demand

Page 9: Azure e .Net per Internet of Things

Windows per l’IoTThanks to Mirco Vanini for slides

http://mircovanini.blogspot.it/2015/04/mec-internet-of-things-conference-

2015_21.html

Page 10: Azure e .Net per Internet of Things

La strada per la convergenza

Page 11: Azure e .Net per Internet of Things

Windows 10 for IoT Devices

Page 12: Azure e .Net per Internet of Things

Windows 10 for IoT Devices

Page 13: Azure e .Net per Internet of Things

Windows Developer Program for IoT

This is the first in a series of

Internet of Things (IoT) programs

for the creation of connected

devices. This program is tailor-

made for both makers and

Windows developers entering

into the IoT space.

Designed for developers

Leverage the Windows platform

and its diverse hardware

ecosystem. Utilize familiar Win32

programming using best in-class

development and debugging

tools.

Windows platform with

Visual Studio

The accessibility of Arduino

combined with the connectivity

of Windows. Quickly iterate and

expand on hardware and

software designs using existing

shields and sketches

Rapid hardware development

www.windowsondevices.com

Page 14: Azure e .Net per Internet of Things

We’re excited to announce that

we are expanding our Windows

Developer Program for IoT by

delivering a version of Windows

10 that supports Raspberry Pi 2.

This release of Windows 10 will

be free for the Maker community

through the Windows Developer

Program for IoT.

Windows 10 per Raspberry Pi 2

Page 15: Azure e .Net per Internet of Things

Azure per l’IoT

Page 16: Azure e .Net per Internet of Things

Perchè il cloud?

• Creare ambienti per lo sviluppo del business rapidamente

• Scalare per sopportare i picchi di utilizzo

• Incrementare le attivita’ giornaliere, l’efficenza e ridurre i costi.

Page 17: Azure e .Net per Internet of Things

On Premises

Lo s

calin

g, l

a r

esi

lien

zae la g

est

ion

eso

no

a n

ost

roca

rico Infrastructure

(as a Service)

Gest

ito

dal ven

do

rA n

ost

roca

rico

scalin

g, re

silien

za&

gest

ion

e

Platform (as a Service)

Sca

lin

g, re

silien

zae

gest

itid

al ven

do

r

No

ig

est

iam

o

Modelli di Hosting classico

Software(as a Service)

Business model

Applications

Sca

lin

g, r

esi

lien

zae

gest

ito

dal ven

do

r

Modelli di Cloud

Page 18: Azure e .Net per Internet of Things

Azure

footprint

19 regioni worldwide nel 2015

Data Centers

Regional Partners

Page 19: Azure e .Net per Internet of Things

I servizi di Microsoft AzureC

lien

t la

yer

(on

-pre

mis

es)

Tablet Phone

Games

consolePC

On-

premises

databaseBrowser

Office Add-

in

On-

premises

service

AD

Multifactor

Authentication

Access

Co

ntr

ol

Layer

Inte

gra

tio

n

layer

Service Bus CDN

BizTalk

Services

Traffic

Manager

Virtual

NetworksExpress

Route

Ap

pli

cati

on

layer

API Mgmt Websites

Cloud

Services VM

Mobile

Services

Media

Services

Notification

Hubs Scheduler Automation

Data

Layer

Storage Blobs Tables Queues Data

Machine

Learning HD Insight

Backup and

RecoverySQL

Database Caching StorSimple

Page 20: Azure e .Net per Internet of Things

Internet of Things

Con Microsoft Azure IoT services, si possono monitorareassets, incrementare l’efficienza, spingere le performance operative per abilitare le innovazioni, ed utilizzandomeccanismi di data analytics avanzati si può trasformare la propria azienda con nuovi business models e revenue streams.

Event Hubs

Notification Hubs

Stream Analytics

Machine Learning

HDInsight

Power BI for Office 365

Page 21: Azure e .Net per Internet of Things

Architettura canonica per processare eventi

Page 22: Azure e .Net per Internet of Things

• Addressability (non-IP devices, firewalls/NATs, online/offline, roaming)

• Heterogeneity (OS/firmware, power/network constraints, protocols)

• Security (identity, authorization, privacy, data integrity)

• Efficient Scale (millions of devices per tenant, at a reasonable cost)

• Telemetry (collection, filtering, routing, throughput, per-message QoS)

• Notifications (targeting devices/device groups within large populations)

• Command/Query and Inquiries (correlation, sessions/batching)

Cloud Device Gateway Challenges

Page 23: Azure e .Net per Internet of Things

• Devices connect via open standard protocols• AMQP 1.0 and HTTP: natively in Service Bus

• MQTT, CoAP and others: implement via custom gateway/adapter model

• Sockets secured via TLS (or a lightweight variant)

• Each device gets a dedicated Inbox/Outbox “queue” on the Gateway• Outbox: Telemetry, alerts and service invocations

• Inbox: commands and queries

• Request/reply: correlated messageon top of inbox/outbox messaging channels

• Security: device can only access its own specific inbox/outbox endpoints (URI’s)

Service Bus as a Cloud Gateway

Backend

Components

Cloud Gateway

Outbox(Telemetry)

Inbox(Command & Control)

Pro

toco

l H

ead

Co

mm

an

d A

PI

Page 24: Azure e .Net per Internet of Things

.NET per l’IoTThanks to Lorenzo Barbieri for slides

http://www.slideshare.net/Codemotion/201503-keynote-codemotionms

Page 25: Azure e .Net per Internet of Things
Page 26: Azure e .Net per Internet of Things

https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx

Page 27: Azure e .Net per Internet of Things
Page 28: Azure e .Net per Internet of Things
Page 29: Azure e .Net per Internet of Things

Demo: Temperature MonitoringA solution to monitor an appliance remotely with Arduino, Azure, Windows

and .NET

http://github.com/marcoparenzan/temperaturemonitoring

29

Page 30: Azure e .Net per Internet of Things

Azure e .NET per l’Azienda Maker

Marco ParenzanMicrosoft MVP 2014 for Azure

1nn0va / [email protected]