SlideShare a Scribd company logo
James Sturtevant
@aspenwilder
//jamessturtevant.com
James Sturtevant
Developer Experience
@aspenwilder
github.com/jsturtevant
//jamessturtevant.com
Serverless is to servers as wireless is
to wired.
Wireless internet still requires wires,
but customers don't need to
interact with them
{
"bindings": [
{
"name": "myQueueItem",
"type": "queueTrigger",
"direction": "in",
“queueName": "outputqueue",
"connection": "AzureWebJobsStorage"
},
{
"type": "blob",
"name": "outputBlob",
"path": "outblob/{rand-guid}.txt",
"connection": "AzureWebJobsStorage",
"direction": "out"
}
]
}
module.exports = function (context, myQueueItem, myOutputBlob) {
context.log('JavaScript queue trigger function ', myQueueItem);
//validate
if (myQueueItem.apiId && myQueueItem.method && myQueueItem.body)
{
const value = DoWork(myQueueItem);
if(value) {
context.bindings.myOutputBlob = JSON.stringify(value);
//myOutputBlob = JSON.stringify(value);
}
}
else {
//handle error queue item missing params
context.log('invalid queue item ', myQueueItem);
}
context.done();
}
https://github.com/Azure/Azure-Functions
Azure WebJobs SDK script
Azure WebJobs SDK
Azure WebJobs SDK extensions
Azure Functions CLI
Azure Functions Portal
Azure Functions templates
Azure Functions samples
ActionAnalyticsAggregation
Cloud
Gateway
Analytics, Storage & Routing
UI
LOB Connectivity
Solution UX
Cold Path
Hot Path
Business
Integration
Connectors
and
Gateway(s)
Cloud
Gateway
Personal
mobile
devices
Business
systems
Device Provisioning and Management
Devices
Azure IoT Suite Predictive Maintenance
Event Hub
Storage blobs DocumentDB
Web/
Mobile App
Stream
Analytics
Logic AppsIoT Hub Azure Function
Azure ML
https://www.microsoft.com/en-us/internet-of-things/azure-iot-suite
AlertingQueueRealtime processing
Pain Point
Time consuming, costly, and difficult to measure pH Balance.
pH levels in the water and nutrient streams change constantly.
pH needs to be more closely monitored and adjusted in real time.
Agreggation Store DataTransform
Pain Point
Pain Point
Lab technicians need to visit the housing units every three days
to change materials to ensure the measurements remain within
compliance even if the readings are within normal range.
Multitenant soluition segregates data into separate databases
and storage locations.
IoT Hub
Stream
Analytics
Alert ProcessingAlert Queue
Hot Path
Event Hub
Event Hub
Data integration
Data integration
Tenant DB’s
Device Mapping
DB
Long Term Blob
Cold Path
Cool Path
Ingestion Reporting
Pain Point
Pain Point
Difficult for Nullspace to debug from Seattle when
customers may reside across the world.
"It's useful to quickly retrieve the health of a suit remotely,
without having to sit down at the customer's computer. Our
electrical engineer can see the which zones are out, and
figure out the most obvious problems immediately."
Advance ProcessingBasic processing
Pain Point
Pain Point
Immediate hitting stats feedback is an involved process.
Currently, Sensors must be placed on the batsman and
expensive infra-red cameras must be set up in the batting
test location.
Cricket Bat
Sensor
Mobile
Device
Device
Registration
IoT Hub
Stream
Analytics
Blob Storage
PowerBI
FTIS
Processing
Event
Hub
Cloud
IoT
Edge
AI
IoT in the Cloud IoT on the Edge
Edge device
IoT Hub
Edge Hub
Edge ASA
Edge ML
• Costa Farms
http://aka.ms/costafarms
https://github.com/joescars/CostaIoTSensorProject
• Rockstep Solutions
https://aka.ms/rockstep
• Future Technologies in Sports
https://aka.ms/ftis
• Nullspace
https://github.com/DaveVoyles/NullspaceVR-web-portal
http://aka.ms/TryFunctions
https://aka.ms/func-github
James Sturtevant
@aspenwilder
//jamessturtevant.com

More Related Content

Similar to Serverless and IoT

AWS IoT Deep Dive
AWS IoT Deep DiveAWS IoT Deep Dive
AWS IoT Deep Dive
Kristana Kane
 
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
Amazon Web Services
 
Create The Internet of Your Things example of a real system - Laurent Ellerbach
Create The Internet of Your Things example of a real system - Laurent EllerbachCreate The Internet of Your Things example of a real system - Laurent Ellerbach
Create The Internet of Your Things example of a real system - Laurent Ellerbach
ITCamp
 
SRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoTSRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoT
Amazon Web Services
 
Azure IoT & ML Recap - 20180503
Azure IoT & ML Recap - 20180503Azure IoT & ML Recap - 20180503
Azure IoT & ML Recap - 20180503
Jamie (Taka) Wang
 
Code Europe - Azure Functions
Code Europe - Azure FunctionsCode Europe - Azure Functions
Code Europe - Azure Functions
Joe Raio
 
Metaverse and Digital Twins on Enterprise-Public.pdf
Metaverse and Digital Twins on Enterprise-Public.pdfMetaverse and Digital Twins on Enterprise-Public.pdf
Metaverse and Digital Twins on Enterprise-Public.pdf
湯米吳 Tommy Wu
 
IoT Smart Home
IoT Smart HomeIoT Smart Home
IoT Smart Home
Sergey Seletsky
 
IoT on azure
IoT on azureIoT on azure
IoT on azure
Joanna Lamch
 
Architecting io t solutions with microisoft azure ignite tour version
Architecting io t solutions with microisoft azure ignite tour versionArchitecting io t solutions with microisoft azure ignite tour version
Architecting io t solutions with microisoft azure ignite tour version
Alon Fliess
 
Microsoft Azure Big Data Analytics
Microsoft Azure Big Data AnalyticsMicrosoft Azure Big Data Analytics
Microsoft Azure Big Data Analytics
Mark Kromer
 
AWS IoT & ML Recap - 20180423
AWS IoT & ML Recap - 20180423AWS IoT & ML Recap - 20180423
AWS IoT & ML Recap - 20180423
Jamie (Taka) Wang
 
IoT cloud system implemented based on Azure services
IoT cloud system implemented based on Azure servicesIoT cloud system implemented based on Azure services
IoT cloud system implemented based on Azure services
Szymon Włodarczyk
 
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デ...
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デ...[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デ...
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デ...
Naoki (Neo) SATO
 
Azure IoT Summary
Azure IoT SummaryAzure IoT Summary
Azure IoT Summary
Todd Whitehead
 
Use .NET Core to create IoT Solutions
Use .NET Core to create IoT SolutionsUse .NET Core to create IoT Solutions
Use .NET Core to create IoT Solutions
John Chang
 
(MBL312) NEW! AWS IoT: Programming a Physical World w/ Shadows & Rules
(MBL312) NEW! AWS IoT: Programming a Physical World w/ Shadows & Rules(MBL312) NEW! AWS IoT: Programming a Physical World w/ Shadows & Rules
(MBL312) NEW! AWS IoT: Programming a Physical World w/ Shadows & Rules
Amazon Web Services
 
SRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoTSRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoT
Amazon Web Services
 
Deep Dive on AWS IoT
Deep Dive on AWS IoTDeep Dive on AWS IoT
Deep Dive on AWS IoT
Amazon Web Services
 
Intro to Databases
Intro to DatabasesIntro to Databases
Intro to Databases
Sargun Dhillon
 

Similar to Serverless and IoT (20)

AWS IoT Deep Dive
AWS IoT Deep DiveAWS IoT Deep Dive
AWS IoT Deep Dive
 
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
 
Create The Internet of Your Things example of a real system - Laurent Ellerbach
Create The Internet of Your Things example of a real system - Laurent EllerbachCreate The Internet of Your Things example of a real system - Laurent Ellerbach
Create The Internet of Your Things example of a real system - Laurent Ellerbach
 
SRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoTSRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoT
 
Azure IoT & ML Recap - 20180503
Azure IoT & ML Recap - 20180503Azure IoT & ML Recap - 20180503
Azure IoT & ML Recap - 20180503
 
Code Europe - Azure Functions
Code Europe - Azure FunctionsCode Europe - Azure Functions
Code Europe - Azure Functions
 
Metaverse and Digital Twins on Enterprise-Public.pdf
Metaverse and Digital Twins on Enterprise-Public.pdfMetaverse and Digital Twins on Enterprise-Public.pdf
Metaverse and Digital Twins on Enterprise-Public.pdf
 
IoT Smart Home
IoT Smart HomeIoT Smart Home
IoT Smart Home
 
IoT on azure
IoT on azureIoT on azure
IoT on azure
 
Architecting io t solutions with microisoft azure ignite tour version
Architecting io t solutions with microisoft azure ignite tour versionArchitecting io t solutions with microisoft azure ignite tour version
Architecting io t solutions with microisoft azure ignite tour version
 
Microsoft Azure Big Data Analytics
Microsoft Azure Big Data AnalyticsMicrosoft Azure Big Data Analytics
Microsoft Azure Big Data Analytics
 
AWS IoT & ML Recap - 20180423
AWS IoT & ML Recap - 20180423AWS IoT & ML Recap - 20180423
AWS IoT & ML Recap - 20180423
 
IoT cloud system implemented based on Azure services
IoT cloud system implemented based on Azure servicesIoT cloud system implemented based on Azure services
IoT cloud system implemented based on Azure services
 
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デ...
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デ...[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デ...
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デ...
 
Azure IoT Summary
Azure IoT SummaryAzure IoT Summary
Azure IoT Summary
 
Use .NET Core to create IoT Solutions
Use .NET Core to create IoT SolutionsUse .NET Core to create IoT Solutions
Use .NET Core to create IoT Solutions
 
(MBL312) NEW! AWS IoT: Programming a Physical World w/ Shadows & Rules
(MBL312) NEW! AWS IoT: Programming a Physical World w/ Shadows & Rules(MBL312) NEW! AWS IoT: Programming a Physical World w/ Shadows & Rules
(MBL312) NEW! AWS IoT: Programming a Physical World w/ Shadows & Rules
 
SRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoTSRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoT
 
Deep Dive on AWS IoT
Deep Dive on AWS IoTDeep Dive on AWS IoT
Deep Dive on AWS IoT
 
Intro to Databases
Intro to DatabasesIntro to Databases
Intro to Databases
 

Recently uploaded

Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Zilliz
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 

Recently uploaded (20)

Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 

Serverless and IoT

Editor's Notes

  1. Used azure functions? What language? In production? Lamda?
  2. Abstraction of servers, infrastructure and configuration of operating system Event-driven scale Sub-second billing Stateless Serverless compute is a fully managed service. Some refer to it as Functions as a Service OS and Framework patching is performed for you There is zero administrative tasks and no need to manage any infrastructure You just deploy your code (function) and it runs Your code runs within seconds and for very short period of time Serverless compute scales quickly (almost instantly) and vastly Automatically scales within seconds No scale configuration is required (there is no way to configure scale or limits) Scales to match any given workload. Scales from zero to handle tens of thousands concurrent functions invocations within seconds Pay only for the time your code is running Serverless compute reacts to events React, in near real-time, to events and triggers Triggered by virtually any event from Azure service or 3rd party services Setup time, provisioning is long & costly
  3. The difference between trigger and binding…
  4. IoT fits all of these categories. But what is iot?
  5. This pokes fun at the consumer side but there is a serious side of iot that causes real impact. There are a lot of different types of devices out there but all iot scenarios come down to three fundamental componenets.
  6. It is all about the action. Otherwise your just racking up a big bill for data. And nobody needs more data, they need insights into that data. And that is the heart of IoT today
  7. Every IoT project will have this general reference architecture. Talk through each component at a very high level. Mention our services.
  8. Hot path and cold path are just conceptual components. Functions have a part to play in every aspect
  9. How does it work? As mentioned; the solution is a combination of multiple back-end components. This architecture diagram shows the individual Microsoft products and services that are utilized. Reference Architecture for Remote Monitoring solution, what products are used and why? -> Provision simulated devices with a C# device emulator running .Net. Create agents for Linux, iOS, Android and other platforms with C and Java language support. IoT Hub manages the two way communication between cloud and device and creates a secure command and control channel. Azure Stream Analytics creates and manages jobs to recognize threshold values or detect alarm triggers, sending this information where it needs to be escalated. Event Hub is queried by a web job running an event processor host to determine where and alarm or alert needs to be pushed – such as sending an alert to dashboard for a human operator to take action. Logic Apps are used to create more complex work loads and integrate into line of business and other proprietary applications. Document DB stores all the metadata and device properties for each connected device. Blobs store telemetry information and telemetry data. Other tools such as Azure Machine Learning and PowerBI can access this information for data visualization or processing advanced analytics. Webapp – Dashboard code is available in Github allowing it to be fully customized by the user to align with a scenario or be relevant for an enterprise application. Azure Active Directory controls user ID’s and access, allowing the service to be shared with relevant decision makers within the business but restrict access to certain controls or devices. PowerBI is used for both open-source embedded components within the dashboard and also for complex external analytics of trends and patterns across all stored data.
  10. This is really the simplest and easiest IoT system to add a function into.
  11. Costa Farms is a third-generation, family-owned group of companies headquartered in beautiful Miami, Florida (aka, plant paradise!). The company sprouted in 1961 when the founder, Jose Costa Sr., purchased 30 acres south of Miami to grow fresh, vine-ripened tomatoes in the winter and calamondin citrus in the summer. That soon morphed into houseplants, and the Costa Farms family started innovating and introduced new houseplants such as the canela tree, orchids, and Cecilia Aglaonema. Costa Farms sells to big box stores such as Walmart, Home Depot, and Lowe’s.
  12. It’s time consuming, costly, and difficult for growers to measure and regulate pH throughout the day and across the lifecycle of a plant. Indeed, pH levels are one of the key factors in plant health. Furthermore, pH levels in the water and nutrient streams change constantly. To increase plant health via nutrient uptake in turn promoting higher yield, pH needs to be more closely monitored and adjusted in real time.
  13. Originally started with Event Hub, Switched to IoT Hub
  14. Show off the bindings and triggers. Simplified. There is business logic that look up phone numbers and number of times to send etc.
  15. This is a bit more along the scale side of things
  16. RockStep Solutions creates world-class scientific data management tools for research. Its innovative software system Climb is designed to transform and modernize information management in a laboratory setting. The RockStep team’s experience comes directly from years of working at the Jackson Laboratory in Bar Harbor, Maine. RockStep’s goal is to create software that enables science by leveraging the team’s experience working in research laboratories to build software that is easy to learn, usable anywhere, and truly valuable to research.
  17. Monitoring the environmental measurements in a research lab is costly. Currently, lab technicians need to visit the housing units every three days to change materials to ensure the measurements remain within compliance even if the readings are within normal range. Frequent changing of materials leads to higher labor and material costs and the change rate also has a direct effect on animal stress. University of Michigan. 1 million dolloar cost saving Another challenge RockStep faced was building a multitenanted IoT solution. RockStep designed its current Climb product as a multitenanted Azure solution and RockStep is directly integrating Climb with the IoT monitoring solution. As we built the solution over the course of the hackfest we solved the problem of having to segregate data into separate databases and storage locations.
  18. Why not use always on server since data flow is so heavy? Trade off was time to market.
  19. Again bindings. Talk about how can have multle record sets in eventhub queue because of scale.
  20. Instead of using iothub or
  21. The Seattle based [Hardlight VR](http://www.hardlightvr.com/) was founded in 2015, and invented the first affordable haptic feedback suit and software to provide real-time immersive VR experience. This device allows developers to track the entire upper body in virtual space, where gamers can now see their avatar, instead of just floating hands and a head in space. The team first appeared on Microsoft's radar as U.S. Finalists in the 2015 student startup competition, the [Imagine Cup](https://imagine.microsoft.com/en-US). Continuing their activity with Microsoft, they returned this year as mentors, to walk students through the process of pitching, raising capital, and entrepreneurship.
  22. When a suit has a hardware failure, whether it is a loose connection, broken mechanical device, or error with the software, it can be difficult for Nullspace to debug from Seattle when customers may reside across the world. Without some way to view the current status of the device while at the suit's physical location, the team is left blind. To solve this issue, Hardlight requires a solution to view the status of the suit in real-time, to assist with troubleshooting. >   *"It's useful to quickly retrieve the health of a suit remotely, without having to sit down at the customer's computer. Our electrical engineer can see the which zones are out, and figure out the most obvious problems immediately."* - **Casey Waldren - Lead Software Engineer, Hardlight VR**
  23. Great example as they will not always be on. Only when needed so great ingestion story around cost savings.
  24. Show off the request object binding
  25. Call back down to the device to turn on off. Make chages to processing etc.
  26. Future Technologies in Sport, Inc (FTIS) is transforming coaching and player performance, as well as umpiring and audience engagement in cricket and other batting sports, via their proprietary sensor and mobile app based solutions. FTIS has the only technology that can reliably, accurately, and affordably deliver: Power Hitting Levels Ball Location on Bat Bat Twist Bat Swing Speed and Plane Bat Orientation and Bat Angle The sensors are integrated into the bat; a Bluetooth device on the bat transmits sensor data to the cloud. The data will be distributed to apps for: Coaching and Performance Broadcaster Audience Engagement Officiating
  27. Same as before but gets interesting in next slide
  28. This is how we send back to device through iot hub
  29. Talk through how some of this logic we just saw could be pushed to edge server
  30. Edge and serverless. Thing of edge computing as CDN for compute.
  31. Show of alerting scenario in azure portal
  32. Thank you so much for coming out!