Getting started with azure event hubs and stream analytics services

21
Getting started with Azure Event Hubs and Stream Analytic Services

Transcript of Getting started with azure event hubs and stream analytics services

Page 1: Getting started with azure event hubs and stream analytics services

Getting started with Azure Event Hubsand Stream Analytic Services

Page 2: Getting started with azure event hubs and stream analytics services
Page 3: Getting started with azure event hubs and stream analytics services

Processing streaming data – use cases

• Automotive - fleet tracking, operations telemetry • Medical - vital signs, fitness and health monitoring • Meteorology - weather and environmental data   • Software - applications performance and instrumentation

data • Home automation – energy efficiency, home security• Agriculture/farming – crops and cattle monitoring

Page 4: Getting started with azure event hubs and stream analytics services

Connected cow

Page 5: Getting started with azure event hubs and stream analytics services

End-to-end stream processing architecture

Page 6: Getting started with azure event hubs and stream analytics services

Producing sensor data with Raspberry Pi

Page 7: Getting started with azure event hubs and stream analytics services

Azure Service Bus

Source: https://channel9.msdn.com/Events/TechEd/Europe/2014/CDP-B307

Page 8: Getting started with azure event hubs and stream analytics services

Azure Event Hub

Cloud Services

Storage & Analytics

Custom Code & 3rd Party ServicesWeb/Mobile User InterfacesIntegration Services

Event Hub

- Hyper Scale -- Fully Managed -- Interoperable -

- Secure -- Cost Effective -

Page 9: Getting started with azure event hubs and stream analytics services

Azure Event Hub (cont.)

Page 10: Getting started with azure event hubs and stream analytics services

DEMO

• Create Azure Event Hub• Read events using console windows app• Send events using Python script on Raspberry Pi

Page 11: Getting started with azure event hubs and stream analytics services

Azure Stream Analytics

• Managed service in Azure Cloud• Build for hyper-scale• Cost effective• Real-time data processing• Developer productivity

Page 12: Getting started with azure event hubs and stream analytics services

Azure Stream Analytics: Basic Job Topology

Page 13: Getting started with azure event hubs and stream analytics services

Inputs

• Data Stream• Reference data• Supported data formats:

• JSON• CSV• Apache Avro (binary JSON)

Page 14: Getting started with azure event hubs and stream analytics services

Outputs

• Azure Tables or Blob• SQL Database• Event Hub• Service Bus Queue/Topic• PowerBI dataset• DocumentDB

Page 15: Getting started with azure event hubs and stream analytics services

Query - SQL like language with built in temporal semantics

Page 16: Getting started with azure event hubs and stream analytics services

Azure Stream Analytics: Grouping data - Windowing

Tumbling window

Aggregate per time interval

Hopping window

Schedule overlapping windows

Sliding window

Window constantly re-evaluated

Page 17: Getting started with azure event hubs and stream analytics services

DEMO

• Create Azure Stream Analytics job• Add input/output to job topology• Write pass-through query to archive events to Azure

Table• Write aggregate query to save temp averages only to

Azure Table• Web-dashboard demo

Page 18: Getting started with azure event hubs and stream analytics services

ANATOMY OF A H4CK3R ATTACK

Page 19: Getting started with azure event hubs and stream analytics services

DEMO

• Review CurcuitBreaker app• Review CurcuitBreaker ASA query• Run real-time Dashboard• Hack into Steel Mountain!

Page 20: Getting started with azure event hubs and stream analytics services

Q&A

Page 21: Getting started with azure event hubs and stream analytics services

THANK YOU

Vladimir BychkovTechnical Team [email protected]