connecting iot devices to azure
TRANSCRIPT
Connecting IoT devices to Azure
Guy Barrettewww.guybarrette.com
Guy BarretteFreelance architect/dev consultantMicrosoft Azure MVPMember of the Microsoft Regional Director Program
www.guybarrette.com@[email protected]
Agenda
IntroAzureAzure servicesAzure IoT Hub Azure IoT Suite
Azure IoT
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
IoT is an Inflection Point
Hardware is cheap
Connectivity is pervasive
Development is easy
New Innovative Scenarios
Huge benefits fuel demand
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
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
Things are the new apps!
Easy development
Readymarket
Low-friction distribution
Enduring relationships
$1.7 trillionMarket for IoT by 2020 IDC 25 billion
Connected “things” by 2020 Gartner
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
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
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
Applications
Clients
Infrastructure
Management
Databases &Middleware
App Frameworks& Tools
DevOps
PaaS &DevOps
Azure is an open cloud
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
Azure IoT
IoT HubCustom IoT Suite
The IoT paths to Azure
The custom path
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
{ }
Azure
Using already available services
Event Hub
Storage blobs
Web/Mobile App
Stream Analytics
Logic AppsWeb Jobs
Power BI
Event Hub
devices
Event IngestionAzure Event Hub
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
Event ProcessingAzure Stream Analytics
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
Data VisualizationPower BI
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.
Predictive AnalyticsAzure Machine Learning
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
AML - Drag & Drop + Best in Class Algorithms
Demo
The custom path
http://guyb.ca/IoTAzureDemo
Azure IoT Hub - Preview
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.
Event HubsIoT Hub IoT
goodness
IoT Hub is
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
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
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
Manage IoT Hub in Azure portalSimple navigationManagement of devices, volume and scaling made easy through the IoT Hub settings in the Azure Management Portal
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
Demo
Create an IoT Hub
Simulated wind turbine
Azure IoT Suite - Preview
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.
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
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
Demo
Create an IoT Suite
Azure is a platform for IoT solutions
IoT HubCustom IoT Suite
Free one-month trial
www.bizspark.com
© 2015 Microsoft Corporation. All rights reserved.