SlideShare una empresa de Scribd logo
1 de 44
Descargar para leer sin conexión
11/06/2019 Big Data class by Alexandre Bergere 1
11/06/2019 Big Data class by Alexandre Bergere 2
Telemetry Stream Analytics
cold
hot
11/06/2019 Big Data class by Alexandre Bergere 3
Build and deploy solution
For the puporse of the article, we will simulate a device through the Microsoft Azure device SDK for
Node.js. Our example will simulate a simple telemetry device, with the following structure:
azure-iot-sdk-node
{
“id”: “spaceneedle”
,temperature: 20 + (Math.random() * 10)
,localisation: {
type: “Point”
, coordinates: [2.3488, 48.8534]
}
,Owner: {
CompanyName: “Miscrosoft“
,id_companyName: “4309718283412”
}
}
11/06/2019 Big Data class by Alexandre Bergere 4
Create a Power BI
account
https://signup.microsoft.com/signup?Sku=a403ebcc-fae0-4ca2-8c8c-7a907fd6c235&ru=https%3A%2F%25app.powerbi.com&pbi_source=ASA
11/06/2019 Big Data class by Alexandre Bergere 5
real-time reporting
cold
hot
11/06/2019 Big Data class by Alexandre Bergere 6
Azure IoT Hub creation
step 1
o Access to Azure portal : https://portal.azure.com/
o Launch the service “Iot hub”
11/06/2019 Big Data class by Alexandre Bergere 7
Azure IoT Hub creation
step 1
o Create a new ressource group, which will be using for all the exercice
o Review + create
11/06/2019 Big Data class by Alexandre Bergere 8
Azure IoT Hub creation
step 1
11/06/2019 Big Data class by Alexandre Bergere 9
Azure IoT Hub device
creation
step 2
o Create a new device
11/06/2019 Big Data class by Alexandre Bergere 10
Azure IoT Hub device
creation
step 2
In «IoT Devices » pane:
o ID: enter a name keep it in mind for the
other steps
o Authentication type: Symmetric Key
o Auto Generate keys: checked
o Connect device to IoT Hub : enable
11/06/2019 Big Data class by Alexandre Bergere 11
Azure IoT Hub
configuration
step 3
In your new created device, copy the “Connection string (primary key)”
11/06/2019 Big Data class by Alexandre Bergere 12
Link solution to Azure IoT
Hub
step 4
In your sdk code, paste the “Connection string (primary key)”
11/06/2019 Big Data class by Alexandre Bergere 13
Blob Storage Creation
step 5
REST-based object storage for
unstructured data
Blob Storage
11/06/2019 Big Data class by Alexandre Bergere 14
Blob Storage Creation
step 5
11/06/2019 Big Data class by Alexandre Bergere 15
Create a blob storage
container
step 6
11/06/2019 Big Data class by Alexandre Bergere 16
Cosmos DB Creation
step 7
Globally distributed, multi-model
database for any scale
Azure Cosmos DB
11/06/2019 Big Data class by Alexandre Bergere 17
Cosmos DB Creation
step 7
For the purpose of this architecture we will
choose the Core(SQL) for the API.
11/06/2019 Big Data class by Alexandre Bergere 18
Cosmos DB Creation
step 7
11/06/2019 Big Data class by Alexandre Bergere 19
Stream Analytics job
creation
step 8
11/06/2019 Big Data class by Alexandre Bergere 20
Stream Analytics job
creation
step 8
o Name: choose a different name
o Subscription : choose between available subscriptions
o Resource group: select the previously created group
o Hosting environment: cloud
11/06/2019 Big Data class by Alexandre Bergere 21
Stream Analytics job
configuration
step 8
11/06/2019 Big Data class by Alexandre Bergere 22
Stream Analytics job
configuration
step 9
input : iot hub
11/06/2019 Big Data class by Alexandre Bergere 23
Stream Analytics job
configuration
step 9
output : Blob storage
11/06/2019 Big Data class by Alexandre Bergere 24
Stream Analytics job
configuration
step 9
output : Cosmos DB
o Document id: The name
of the field in output
events used to specify
the document id which
insert or update
operations are based
on.
In our example, we are
using the field “id” for that.
11/06/2019 Big Data class by Alexandre Bergere 25
Stream Analytics job
configuration
step 9
output : Power BI
11/06/2019 Big Data class by Alexandre Bergere 26
Stream Analytics job
configuration: query
step 10
11/06/2019 Big Data class by Alexandre Bergere 27
Start Stream Analytics job
step 11
11/06/2019 Big Data class by Alexandre Bergere 28
Launch app
step 12
Launch big_data_classes_iot_stream.js:
11/06/2019 Big Data class by Alexandre Bergere 29
Verify
step 13
Check if the data is sending in blob storage account:
Blob should be appear in your container.
11/06/2019 Big Data class by Alexandre Bergere 30
Power BI report: creation
step 14
11/06/2019 Big Data class by Alexandre Bergere 31
Power BI report: creation
step 14
Iot-telemetry-stream
11/06/2019 Big Data class by Alexandre Bergere 32
Power BI report: creation
step 14
11/06/2019 Big Data class by Alexandre Bergere 33
Add devices
step 15
Add 2 or 3 devices:
o Copy – paste the “big_data_classes_iot_stream.js” in multiple files (one for
each future device)
o Change the coordinates point and device name.
o Add devices in iot hub
o Use the new connection string in your js file created earlier
o You could see your different device in Power BI
11/06/2019 Big Data class by Alexandre Bergere 34
mail alert
cold
hot
11/06/2019 Big Data class by Alexandre Bergere 35
Service bus creation
step 1
11/06/2019 Big Data class by Alexandre Bergere 36
o Name: choose a different name
o Pricing tier: Standard
o Subscription : choose between available subscriptions
o Resource group: select the previously created group
Service bus creation
step 1
11/06/2019 Big Data class by Alexandre Bergere 37
Service bus configuration
step 2
Create a queue:
11/06/2019 Big Data class by Alexandre Bergere 38
Stream Analytics
configuration: output
step 3
11/06/2019 Big Data class by Alexandre Bergere 39
Logic app creation
step 4
11/06/2019 Big Data class by Alexandre Bergere 40
Logic app creation
step 4
o Name: choose a different name
o Subscription : choose between available subscriptions
o Resource group: select the previously created group
11/06/2019 Big Data class by Alexandre Bergere 41
Logic app configuration
step 5
11/06/2019 Big Data class by Alexandre Bergere 42
Logic app configuration
step 5
o Click on Create
o Select the service bus
youcreatedpreviously
o Select the
RootManageSharedAccessKeypolicy
o Give a name to the connection
o Select the queue
o Click on Next step and then in Add an
action
11/06/2019 Big Data class by Alexandre Bergere 43
Logic app configuration
step 5
o Click on Next step and then in Add an
action
o Look for Office 365 Outlook connector
o Configure the « Send a email » box
11/06/2019 Big Data class by Alexandre Bergere 44
Logic app configuration
step 5
o Configure the « Send a email » box
o Save the workflow, and run it
You can now follow the history of execution

Más contenido relacionado

La actualidad más candente

How Google Does Big Data - DevNexus 2014
How Google Does Big Data - DevNexus 2014How Google Does Big Data - DevNexus 2014
How Google Does Big Data - DevNexus 2014
James Chittenden
 

La actualidad más candente (20)

Databricks delta
Databricks deltaDatabricks delta
Databricks delta
 
Leveraging Cloud Analytics to Support Data-Driven Decisions
Leveraging Cloud Analytics to Support Data-Driven DecisionsLeveraging Cloud Analytics to Support Data-Driven Decisions
Leveraging Cloud Analytics to Support Data-Driven Decisions
 
Architecting Analytic Pipelines on GCP - Chicago Cloud Conference 2020
Architecting Analytic Pipelines on GCP - Chicago Cloud Conference 2020Architecting Analytic Pipelines on GCP - Chicago Cloud Conference 2020
Architecting Analytic Pipelines on GCP - Chicago Cloud Conference 2020
 
Big Data: Technical Introduction to BigSheets for InfoSphere BigInsights
Big Data:  Technical Introduction to BigSheets for InfoSphere BigInsightsBig Data:  Technical Introduction to BigSheets for InfoSphere BigInsights
Big Data: Technical Introduction to BigSheets for InfoSphere BigInsights
 
How Google Does Big Data - DevNexus 2014
How Google Does Big Data - DevNexus 2014How Google Does Big Data - DevNexus 2014
How Google Does Big Data - DevNexus 2014
 
Preparing Your Data for Cloud Analytics & AI/ML
Preparing Your Data for Cloud Analytics & AI/ML Preparing Your Data for Cloud Analytics & AI/ML
Preparing Your Data for Cloud Analytics & AI/ML
 
Google and big query
Google and big queryGoogle and big query
Google and big query
 
The Scout24 Data Platform (A Technical Deep Dive)
The Scout24 Data Platform (A Technical Deep Dive)The Scout24 Data Platform (A Technical Deep Dive)
The Scout24 Data Platform (A Technical Deep Dive)
 
IBM Cognos Business Intelligence using dashDB
IBM Cognos Business Intelligence using dashDBIBM Cognos Business Intelligence using dashDB
IBM Cognos Business Intelligence using dashDB
 
Build Data Lakes and Analytics on AWS: Patterns & Best Practices - BDA305 - A...
Build Data Lakes and Analytics on AWS: Patterns & Best Practices - BDA305 - A...Build Data Lakes and Analytics on AWS: Patterns & Best Practices - BDA305 - A...
Build Data Lakes and Analytics on AWS: Patterns & Best Practices - BDA305 - A...
 
Knowledge Graph for Machine Learning and Data Science
Knowledge Graph for Machine Learning and Data ScienceKnowledge Graph for Machine Learning and Data Science
Knowledge Graph for Machine Learning and Data Science
 
Datafl
DataflDatafl
Datafl
 
Power BI Dashboard | Microsoft Power BI Tutorial | Data Visualization | Edureka
Power BI Dashboard | Microsoft Power BI Tutorial | Data Visualization | EdurekaPower BI Dashboard | Microsoft Power BI Tutorial | Data Visualization | Edureka
Power BI Dashboard | Microsoft Power BI Tutorial | Data Visualization | Edureka
 
Net conf ar v2018 real time analytics
Net conf ar v2018 real time analyticsNet conf ar v2018 real time analytics
Net conf ar v2018 real time analytics
 
Syngenta's Predictive Analytics Platform for Seeds R&D
Syngenta's Predictive Analytics Platform for Seeds R&DSyngenta's Predictive Analytics Platform for Seeds R&D
Syngenta's Predictive Analytics Platform for Seeds R&D
 
Big Data Analytics from Azure Cloud to Power BI Mobile
Big Data Analytics from Azure Cloud to Power BI MobileBig Data Analytics from Azure Cloud to Power BI Mobile
Big Data Analytics from Azure Cloud to Power BI Mobile
 
Analytics in a Day Virtual Workshop
Analytics in a Day Virtual WorkshopAnalytics in a Day Virtual Workshop
Analytics in a Day Virtual Workshop
 
Big query
Big queryBig query
Big query
 
Data Mesh @ Yelp - 2019
Data Mesh @ Yelp - 2019Data Mesh @ Yelp - 2019
Data Mesh @ Yelp - 2019
 
Power BI Overview, Deployment and Governance
Power BI Overview, Deployment and GovernancePower BI Overview, Deployment and Governance
Power BI Overview, Deployment and Governance
 

Similar a Iot streaming with Azure Stream Analytics from IotHub to the full data slack

Opensocial Haifa Seminar - 2008.04.08
Opensocial Haifa Seminar - 2008.04.08Opensocial Haifa Seminar - 2008.04.08
Opensocial Haifa Seminar - 2008.04.08
Ari Leichtberg
 

Similar a Iot streaming with Azure Stream Analytics from IotHub to the full data slack (20)

Data Beats Emotions – How DATEV Generates Business Value with Data-driven Dec...
Data Beats Emotions – How DATEV Generates Business Value with Data-driven Dec...Data Beats Emotions – How DATEV Generates Business Value with Data-driven Dec...
Data Beats Emotions – How DATEV Generates Business Value with Data-driven Dec...
 
Azure IoT Hub on a Toradex Colibri VF61 – Part 3: Using Cloud Services to col...
Azure IoT Hub on a Toradex Colibri VF61 – Part 3: Using Cloud Services to col...Azure IoT Hub on a Toradex Colibri VF61 – Part 3: Using Cloud Services to col...
Azure IoT Hub on a Toradex Colibri VF61 – Part 3: Using Cloud Services to col...
 
Optimizely's Vision for Product Development Teams
Optimizely's Vision for Product Development TeamsOptimizely's Vision for Product Development Teams
Optimizely's Vision for Product Development Teams
 
Supercharge your data analytics with BigQuery
Supercharge your data analytics with BigQuerySupercharge your data analytics with BigQuery
Supercharge your data analytics with BigQuery
 
SQLArgentina - Data Platform Summit BA - Keynote
SQLArgentina - Data Platform Summit BA - KeynoteSQLArgentina - Data Platform Summit BA - Keynote
SQLArgentina - Data Platform Summit BA - Keynote
 
Collab365 - [FRENCH] Nouvelles options pour SharePoint 2016 et Office 365 c’e...
Collab365 - [FRENCH] Nouvelles options pour SharePoint 2016 et Office 365 c’e...Collab365 - [FRENCH] Nouvelles options pour SharePoint 2016 et Office 365 c’e...
Collab365 - [FRENCH] Nouvelles options pour SharePoint 2016 et Office 365 c’e...
 
Microsoft Azure News - November 2021
Microsoft Azure News - November 2021Microsoft Azure News - November 2021
Microsoft Azure News - November 2021
 
The Trinity in Exponential Technologies: Open Source, Blockchain and Microsof...
The Trinity in Exponential Technologies: Open Source, Blockchain and Microsof...The Trinity in Exponential Technologies: Open Source, Blockchain and Microsof...
The Trinity in Exponential Technologies: Open Source, Blockchain and Microsof...
 
Power bi and azure ml
Power bi and azure mlPower bi and azure ml
Power bi and azure ml
 
apidays LIVE Australia 2020 - From micro to macro-coordination through domain...
apidays LIVE Australia 2020 - From micro to macro-coordination through domain...apidays LIVE Australia 2020 - From micro to macro-coordination through domain...
apidays LIVE Australia 2020 - From micro to macro-coordination through domain...
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and Engineering
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and Engineering
 
Microsoft Azure News - September 2019
Microsoft Azure News - September 2019Microsoft Azure News - September 2019
Microsoft Azure News - September 2019
 
BI Scorecard Strategic and Product Summary - Q4 2014
BI Scorecard Strategic and Product Summary - Q4 2014BI Scorecard Strategic and Product Summary - Q4 2014
BI Scorecard Strategic and Product Summary - Q4 2014
 
Ai based analytics in the cloud
Ai based analytics in the cloudAi based analytics in the cloud
Ai based analytics in the cloud
 
Jack borden jb471909_segment
Jack borden jb471909_segmentJack borden jb471909_segment
Jack borden jb471909_segment
 
Opensocial Haifa Seminar - 2008.04.08
Opensocial Haifa Seminar - 2008.04.08Opensocial Haifa Seminar - 2008.04.08
Opensocial Haifa Seminar - 2008.04.08
 
Azure IOT: EVENT HUB & STREAM ANALYTICS & POWER BI
 Azure IOT: EVENT HUB & STREAM ANALYTICS & POWER BI Azure IOT: EVENT HUB & STREAM ANALYTICS & POWER BI
Azure IOT: EVENT HUB & STREAM ANALYTICS & POWER BI
 
Sharing Blockchain Performance Knowledge for Edge Service Development
Sharing Blockchain Performance Knowledge for Edge Service DevelopmentSharing Blockchain Performance Knowledge for Edge Service Development
Sharing Blockchain Performance Knowledge for Edge Service Development
 
Building Data Products with BigQuery for PPC and SEO (SMX 2022)
Building Data Products with BigQuery for PPC and SEO (SMX 2022)Building Data Products with BigQuery for PPC and SEO (SMX 2022)
Building Data Products with BigQuery for PPC and SEO (SMX 2022)
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

Iot streaming with Azure Stream Analytics from IotHub to the full data slack

  • 1. 11/06/2019 Big Data class by Alexandre Bergere 1
  • 2. 11/06/2019 Big Data class by Alexandre Bergere 2 Telemetry Stream Analytics cold hot
  • 3. 11/06/2019 Big Data class by Alexandre Bergere 3 Build and deploy solution For the puporse of the article, we will simulate a device through the Microsoft Azure device SDK for Node.js. Our example will simulate a simple telemetry device, with the following structure: azure-iot-sdk-node { “id”: “spaceneedle” ,temperature: 20 + (Math.random() * 10) ,localisation: { type: “Point” , coordinates: [2.3488, 48.8534] } ,Owner: { CompanyName: “Miscrosoft“ ,id_companyName: “4309718283412” } }
  • 4. 11/06/2019 Big Data class by Alexandre Bergere 4 Create a Power BI account https://signup.microsoft.com/signup?Sku=a403ebcc-fae0-4ca2-8c8c-7a907fd6c235&ru=https%3A%2F%25app.powerbi.com&pbi_source=ASA
  • 5. 11/06/2019 Big Data class by Alexandre Bergere 5 real-time reporting cold hot
  • 6. 11/06/2019 Big Data class by Alexandre Bergere 6 Azure IoT Hub creation step 1 o Access to Azure portal : https://portal.azure.com/ o Launch the service “Iot hub”
  • 7. 11/06/2019 Big Data class by Alexandre Bergere 7 Azure IoT Hub creation step 1 o Create a new ressource group, which will be using for all the exercice o Review + create
  • 8. 11/06/2019 Big Data class by Alexandre Bergere 8 Azure IoT Hub creation step 1
  • 9. 11/06/2019 Big Data class by Alexandre Bergere 9 Azure IoT Hub device creation step 2 o Create a new device
  • 10. 11/06/2019 Big Data class by Alexandre Bergere 10 Azure IoT Hub device creation step 2 In «IoT Devices » pane: o ID: enter a name keep it in mind for the other steps o Authentication type: Symmetric Key o Auto Generate keys: checked o Connect device to IoT Hub : enable
  • 11. 11/06/2019 Big Data class by Alexandre Bergere 11 Azure IoT Hub configuration step 3 In your new created device, copy the “Connection string (primary key)”
  • 12. 11/06/2019 Big Data class by Alexandre Bergere 12 Link solution to Azure IoT Hub step 4 In your sdk code, paste the “Connection string (primary key)”
  • 13. 11/06/2019 Big Data class by Alexandre Bergere 13 Blob Storage Creation step 5 REST-based object storage for unstructured data Blob Storage
  • 14. 11/06/2019 Big Data class by Alexandre Bergere 14 Blob Storage Creation step 5
  • 15. 11/06/2019 Big Data class by Alexandre Bergere 15 Create a blob storage container step 6
  • 16. 11/06/2019 Big Data class by Alexandre Bergere 16 Cosmos DB Creation step 7 Globally distributed, multi-model database for any scale Azure Cosmos DB
  • 17. 11/06/2019 Big Data class by Alexandre Bergere 17 Cosmos DB Creation step 7 For the purpose of this architecture we will choose the Core(SQL) for the API.
  • 18. 11/06/2019 Big Data class by Alexandre Bergere 18 Cosmos DB Creation step 7
  • 19. 11/06/2019 Big Data class by Alexandre Bergere 19 Stream Analytics job creation step 8
  • 20. 11/06/2019 Big Data class by Alexandre Bergere 20 Stream Analytics job creation step 8 o Name: choose a different name o Subscription : choose between available subscriptions o Resource group: select the previously created group o Hosting environment: cloud
  • 21. 11/06/2019 Big Data class by Alexandre Bergere 21 Stream Analytics job configuration step 8
  • 22. 11/06/2019 Big Data class by Alexandre Bergere 22 Stream Analytics job configuration step 9 input : iot hub
  • 23. 11/06/2019 Big Data class by Alexandre Bergere 23 Stream Analytics job configuration step 9 output : Blob storage
  • 24. 11/06/2019 Big Data class by Alexandre Bergere 24 Stream Analytics job configuration step 9 output : Cosmos DB o Document id: The name of the field in output events used to specify the document id which insert or update operations are based on. In our example, we are using the field “id” for that.
  • 25. 11/06/2019 Big Data class by Alexandre Bergere 25 Stream Analytics job configuration step 9 output : Power BI
  • 26. 11/06/2019 Big Data class by Alexandre Bergere 26 Stream Analytics job configuration: query step 10
  • 27. 11/06/2019 Big Data class by Alexandre Bergere 27 Start Stream Analytics job step 11
  • 28. 11/06/2019 Big Data class by Alexandre Bergere 28 Launch app step 12 Launch big_data_classes_iot_stream.js:
  • 29. 11/06/2019 Big Data class by Alexandre Bergere 29 Verify step 13 Check if the data is sending in blob storage account: Blob should be appear in your container.
  • 30. 11/06/2019 Big Data class by Alexandre Bergere 30 Power BI report: creation step 14
  • 31. 11/06/2019 Big Data class by Alexandre Bergere 31 Power BI report: creation step 14 Iot-telemetry-stream
  • 32. 11/06/2019 Big Data class by Alexandre Bergere 32 Power BI report: creation step 14
  • 33. 11/06/2019 Big Data class by Alexandre Bergere 33 Add devices step 15 Add 2 or 3 devices: o Copy – paste the “big_data_classes_iot_stream.js” in multiple files (one for each future device) o Change the coordinates point and device name. o Add devices in iot hub o Use the new connection string in your js file created earlier o You could see your different device in Power BI
  • 34. 11/06/2019 Big Data class by Alexandre Bergere 34 mail alert cold hot
  • 35. 11/06/2019 Big Data class by Alexandre Bergere 35 Service bus creation step 1
  • 36. 11/06/2019 Big Data class by Alexandre Bergere 36 o Name: choose a different name o Pricing tier: Standard o Subscription : choose between available subscriptions o Resource group: select the previously created group Service bus creation step 1
  • 37. 11/06/2019 Big Data class by Alexandre Bergere 37 Service bus configuration step 2 Create a queue:
  • 38. 11/06/2019 Big Data class by Alexandre Bergere 38 Stream Analytics configuration: output step 3
  • 39. 11/06/2019 Big Data class by Alexandre Bergere 39 Logic app creation step 4
  • 40. 11/06/2019 Big Data class by Alexandre Bergere 40 Logic app creation step 4 o Name: choose a different name o Subscription : choose between available subscriptions o Resource group: select the previously created group
  • 41. 11/06/2019 Big Data class by Alexandre Bergere 41 Logic app configuration step 5
  • 42. 11/06/2019 Big Data class by Alexandre Bergere 42 Logic app configuration step 5 o Click on Create o Select the service bus youcreatedpreviously o Select the RootManageSharedAccessKeypolicy o Give a name to the connection o Select the queue o Click on Next step and then in Add an action
  • 43. 11/06/2019 Big Data class by Alexandre Bergere 43 Logic app configuration step 5 o Click on Next step and then in Add an action o Look for Office 365 Outlook connector o Configure the « Send a email » box
  • 44. 11/06/2019 Big Data class by Alexandre Bergere 44 Logic app configuration step 5 o Configure the « Send a email » box o Save the workflow, and run it You can now follow the history of execution