SlideShare ist ein Scribd-Unternehmen logo
1 von 46
©  2016,  Amazon  Web  Services,  Inc.  or  its  Affiliates.  All  rights  reserved.
Ganesh  Raja
Solutions  Architect,  Amazon  Web  Services
Building  a  Real-­Time  Dashboard
Amazon  Kinesis,  AWS  Lambda  and  Amazon  Elasticsearch  Service
Technical  201
Agenda
• Streaming  Big  Data
• Introducing  Kinesis,  Lambda  and  Elasticsearch
• Building  the  Real-­Time  Dashboard
You’re  Likely  Already  “Streaming”
Sensor  networks  analytics
Ad  network  analytics
Log  shipping  and  centralisation
Click  stream  analysis
Gaming  status
Hardware  and  software  appliance  metrics
…more…
Let’s  Explore  Common  Challenges  
of  Streaming
One  common  starting  point  is  ingesting  records  
for  analysis
Elastic  Beanstalk
foo-­analysis.com
Global  top-­10
foo-­analysis.com
Too  big  to  handle  on  one  box
Global  top-­10Elastic  Beanstalk
foo-­analysis.com
Too  big  to  handle  on  one  box
Global  top-­10Elastic  Beanstalk
foo-­analysis.com
When  to  use  Stream  Processing
• “real-­time”  starts  coming  onto  the  radar
• The  time  to  answer  can’t  wait  for  batch  processing  times
• Instead  of  processing  serially  as  A  >  B  >  C  it  would  be  
better  to  have  a  fan  out  pattern
• The  records  are  just  a  means  to  an  end,  most  records  
can  be  immediately  archived  after  an  “answer”  is  
determined.
Kinesis
• For  Technical  Developers
• Build  your  own  custom  applications  
that  process  or  analyze  streaming  
data
• GA  at  re:Invent  2013
Amazon  Kinesis:  Streaming  Data  Made  Easy
Amazon  Kinesis  Streams
Amazon  Kinesis
Data  
Sources
Data  
Sources
Data  
Sources
Data  
Sources
Data  
Sources
AWS  Endpoint
Availability  
Zone
Shard  1
Shard  2
Shard  N
Availability  
Zone
Availability  
Zone
App.4
[Machine  
Learning]
App.1
[Aggregate  
&  De-­
Duplicate]
App.2
[Metric  
Extraction]
App.3
[Sliding  
Window  
Analysis]
S3
DynamoDB
Redshift
Elastic  Search
Sending  &  Reading  from  Kinesis  Streams
AWS  SDK
LOG4J
Flume
Fluentd
Get*  APIs
Kinesis  Client  Library
+
Connector  Library    
Apache  Storm
Amazon  Elastic  
MapReduce
Sending Consuming
AWS  Mobile  
SDK
Kinesis
Producer
Library
AWS  Lambda
Apache  Spark
• For  Technical  Developers
• Build  your  own  custom  applications  
that  process  or  analyze  streaming  
data
• GA  at  re:Invent  2013
Amazon  Kinesis:  Streaming  Data  Made  Easy
Services  make  it  easy  to  capture,  deliver  and  process  streams  on  AWS
Amazon  Kinesis  Streams
• For  all  developers,  data  scientists  
• Easily  load  massive  volumes  of  
streaming  data  into  S3  and  Redshift
• GA  at  re:Invent 2015
Amazon  Kinesis:  Streaming  Data  Made  Easy
Amazon  Kinesis  Firehose
Amazon  Kinesis  Firehose
Load  massive  volumes  of  streaming  data  into  Amazon  S3  and  Amazon  Redshift
Zero  administration
Direct-­to-­data  store  integration
Seamless  elasticity
Capture  and  submit  
streaming  data  to  Firehose
Analyze  streaming  data  using  your  
favorite  BI  tools  
Firehose  loads  streaming  data  
continuously  into  S3  and  Redshift  
• For  all  developers,  data  scientists  
• Easily  analyze  data  streams  using  
standard  SQL  queries
• Coming  soon  
Amazon  Kinesis:  Streaming  Data  Made  Easy
Amazon  Kinesis  Analytics
• Custom Processing
• Sub Second Response Time
• Complete control over Streams and Processing workflows
• Zero Administration
• Data Latency of over 60 Seconds
• Durable Delivery of data from Source to S3 / Redshift
What  is  Sonos?
Sonos  is  the  smart  
speaker  system  that  
streams  all  your  
favorite  music  to  any  
room,  or  every  room.
Control  your  music  with  
one  simple  app,  and  fill  
your  home  with  pure,  
immersive  sound.
What  is  Sonos?
A  Plethora  of  Data  Sources
Firmware  device  logs
Application  telemetry
Music  service  usage  metrics
Cloud  applications  logs
Performance  Indicators
Where  does  all  this  Wonderful  Data  Come  From?
Manufacturing  tests  and  yields
Diagnostics
Customer  support
Sales  and  marketing  data
Diagnostics
Where  does  all  this  Wonderful  Data  Come  From?
Sonos’  Streaming  Data  Architecture
Collect Store Process Consume
100K+  device  
Install  base  
1.5  B  Events
3  TB/  day
25  Shards
2KB  /  event
[5]  C4.2XL  
KCL
Revisit  our  Streaming  Application
Global  top-­10Elastic  Beanstalk
foo-­analysis.com
Data
Record
Stream
Shard
Partition  Key
Worker
My  top-­10
Data  Record
Shard:
Sequence  Number
14 17 18 21 23
Lambda
AWS  Lambda
Serverless,  event-­driven  compute  service
Lambda  =  microservice  without  servers
AWS  Lambda  – Benefits
EVENT-­DRIVEN  SCALESERVERLESS SUBSECOND  BILLING
AWS  Lambda  – Capabilities
SIMPLE  RESOURCE  MODEL
FLEXIBLE  INVOCATION  PATHS GRANULAR  PERMISSIONS  CONTROL  
BRING  YOUR  OWN  CODE
AWS  Lambda  – Use  Cases
Control  Systems
Customize  responses  
and  response  workflows  
to  state  and  data  
changes  within  AWS
Data  Processing
Execute  code  in  
response  to  changes  in  
data,  shifts  in  system  
state,  or  actions  by  users
Backends
Execute  backend  logic  to  
handle  requests  for  web,  
mobile,  IoT,  and  3rd APIs
More  Triggers  for  AWS  Lambda
AWS  
CloudFormation  
Custom  Resources
Amazon  SES  
Actions
Amazon  Cognito
Sync  Triggers
…  and  the  list  will  
continue  to  grow!
Amazon  SWF  
Tasks
Amazon  Echo  
Skills
AWS  Lambda  
Scheduled  Events
AWS  IoT  Actions
Common  Integration  Pattern  with  Kinesis
Easy  Real-­Time  Streaming  Architecture
Data  Ingestion  
with  Amazon  
Kinesis
(PUT  record)
Records  
retrieved  by  
AWS  Lambda
Your  code  runs  
once  per  [batch  of]  
records
Amazon S3
Amazon
DynamoDB
Smart  
Devices
Click  
Stream
Log  
Data
Amazon
Redshift
Revisit  our  Streaming  Application
Global  top-­10Elastic  Beanstalk
foo-­analysis.com
Data
Record
Stream
Shard
Partition  Key
Worker
My  top-­10
Data  Record
Shard:
Sequence  Number
14 17 18 21 23
Elasticsearch  as  a  Service
A  powerful,  real-­time,  distributed,  open-­source  search  and  
analytics  engine:
• Built  on  top  of  Apache  Lucene
• Schema  free
• Developer  friendly  RESTful API
Combined  with  Logstash  and  Kibana,  the  ELK  stack  
provides  a  tool  for  real-­time  analytics  and  data  visualisation
Introducing  Amazon  Elasticsearch  Service
• Managed  Service
• Easily  Operate  and  Scale
Key  benefits
Easy  cluster  
creation  and  
configuration  
management
Support  for  ELK Security  with  AWS  
IAM
Monitoring  with  
Amazon  
CloudWatch
Auditing  with  AWS  
CloudTrail
Integration  options  
with  other  AWS  
services  
(CloudWatch  Logs,  
Amazon  
DynamoDB,  
Amazon  S3,  
Amazon  Kinesis)
Revisit  our  Streaming  Application
Global  top-­10
Data
Record
Stream
Shard
Partition  Key
Worker
My  top-­10
Data  Record
Shard:
Sequence  Number
14 17 18 21 23
Building  the  Real-­time  Visualisation.
Building  the  Real-­time  Visualisation
Demo  Time
Building  the  Real-­time  Visualization
AWS  Training  &  Certification
Intro  Videos  &  Labs  
Free  videos  and  labs  to  
help  you  learn  to  work  
with  30+  AWS  services  
– in  minutes!
Training  Classes
In-­person  and  online  
courses  to  build  
technical  skills  –
taught  by  accredited  
AWS  instructors
Online  Labs  
Practice  working  with  
AWS  services  in  live  
environment  –
Learn  how  related  
services  work  
together
AWS  Certification
Validate  technical  
skills  and  expertise  –
identify  qualified  IT  
talent  or  show  you  
are  AWS  cloud  ready
Learn  more:  aws.amazon.com/training
Your  Training  Next  Steps:
ü Visit  the  AWS  Training  &  Certification  pod  to  discuss  your  
training  plan  &  AWS  Summit  training  offer
ü Register  &  attend  AWS  instructor  led  training
ü Get  Certified
AWS  Certified?  Visit  the  AWS  Summit  Certification  Lounge  to  pick  up  your  swag
Learn  more:  aws.amazon.com/training
Thank  you!

Weitere ähnliche Inhalte

Was ist angesagt?

AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)
AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)
AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)
Amazon Web Services Korea
 
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
Amazon Web Services Korea
 

Was ist angesagt? (20)

Speed up data preparation for ML pipelines on AWS
Speed up data preparation for ML pipelines on AWSSpeed up data preparation for ML pipelines on AWS
Speed up data preparation for ML pipelines on AWS
 
Databases on AWS Workshop.pdf
Databases on AWS Workshop.pdfDatabases on AWS Workshop.pdf
Databases on AWS Workshop.pdf
 
Building Data Lakes for Analytics on AWS
Building Data Lakes for Analytics on AWSBuilding Data Lakes for Analytics on AWS
Building Data Lakes for Analytics on AWS
 
Building a Development Workflow for Serverless Applications - March 2017 AWS ...
Building a Development Workflow for Serverless Applications - March 2017 AWS ...Building a Development Workflow for Serverless Applications - March 2017 AWS ...
Building a Development Workflow for Serverless Applications - March 2017 AWS ...
 
실시간 스트리밍 분석 Kinesis Data Analytics Deep Dive
실시간 스트리밍 분석  Kinesis Data Analytics Deep Dive실시간 스트리밍 분석  Kinesis Data Analytics Deep Dive
실시간 스트리밍 분석 Kinesis Data Analytics Deep Dive
 
AWS CloudFormation Masterclass
AWS CloudFormation MasterclassAWS CloudFormation Masterclass
AWS CloudFormation Masterclass
 
Visualizing Big Data Insights with Amazon QuickSight
Visualizing Big Data Insights with Amazon QuickSightVisualizing Big Data Insights with Amazon QuickSight
Visualizing Big Data Insights with Amazon QuickSight
 
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
 
AWS Lake Formation Deep Dive
AWS Lake Formation Deep DiveAWS Lake Formation Deep Dive
AWS Lake Formation Deep Dive
 
[AWS Builders] 클라우드 비용, 어떻게 줄일 수 있을까?
[AWS Builders] 클라우드 비용, 어떻게 줄일 수 있을까?[AWS Builders] 클라우드 비용, 어떻게 줄일 수 있을까?
[AWS Builders] 클라우드 비용, 어떻게 줄일 수 있을까?
 
Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나
Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나
Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나
 
Amazon Cognito Deep Dive
Amazon Cognito Deep DiveAmazon Cognito Deep Dive
Amazon Cognito Deep Dive
 
AWS Lake Formation을 통한 손쉬운 데이터 레이크 구성 및 관리 - 윤석찬 :: AWS Unboxing 온라인 세미나
AWS Lake Formation을 통한 손쉬운 데이터 레이크 구성 및 관리 - 윤석찬 :: AWS Unboxing 온라인 세미나AWS Lake Formation을 통한 손쉬운 데이터 레이크 구성 및 관리 - 윤석찬 :: AWS Unboxing 온라인 세미나
AWS Lake Formation을 통한 손쉬운 데이터 레이크 구성 및 관리 - 윤석찬 :: AWS Unboxing 온라인 세미나
 
Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017
Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017
Elastic Load Balancing Deep Dive and Best Practices - NET402 - re:Invent 2017
 
Aurora MySQL Backtrack을 이용한 빠른 복구 방법 - 진교선 :: AWS Database Modernization Day 온라인
Aurora MySQL Backtrack을 이용한 빠른 복구 방법 - 진교선 :: AWS Database Modernization Day 온라인Aurora MySQL Backtrack을 이용한 빠른 복구 방법 - 진교선 :: AWS Database Modernization Day 온라인
Aurora MySQL Backtrack을 이용한 빠른 복구 방법 - 진교선 :: AWS Database Modernization Day 온라인
 
K8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKSK8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKS
 
AWS로 데이터 마이그레이션을 위한 방안과 옵션 - 박성훈 스토리지 스페셜리스트 테크니컬 어카운트 매니저, AWS :: AWS Summit...
AWS로 데이터 마이그레이션을 위한 방안과 옵션 - 박성훈 스토리지 스페셜리스트 테크니컬 어카운트 매니저, AWS :: AWS Summit...AWS로 데이터 마이그레이션을 위한 방안과 옵션 - 박성훈 스토리지 스페셜리스트 테크니컬 어카운트 매니저, AWS :: AWS Summit...
AWS로 데이터 마이그레이션을 위한 방안과 옵션 - 박성훈 스토리지 스페셜리스트 테크니컬 어카운트 매니저, AWS :: AWS Summit...
 
AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)
AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)
AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)
 
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
 
Introduction to AWS Glue
Introduction to AWS GlueIntroduction to AWS Glue
Introduction to AWS Glue
 

Ähnlich wie Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon Elasticsearch - Technical 201

Ähnlich wie Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon Elasticsearch - Technical 201 (20)

The State of Serverless Computing | AWS Public Sector Summit 2017
The State of Serverless Computing | AWS Public Sector Summit 2017The State of Serverless Computing | AWS Public Sector Summit 2017
The State of Serverless Computing | AWS Public Sector Summit 2017
 
Accelerate your Cloud Success with Platform Services
Accelerate your Cloud Success with Platform ServicesAccelerate your Cloud Success with Platform Services
Accelerate your Cloud Success with Platform Services
 
BDA303 Serverless big data architectures: Design patterns and best practices
BDA303 Serverless big data architectures: Design patterns and best practicesBDA303 Serverless big data architectures: Design patterns and best practices
BDA303 Serverless big data architectures: Design patterns and best practices
 
Building a Data Processing Pipeline on AWS
Building a Data Processing Pipeline on AWSBuilding a Data Processing Pipeline on AWS
Building a Data Processing Pipeline on AWS
 
Em tempo real: Ingestão, processamento e analise de dados
Em tempo real: Ingestão, processamento e analise de dadosEm tempo real: Ingestão, processamento e analise de dados
Em tempo real: Ingestão, processamento e analise de dados
 
AWS May Webinar Series - Streaming Data Processing with Amazon Kinesis and AW...
AWS May Webinar Series - Streaming Data Processing with Amazon Kinesis and AW...AWS May Webinar Series - Streaming Data Processing with Amazon Kinesis and AW...
AWS May Webinar Series - Streaming Data Processing with Amazon Kinesis and AW...
 
Easy Analytics with AWS - AWS Summit Bahrain 2017
Easy Analytics with AWS - AWS Summit Bahrain 2017Easy Analytics with AWS - AWS Summit Bahrain 2017
Easy Analytics with AWS - AWS Summit Bahrain 2017
 
Getting Started with Amazon Kinesis
Getting Started with Amazon KinesisGetting Started with Amazon Kinesis
Getting Started with Amazon Kinesis
 
SMC301 The State of Serverless Computing
SMC301 The State of Serverless ComputingSMC301 The State of Serverless Computing
SMC301 The State of Serverless Computing
 
AWS March 2016 Webinar Series Getting Started with Serverless Architectures
AWS March 2016 Webinar Series   Getting Started with Serverless ArchitecturesAWS March 2016 Webinar Series   Getting Started with Serverless Architectures
AWS March 2016 Webinar Series Getting Started with Serverless Architectures
 
Building a Data Processing Pipeline on AWS - AWS Summit SG 2017
Building a Data Processing Pipeline on AWS - AWS Summit SG 2017Building a Data Processing Pipeline on AWS - AWS Summit SG 2017
Building a Data Processing Pipeline on AWS - AWS Summit SG 2017
 
Serverless Big Data Architectures: Serverless Data Analytics
Serverless Big Data Architectures: Serverless Data AnalyticsServerless Big Data Architectures: Serverless Data Analytics
Serverless Big Data Architectures: Serverless Data Analytics
 
Deep dive and best practices on real time streaming applications nyc-loft_oct...
Deep dive and best practices on real time streaming applications nyc-loft_oct...Deep dive and best practices on real time streaming applications nyc-loft_oct...
Deep dive and best practices on real time streaming applications nyc-loft_oct...
 
Build an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersBuild an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million Users
 
SRV203 Getting Started with AWS Lambda and the Serverless Cloud
SRV203 Getting Started with AWS Lambda and the Serverless CloudSRV203 Getting Started with AWS Lambda and the Serverless Cloud
SRV203 Getting Started with AWS Lambda and the Serverless Cloud
 
Getting Started with AWS Lambda and the Serverless Cloud - AWS Summit Cape T...
 Getting Started with AWS Lambda and the Serverless Cloud - AWS Summit Cape T... Getting Started with AWS Lambda and the Serverless Cloud - AWS Summit Cape T...
Getting Started with AWS Lambda and the Serverless Cloud - AWS Summit Cape T...
 
Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016
Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016
Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016
 
Build an app on aws for your first 10 million users (2)
Build an app on aws for your first 10 million users (2)Build an app on aws for your first 10 million users (2)
Build an app on aws for your first 10 million users (2)
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
AWS re:Invent 2016: Event Handling at Scale: Designing an Auditable Ingestion...
AWS re:Invent 2016: Event Handling at Scale: Designing an Auditable Ingestion...AWS re:Invent 2016: Event Handling at Scale: Designing an Auditable Ingestion...
AWS re:Invent 2016: Event Handling at Scale: Designing an Auditable Ingestion...
 

Mehr von Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Mehr von Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
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
 
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
 
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
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

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
 
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
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
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
 
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
 
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
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
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
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
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
 
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, ...
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 

Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon Elasticsearch - Technical 201

  • 1. ©  2016,  Amazon  Web  Services,  Inc.  or  its  Affiliates.  All  rights  reserved. Ganesh  Raja Solutions  Architect,  Amazon  Web  Services Building  a  Real-­Time  Dashboard Amazon  Kinesis,  AWS  Lambda  and  Amazon  Elasticsearch  Service Technical  201
  • 2. Agenda • Streaming  Big  Data • Introducing  Kinesis,  Lambda  and  Elasticsearch • Building  the  Real-­Time  Dashboard
  • 3. You’re  Likely  Already  “Streaming” Sensor  networks  analytics Ad  network  analytics Log  shipping  and  centralisation Click  stream  analysis Gaming  status Hardware  and  software  appliance  metrics …more…
  • 4. Let’s  Explore  Common  Challenges   of  Streaming
  • 5. One  common  starting  point  is  ingesting  records   for  analysis Elastic  Beanstalk foo-­analysis.com Global  top-­10 foo-­analysis.com
  • 6. Too  big  to  handle  on  one  box Global  top-­10Elastic  Beanstalk foo-­analysis.com
  • 7. Too  big  to  handle  on  one  box Global  top-­10Elastic  Beanstalk foo-­analysis.com
  • 8. When  to  use  Stream  Processing • “real-­time”  starts  coming  onto  the  radar • The  time  to  answer  can’t  wait  for  batch  processing  times • Instead  of  processing  serially  as  A  >  B  >  C  it  would  be   better  to  have  a  fan  out  pattern • The  records  are  just  a  means  to  an  end,  most  records   can  be  immediately  archived  after  an  “answer”  is   determined.
  • 10. • For  Technical  Developers • Build  your  own  custom  applications   that  process  or  analyze  streaming   data • GA  at  re:Invent  2013 Amazon  Kinesis:  Streaming  Data  Made  Easy Amazon  Kinesis  Streams
  • 11. Amazon  Kinesis Data   Sources Data   Sources Data   Sources Data   Sources Data   Sources AWS  Endpoint Availability   Zone Shard  1 Shard  2 Shard  N Availability   Zone Availability   Zone App.4 [Machine   Learning] App.1 [Aggregate   &  De-­ Duplicate] App.2 [Metric   Extraction] App.3 [Sliding   Window   Analysis] S3 DynamoDB Redshift Elastic  Search
  • 12. Sending  &  Reading  from  Kinesis  Streams AWS  SDK LOG4J Flume Fluentd Get*  APIs Kinesis  Client  Library + Connector  Library     Apache  Storm Amazon  Elastic   MapReduce Sending Consuming AWS  Mobile   SDK Kinesis Producer Library AWS  Lambda Apache  Spark
  • 13. • For  Technical  Developers • Build  your  own  custom  applications   that  process  or  analyze  streaming   data • GA  at  re:Invent  2013 Amazon  Kinesis:  Streaming  Data  Made  Easy Services  make  it  easy  to  capture,  deliver  and  process  streams  on  AWS Amazon  Kinesis  Streams
  • 14. • For  all  developers,  data  scientists   • Easily  load  massive  volumes  of   streaming  data  into  S3  and  Redshift • GA  at  re:Invent 2015 Amazon  Kinesis:  Streaming  Data  Made  Easy Amazon  Kinesis  Firehose
  • 15. Amazon  Kinesis  Firehose Load  massive  volumes  of  streaming  data  into  Amazon  S3  and  Amazon  Redshift Zero  administration Direct-­to-­data  store  integration Seamless  elasticity Capture  and  submit   streaming  data  to  Firehose Analyze  streaming  data  using  your   favorite  BI  tools   Firehose  loads  streaming  data   continuously  into  S3  and  Redshift  
  • 16. • For  all  developers,  data  scientists   • Easily  analyze  data  streams  using   standard  SQL  queries • Coming  soon   Amazon  Kinesis:  Streaming  Data  Made  Easy Amazon  Kinesis  Analytics
  • 17. • Custom Processing • Sub Second Response Time • Complete control over Streams and Processing workflows • Zero Administration • Data Latency of over 60 Seconds • Durable Delivery of data from Source to S3 / Redshift
  • 18. What  is  Sonos? Sonos  is  the  smart   speaker  system  that   streams  all  your   favorite  music  to  any   room,  or  every  room.
  • 19. Control  your  music  with   one  simple  app,  and  fill   your  home  with  pure,   immersive  sound. What  is  Sonos?
  • 20. A  Plethora  of  Data  Sources
  • 21. Firmware  device  logs Application  telemetry Music  service  usage  metrics Cloud  applications  logs Performance  Indicators Where  does  all  this  Wonderful  Data  Come  From?
  • 22. Manufacturing  tests  and  yields Diagnostics Customer  support Sales  and  marketing  data Diagnostics Where  does  all  this  Wonderful  Data  Come  From?
  • 23. Sonos’  Streaming  Data  Architecture Collect Store Process Consume 100K+  device   Install  base   1.5  B  Events 3  TB/  day 25  Shards 2KB  /  event [5]  C4.2XL   KCL
  • 24. Revisit  our  Streaming  Application Global  top-­10Elastic  Beanstalk foo-­analysis.com Data Record Stream Shard Partition  Key Worker My  top-­10 Data  Record Shard: Sequence  Number 14 17 18 21 23
  • 26. AWS  Lambda Serverless,  event-­driven  compute  service Lambda  =  microservice  without  servers
  • 27. AWS  Lambda  – Benefits EVENT-­DRIVEN  SCALESERVERLESS SUBSECOND  BILLING
  • 28. AWS  Lambda  – Capabilities SIMPLE  RESOURCE  MODEL FLEXIBLE  INVOCATION  PATHS GRANULAR  PERMISSIONS  CONTROL   BRING  YOUR  OWN  CODE
  • 29. AWS  Lambda  – Use  Cases Control  Systems Customize  responses   and  response  workflows   to  state  and  data   changes  within  AWS Data  Processing Execute  code  in   response  to  changes  in   data,  shifts  in  system   state,  or  actions  by  users Backends Execute  backend  logic  to   handle  requests  for  web,   mobile,  IoT,  and  3rd APIs
  • 30. More  Triggers  for  AWS  Lambda AWS   CloudFormation   Custom  Resources Amazon  SES   Actions Amazon  Cognito Sync  Triggers …  and  the  list  will   continue  to  grow! Amazon  SWF   Tasks Amazon  Echo   Skills AWS  Lambda   Scheduled  Events AWS  IoT  Actions
  • 31. Common  Integration  Pattern  with  Kinesis
  • 32. Easy  Real-­Time  Streaming  Architecture Data  Ingestion   with  Amazon   Kinesis (PUT  record) Records   retrieved  by   AWS  Lambda Your  code  runs   once  per  [batch  of]   records Amazon S3 Amazon DynamoDB Smart   Devices Click   Stream Log   Data Amazon Redshift
  • 33. Revisit  our  Streaming  Application Global  top-­10Elastic  Beanstalk foo-­analysis.com Data Record Stream Shard Partition  Key Worker My  top-­10 Data  Record Shard: Sequence  Number 14 17 18 21 23
  • 35. A  powerful,  real-­time,  distributed,  open-­source  search  and   analytics  engine: • Built  on  top  of  Apache  Lucene • Schema  free • Developer  friendly  RESTful API
  • 36. Combined  with  Logstash  and  Kibana,  the  ELK  stack   provides  a  tool  for  real-­time  analytics  and  data  visualisation
  • 37. Introducing  Amazon  Elasticsearch  Service • Managed  Service • Easily  Operate  and  Scale
  • 38. Key  benefits Easy  cluster   creation  and   configuration   management Support  for  ELK Security  with  AWS   IAM Monitoring  with   Amazon   CloudWatch Auditing  with  AWS   CloudTrail Integration  options   with  other  AWS   services   (CloudWatch  Logs,   Amazon   DynamoDB,   Amazon  S3,   Amazon  Kinesis)
  • 39. Revisit  our  Streaming  Application Global  top-­10 Data Record Stream Shard Partition  Key Worker My  top-­10 Data  Record Shard: Sequence  Number 14 17 18 21 23
  • 40. Building  the  Real-­time  Visualisation.
  • 41. Building  the  Real-­time  Visualisation
  • 43. Building  the  Real-­time  Visualization
  • 44. AWS  Training  &  Certification Intro  Videos  &  Labs   Free  videos  and  labs  to   help  you  learn  to  work   with  30+  AWS  services   – in  minutes! Training  Classes In-­person  and  online   courses  to  build   technical  skills  – taught  by  accredited   AWS  instructors Online  Labs   Practice  working  with   AWS  services  in  live   environment  – Learn  how  related   services  work   together AWS  Certification Validate  technical   skills  and  expertise  – identify  qualified  IT   talent  or  show  you   are  AWS  cloud  ready Learn  more:  aws.amazon.com/training
  • 45. Your  Training  Next  Steps: ü Visit  the  AWS  Training  &  Certification  pod  to  discuss  your   training  plan  &  AWS  Summit  training  offer ü Register  &  attend  AWS  instructor  led  training ü Get  Certified AWS  Certified?  Visit  the  AWS  Summit  Certification  Lounge  to  pick  up  your  swag Learn  more:  aws.amazon.com/training