internet of things and azure - devteach 2016
TRANSCRIPT
![Page 1: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/1.jpg)
CLD333 - Internet of Things and Azure
Guy BarretteFreelance Solutions ArchitectAzure MVP & MS RDhttp://guy.cloud
![Page 2: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/2.jpg)
Guy BarretteFreelance solutions architect/dev consultantMicrosoft Azure MVPMember of the Microsoft Regional Director Program
http://guy.cloud@[email protected]
![Page 3: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/3.jpg)
Agenda
IoTAzureAzure servicesAzure IoT Hub Azure IoT Suite
Azure IoT
![Page 4: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/4.jpg)
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: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/5.jpg)
IoT is an Inflection Point
Hardware is cheap
Connectivity is pervasive
Development is easy
New Innovative Scenarios
Huge benefits fuel demand
![Page 6: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/6.jpg)
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: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/7.jpg)
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 2016
HOME HOMEWORKPLACE
![Page 8: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/8.jpg)
$1.7 trillionMarket for IoT by 2020 IDC 25 billion
Connected “things” by 2020 Gartner
![Page 9: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/9.jpg)
Azure
![Page 10: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/10.jpg)
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 11: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/11.jpg)
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 12: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/12.jpg)
2 TrillionMessages per week
processed by Azure IoT
~120,000
New Azure customer subscriptions/month
1.4 MillionSQL databases in Azure
>5 TrillionStorage transactions
every month
60 BillionHits to Websites run on Azure Web App Service
5 MillionOrganization using Azure
Active Directory
Azure momentum
57%Of Fortune 500
Companies use Microsoft Azure
>50 TrillionStorage objects
in Azure
![Page 13: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/13.jpg)
Azure IoT
![Page 14: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/14.jpg)
IoT HubCustom IoT Suite
The IoT paths to Azure
![Page 15: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/15.jpg)
![Page 16: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/16.jpg)
The custom path
![Page 17: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/17.jpg)
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 18: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/18.jpg)
Azure
Using already available services
Event Hub
Storage blobs
Web/Mobile App
Stream Analytics
Logic AppsWeb Jobs
Power BI
Event Hub
devices
![Page 19: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/19.jpg)
Event IngestionAzure Event Hub
![Page 20: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/20.jpg)
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 21: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/21.jpg)
Event ProcessingAzure Stream Analytics
![Page 22: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/22.jpg)
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 23: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/23.jpg)
![Page 24: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/24.jpg)
![Page 25: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/25.jpg)
Data VisualizationPower BI
![Page 26: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/26.jpg)
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 27: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/27.jpg)
Predictive AnalyticsAzure Machine Learning
![Page 28: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/28.jpg)
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 29: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/29.jpg)
AML - Drag & Drop + Best in Class Algorithms
![Page 30: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/30.jpg)
Demo
The custom path
http://guyb.ca/IoTAzureDemo
SAS
![Page 31: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/31.jpg)
Azure IoT Hub
![Page 32: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/32.jpg)
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 33: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/33.jpg)
Event HubsIoT Hub
IoT super
powers
IoT Hub is
![Page 34: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/34.jpg)
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 35: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/35.jpg)
Azure
Using already available services
Event Hub
Storage blobs
Web/Mobile App
Stream Analytics
Logic AppsWeb Jobs
Power BI
Event Hub
devices IoT Hub
![Page 36: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/36.jpg)
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 37: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/37.jpg)
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
https://github.com/Azure/azure-iot-sdks
![Page 38: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/38.jpg)
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 39: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/39.jpg)
//Build 2016 AnnouncementsIoT Hub device management Beta
Administrate, organize, software updates, firmware configuration, etc.
https://github.com/Azure/azure-iot-device-management
IoT Gateway SDK BetaSource code to build your own gatewayhttps://github.com/Azure/azure-iot-gateway-sdk
![Page 40: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/40.jpg)
DemoCreate an IoT HubSimulated wind turbinehttps://azure.microsoft.com/en-in/documentation/articles/iot-hub-csharp-csharp-getstarted/
https://github.com/Azure/azure-iot-sdks/tree/master/tools/DeviceExplorer Demo Code
![Page 41: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/41.jpg)
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: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/42.jpg)
Azure IoT Suite
![Page 43: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/43.jpg)
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 44: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/44.jpg)
It’s an accelerator
![Page 45: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/45.jpg)
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: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/46.jpg)
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: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/47.jpg)
![Page 48: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/48.jpg)
![Page 49: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/49.jpg)
Demo
Create an IoT Suitehttps://www.azureiotsuite.com
![Page 50: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/50.jpg)
Azure is a platform for IoT solutions
![Page 51: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/51.jpg)
IoT HubCustom IoT Suite
![Page 52: Internet of Things and Azure - DevTeach 2016](https://reader035.vdocuments.us/reader035/viewer/2022070513/588650f31a28ab32768b72bf/html5/thumbnails/52.jpg)
CLD333 - Internet of Things and Azure
Guy BarretteFreelance Solutions ArchitectAzure MVP & MS RDhttp://guy.cloud