SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Downloaden Sie, um offline zu lesen
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS re:INVENT
Build a Telemetry and Analytics
Pipeline for Game Balancing
Nirav Doshi - niravdd@amazon.com - Sr. Technical Account Manager, AWS ANZ
Brent Maxwell - braxwell@amazon.com - Solutions Architect, AWS ANZ
G A M 3 1 0
N o v e m b e r 2 7 , 2 0 1 7
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Workshop Agenda (2 hours, 30 mins)
Prerequisites, preparation, setup
Game data, analytics
The game
The bot
1. Analytics pipeline (45 mins)
2. Serverless analytics pipeline (15 mins)
3. Analytics on the stream (20 mins)
4. Big data analytics (40 mins)
Learnings, Q&A
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Prerequisites, Preparation & Setup
AWS account and admin access setup
The instructional guide
- amzn.to/GAM310
- Start with the prerequisites section
- Keep your ACCESS_KEY/SECRET_KEY handy
Experimentation encouraged!… however -
- Follow the instructions precisely, avoid digressing
- Try out options, only when asked to
Workshop support
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Game Data & Analytics
Real-time player and game data
- Game balancing - Marketing
- Fraud investigation - Debugging, other
Gaming companies & data crunching
Common practices Challenges
Self-managed large on-
premises data crunching
environments
- Scalability
- Spiraling Costs (Infra, Resources)
Third-party products and
services
- Data Ownership/Restrictions
- Security
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Game Data & Analytics
Harvest your data!
Using flexible, extensible, managed solutions
Ingest — Store — Analyze — Consume
Interact with your data any way you like
Pick and choose tools, customize interactions
Leverage the scalability of the cloud
Take ownership of your data in a secure manner
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The Game
Fictitious role-playing game
Game client emits data
- Player demographics
- Player unit—attributes
- Enemy units—attributes
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The Bot
Simple data generator*
- How a real-time streaming app behaves?
- KPL, faker.js
- Game-play data is generated by the bot
Game-play data constitutes
- Player demographics
- Game-play data – game level, squad stats, boss stats, result
* Thanks to Bashar Al-fallouji (AWS Solutions Architect, Sydney) for his excellent bot!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1. Analytics Pipeline
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Purpose & Outcome
Basic pipeline, easily customizable
Similar to existing analytics products/services in the market
Store raw stream data to Amazon Redshift and visualize
Game balancing, analysis
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis Streams
For developers
Collect and stream data for
ordered, re-playable, real-
time processing
Amazon Kinesis Firehose
For developers, data scientists
Easily load massive volumes
of streaming data into
Amazon S3, Amazon Redshift
or Amazon EMR
Amazon Kinesis Analytics
For developers, data scientists
Easily analyze data streams
using standard SQL queries in
real-time
Amazon Kinesis
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis Streams
Storage
AWS Global Infrastructure
App services
Deployment and administration
Networking
Analytics
Compute Database
• Ingest streaming data
• Process data in real-time
• Stream terabytes of data per hour
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis Streams
Store data as a continuous stream
• Easy administration: simply create a new stream and set the desired level of capacity with shards. Scale to
match your data throughput rate and volume
• Build real-time applications: perform continual processing on streaming big data using Amazon Kinesis
Client Library (KCL), Apache Spark/Storm, AWS Lambda, and more
• Low cost: cost-efficient for workloads of any scale
Send clickstream data
to Kinesis Streams
Kinesis Streams stores and
exposes clickstream data
for processing
Custom application built
on Kinesis Client Library
makes real-time content
recommendations
Readers see personalized
content suggestions
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Load massive volumes of streaming data into destinations
• Zero administration: capture and deliver streaming data into Amazon Simple Storage Service (S3), Amazon
Redshift, and other destinations without writing an application or managing infrastructure
• Direct-to-data store integration: batch, compress, and encrypt streaming data for delivery into data
destinations in as little as 60 seconds using simple configurations
• Seamless elasticity: seamlessly scale to match data throughput without intervention
Amazon Kinesis Firehose
Capture and submit
streaming data to Kinesis
Firehose
Kinesis Firehose loads streaming
data continuously into Amazon S3
and Amazon Redshift
Analyze streaming data
using your favourite BI Tools
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Storage
AWS Global Infrastructure
App services
Deployment and administration
Networking
Compute Database
Analytics
Amazon S3
• Scalable object storage
• 1 byte to 5 TB in size per object,
unlimited number of objects
• 99.999999999% durability, 99.9%
availability
• Regional service, no single points
of failure
• Server Side Encryption (SSE)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Deployment and administration
Compute Storage
AWS Global Infrastructure
Database
App services
Networking
Analytics
Amazon Redshift
• Managed massively parallel
petabyte scale data warehouse
• Streaming backup/restore to
Amazon S3
• Load data from Amazon S3, Amazon
DynamoDB and Amazon EMR
• Extensive security features
• Online scaling from 160 GB to 2 PB
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Storage
AWS Global Infrastructure
App services
Deployment and administration
Networking
Analytics
Compute Database
Amazon QuickSight
• BI service, perform impromptu
analysis
• Build visualizations
• Share and collaborate via
storyboards
• Native access on major mobile
platforms
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Analytics Pipeline
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Analytics Pipeline
amzn.to/GAM310
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2. Serverless Analytics Pipeline
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Purpose & Outcome
Use Amazon S3 for data storage and Amazon Athena to query the data
Powerful and easy tool for data scientists, game designers, game
producers, and server developers
Perform standard SQL queries on stored data
You may also use Amazon Elasticsearch (Amazon ES) and Kibana to process
and visualize data as part of another serverless analytics pipeline
Suitable for server/client log processing and querying
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Storage
AWS Global Infrastructure
App services
Deployment and administration
Networking
Analytics
Compute Database
Amazon Athena
• Query and analyze data stored on
Amazon S3 with standard (ANSI)
SQL queries
• No ETL required
• Serverless and simple
• Pay per query, on the amount of
data scanned
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Storage
AWS Global Infrastructure
App services
Deployment and administration
Networking
Analytics
Compute Database
Amazon Elasticsearch Service
• Setup an Amazon Elasticsearch
Service cluster in minutes
• Integrated with Logstash and
Kibana
• Scale Amazon ES clusters
seamlessly
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Serverless Analytics Pipeline
amzn.to/GAM310
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3. Analytics on the Stream
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Purpose & Outcome
Execute real-time SQL queries on the streaming data
Create alerts, get notified, and act/respond quicker
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• SQL queries on streams: easily connect to a Kinesis stream or Firehose delivery stream and run SQL
queries against the data
• Build real-time applications: perform continual processing on streaming big data with sub-second
processing latencies
• Easy scalability: elastically scales to match data throughput
Amazon Kinesis Analytics
Connect to Kinesis Streams,
Kinesis Firehose delivery
streams
Run standard SQL queries against
the data streams
Kinesis Analytics can send
processed data to analytics
tools so you can create
alerts and act in real time
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Analytics on the Stream
amzn.to/GAM310
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
4. Big Data Analytics
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Purpose & Outcome
Process large amount of data using a Hadoop cluster (Amazon EMR)
Analyse processed data to investigate game imbalance
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Storage
AWS Global Infrastructure
App services
Deployment and administration
Networking
Analytics
Compute Database
Amazon EMR
• Scalable Hadoop/Spark clusters as
a service
• Launch a cluster in minutes
• Easy to use: fully managed
• HDFS, Amazon EBS, and Amazon
S3 file systems
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Scalability and elasticity
- Resize a running cluster based on work to be
done
Durability and availability
- Fault-tolerant for slave node (HDFS)
- Backup to Amazon S3 for resilience against
master node failures
Standard interfaces
- Hive, Pig, Spark, HBase, Impala, Hunk,
Presto, Zeppelin, and other popular tools
Amazon EMR
Amazon EMR cluster
Amazon EMR cluster
Amazon EMR cluster
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Big Data Analytics
amzn.to/GAM310
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Learnings
Takeaways:
• Set up and take control of your flexible, extensible, and secure analytics pipeline
• Ingest, process, and refine own game-play data to improve game operations
• Extract powerful insights from your own data, act quicker
• Make the best of streaming tech and managed services for smarter operations
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you!
Workshop team:
Nirav Doshi - niravdd@amazon.com
Brent Maxwell - braxwell@amazon.com
Keith Lafaso - lafaso@amazon.com
Beomseok Lee - beomseok@amazon.com

Weitere ähnliche Inhalte

Was ist angesagt?

An Introduction to Generative AI
An Introduction  to Generative AIAn Introduction  to Generative AI
An Introduction to Generative AICori Faklaris
 
Data Lake Overview
Data Lake OverviewData Lake Overview
Data Lake OverviewJames Serra
 
[DSC Europe 23] Tamara Stankovic - From Prompt To Product Microsoft 365 Copil...
[DSC Europe 23] Tamara Stankovic - From Prompt To Product Microsoft 365 Copil...[DSC Europe 23] Tamara Stankovic - From Prompt To Product Microsoft 365 Copil...
[DSC Europe 23] Tamara Stankovic - From Prompt To Product Microsoft 365 Copil...DataScienceConferenc1
 
Getting Started with AWS Database Migration Service
Getting Started with AWS Database Migration ServiceGetting Started with AWS Database Migration Service
Getting Started with AWS Database Migration ServiceAmazon Web Services
 
AWS Data Analytics on AWS
AWS Data Analytics on AWSAWS Data Analytics on AWS
AWS Data Analytics on AWSsampath439572
 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overviewJames Serra
 
Using the power of Generative AI at scale
Using the power of Generative AI at scaleUsing the power of Generative AI at scale
Using the power of Generative AI at scaleMaxim Salnikov
 
Using Big Data to Driving Big Engagement
Using Big Data to Driving Big EngagementUsing Big Data to Driving Big Engagement
Using Big Data to Driving Big EngagementAmazon Web Services
 
Generative AI at the edge.pdf
Generative AI at the edge.pdfGenerative AI at the edge.pdf
Generative AI at the edge.pdfQualcomm Research
 
Gartner report on cloud360 cloud management platform
Gartner report on cloud360 cloud management platformGartner report on cloud360 cloud management platform
Gartner report on cloud360 cloud management platformCognizant
 
The Top 5 Event Streaming Use Cases & Architectures in 2021
The Top 5 Event Streaming Use Cases & Architectures in 2021The Top 5 Event Streaming Use Cases & Architectures in 2021
The Top 5 Event Streaming Use Cases & Architectures in 2021confluent
 
Deploying End-to-End Deep Learning Pipelines with ONNX
Deploying End-to-End Deep Learning Pipelines with ONNXDeploying End-to-End Deep Learning Pipelines with ONNX
Deploying End-to-End Deep Learning Pipelines with ONNXDatabricks
 
Google Firebase Presentation
Google Firebase PresentationGoogle Firebase Presentation
Google Firebase PresentationAeni Patel
 
Suresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdf
Suresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdfSuresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdf
Suresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdfAWS Chicago
 
Introduction to Artificial Intelligence on AWS
Introduction to Artificial Intelligence on AWSIntroduction to Artificial Intelligence on AWS
Introduction to Artificial Intelligence on AWSAmazon Web Services
 

Was ist angesagt? (20)

An Introduction to Generative AI
An Introduction  to Generative AIAn Introduction  to Generative AI
An Introduction to Generative AI
 
Data Lake Overview
Data Lake OverviewData Lake Overview
Data Lake Overview
 
[DSC Europe 23] Tamara Stankovic - From Prompt To Product Microsoft 365 Copil...
[DSC Europe 23] Tamara Stankovic - From Prompt To Product Microsoft 365 Copil...[DSC Europe 23] Tamara Stankovic - From Prompt To Product Microsoft 365 Copil...
[DSC Europe 23] Tamara Stankovic - From Prompt To Product Microsoft 365 Copil...
 
Getting Started with AWS Database Migration Service
Getting Started with AWS Database Migration ServiceGetting Started with AWS Database Migration Service
Getting Started with AWS Database Migration Service
 
AWS Data Analytics on AWS
AWS Data Analytics on AWSAWS Data Analytics on AWS
AWS Data Analytics on AWS
 
introduction Azure OpenAI by Usama wahab khan
introduction  Azure OpenAI by Usama wahab khanintroduction  Azure OpenAI by Usama wahab khan
introduction Azure OpenAI by Usama wahab khan
 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overview
 
Using the power of Generative AI at scale
Using the power of Generative AI at scaleUsing the power of Generative AI at scale
Using the power of Generative AI at scale
 
Using Big Data to Driving Big Engagement
Using Big Data to Driving Big EngagementUsing Big Data to Driving Big Engagement
Using Big Data to Driving Big Engagement
 
Generative AI
Generative AIGenerative AI
Generative AI
 
Generative AI at the edge.pdf
Generative AI at the edge.pdfGenerative AI at the edge.pdf
Generative AI at the edge.pdf
 
Gartner report on cloud360 cloud management platform
Gartner report on cloud360 cloud management platformGartner report on cloud360 cloud management platform
Gartner report on cloud360 cloud management platform
 
Introduction to Amazon DynamoDB
Introduction to Amazon DynamoDBIntroduction to Amazon DynamoDB
Introduction to Amazon DynamoDB
 
Generative AI
Generative AIGenerative AI
Generative AI
 
The Top 5 Event Streaming Use Cases & Architectures in 2021
The Top 5 Event Streaming Use Cases & Architectures in 2021The Top 5 Event Streaming Use Cases & Architectures in 2021
The Top 5 Event Streaming Use Cases & Architectures in 2021
 
Deploying End-to-End Deep Learning Pipelines with ONNX
Deploying End-to-End Deep Learning Pipelines with ONNXDeploying End-to-End Deep Learning Pipelines with ONNX
Deploying End-to-End Deep Learning Pipelines with ONNX
 
Google Firebase Presentation
Google Firebase PresentationGoogle Firebase Presentation
Google Firebase Presentation
 
Suresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdf
Suresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdfSuresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdf
Suresh Poopandi_Generative AI On AWS-MidWestCommunityDay-Final.pdf
 
NVIDIA @ AI FEST
NVIDIA @ AI FESTNVIDIA @ AI FEST
NVIDIA @ AI FEST
 
Introduction to Artificial Intelligence on AWS
Introduction to Artificial Intelligence on AWSIntroduction to Artificial Intelligence on AWS
Introduction to Artificial Intelligence on AWS
 

Ähnlich wie GAM310_Build a Telemetry and Analytics Pipeline for Game Balancing

Analyzing Streaming Data in Real-time with Amazon Kinesis
Analyzing Streaming Data in Real-time with Amazon KinesisAnalyzing Streaming Data in Real-time with Amazon Kinesis
Analyzing Streaming Data in Real-time with Amazon KinesisAmazon Web Services
 
Building a Real-Time Data Platform on AWS
Building a Real-Time Data Platform on AWSBuilding a Real-Time Data Platform on AWS
Building a Real-Time Data Platform on AWSInjae Kwak
 
From Batch to Streaming - How Amazon Flex Uses Real-time Analytics
From Batch to Streaming - How Amazon Flex Uses Real-time AnalyticsFrom Batch to Streaming - How Amazon Flex Uses Real-time Analytics
From Batch to Streaming - How Amazon Flex Uses Real-time AnalyticsAmazon Web Services
 
Real-time Analytics using Data from IoT Devices - AWS Online Tech Talks
Real-time Analytics using Data from IoT Devices - AWS Online Tech TalksReal-time Analytics using Data from IoT Devices - AWS Online Tech Talks
Real-time Analytics using Data from IoT Devices - AWS Online Tech TalksAmazon Web Services
 
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...Amazon Web Services
 
How TrueCar Gains Actionable Insights with Splunk Cloud PPT
How TrueCar Gains Actionable Insights with Splunk Cloud PPTHow TrueCar Gains Actionable Insights with Splunk Cloud PPT
How TrueCar Gains Actionable Insights with Splunk Cloud PPTAmazon Web Services
 
ABD203_Real-Time Streaming Applications on AWS
ABD203_Real-Time Streaming Applications on AWSABD203_Real-Time Streaming Applications on AWS
ABD203_Real-Time Streaming Applications on AWSAmazon Web Services
 
ABD301-Analyzing Streaming Data in Real Time with Amazon Kinesis
ABD301-Analyzing Streaming Data in Real Time with Amazon KinesisABD301-Analyzing Streaming Data in Real Time with Amazon Kinesis
ABD301-Analyzing Streaming Data in Real Time with Amazon KinesisAmazon Web Services
 
FSV305-Optimizing Payments Collections with Containers and Machine Learning
FSV305-Optimizing Payments Collections with Containers and Machine LearningFSV305-Optimizing Payments Collections with Containers and Machine Learning
FSV305-Optimizing Payments Collections with Containers and Machine LearningAmazon Web Services
 
How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...
How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...
How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...Amazon Web Services
 
Serverless Stream Processing Tips & Tricks - BDA311 - Chicago AWS Summit
Serverless Stream Processing Tips & Tricks - BDA311 - Chicago AWS SummitServerless Stream Processing Tips & Tricks - BDA311 - Chicago AWS Summit
Serverless Stream Processing Tips & Tricks - BDA311 - Chicago AWS SummitAmazon Web Services
 
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018Amazon Web Services
 
Fanatics Ingests Streaming Data to a Data Lake on AWS
Fanatics Ingests Streaming Data to a Data Lake on AWSFanatics Ingests Streaming Data to a Data Lake on AWS
Fanatics Ingests Streaming Data to a Data Lake on AWSAmazon Web Services
 
ABD206-Building Visualizations and Dashboards with Amazon QuickSight
ABD206-Building Visualizations and Dashboards with Amazon QuickSightABD206-Building Visualizations and Dashboards with Amazon QuickSight
ABD206-Building Visualizations and Dashboards with Amazon QuickSightAmazon Web Services
 
ABD201-Big Data Architectural Patterns and Best Practices on AWS
ABD201-Big Data Architectural Patterns and Best Practices on AWSABD201-Big Data Architectural Patterns and Best Practices on AWS
ABD201-Big Data Architectural Patterns and Best Practices on AWSAmazon Web Services
 
Serverless Stream Processing Pipeline Best Practices (SRV316-R1) - AWS re:Inv...
Serverless Stream Processing Pipeline Best Practices (SRV316-R1) - AWS re:Inv...Serverless Stream Processing Pipeline Best Practices (SRV316-R1) - AWS re:Inv...
Serverless Stream Processing Pipeline Best Practices (SRV316-R1) - AWS re:Inv...Amazon Web Services
 
ABD317_Building Your First Big Data Application on AWS - ABD317
ABD317_Building Your First Big Data Application on AWS - ABD317ABD317_Building Your First Big Data Application on AWS - ABD317
ABD317_Building Your First Big Data Application on AWS - ABD317Amazon Web Services
 
NEW LAUNCH! AWS IoT Analytics from Consumer IoT to Industrial IoT - IOT211 - ...
NEW LAUNCH! AWS IoT Analytics from Consumer IoT to Industrial IoT - IOT211 - ...NEW LAUNCH! AWS IoT Analytics from Consumer IoT to Industrial IoT - IOT211 - ...
NEW LAUNCH! AWS IoT Analytics from Consumer IoT to Industrial IoT - IOT211 - ...Amazon Web Services
 

Ähnlich wie GAM310_Build a Telemetry and Analytics Pipeline for Game Balancing (20)

Analyzing Streaming Data in Real-time with Amazon Kinesis
Analyzing Streaming Data in Real-time with Amazon KinesisAnalyzing Streaming Data in Real-time with Amazon Kinesis
Analyzing Streaming Data in Real-time with Amazon Kinesis
 
Building a Real-Time Data Platform on AWS
Building a Real-Time Data Platform on AWSBuilding a Real-Time Data Platform on AWS
Building a Real-Time Data Platform on AWS
 
From Batch to Streaming - How Amazon Flex Uses Real-time Analytics
From Batch to Streaming - How Amazon Flex Uses Real-time AnalyticsFrom Batch to Streaming - How Amazon Flex Uses Real-time Analytics
From Batch to Streaming - How Amazon Flex Uses Real-time Analytics
 
Real-time Analytics using Data from IoT Devices - AWS Online Tech Talks
Real-time Analytics using Data from IoT Devices - AWS Online Tech TalksReal-time Analytics using Data from IoT Devices - AWS Online Tech Talks
Real-time Analytics using Data from IoT Devices - AWS Online Tech Talks
 
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
 
How TrueCar Gains Actionable Insights with Splunk Cloud PPT
How TrueCar Gains Actionable Insights with Splunk Cloud PPTHow TrueCar Gains Actionable Insights with Splunk Cloud PPT
How TrueCar Gains Actionable Insights with Splunk Cloud PPT
 
ABD203_Real-Time Streaming Applications on AWS
ABD203_Real-Time Streaming Applications on AWSABD203_Real-Time Streaming Applications on AWS
ABD203_Real-Time Streaming Applications on AWS
 
ABD301-Analyzing Streaming Data in Real Time with Amazon Kinesis
ABD301-Analyzing Streaming Data in Real Time with Amazon KinesisABD301-Analyzing Streaming Data in Real Time with Amazon Kinesis
ABD301-Analyzing Streaming Data in Real Time with Amazon Kinesis
 
FSV305-Optimizing Payments Collections with Containers and Machine Learning
FSV305-Optimizing Payments Collections with Containers and Machine LearningFSV305-Optimizing Payments Collections with Containers and Machine Learning
FSV305-Optimizing Payments Collections with Containers and Machine Learning
 
How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...
How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...
How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...
 
Serverless Stream Processing Tips & Tricks - BDA311 - Chicago AWS Summit
Serverless Stream Processing Tips & Tricks - BDA311 - Chicago AWS SummitServerless Stream Processing Tips & Tricks - BDA311 - Chicago AWS Summit
Serverless Stream Processing Tips & Tricks - BDA311 - Chicago AWS Summit
 
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
 
STG401_This Is My Architecture
STG401_This Is My ArchitectureSTG401_This Is My Architecture
STG401_This Is My Architecture
 
Fanatics Ingests Streaming Data to a Data Lake on AWS
Fanatics Ingests Streaming Data to a Data Lake on AWSFanatics Ingests Streaming Data to a Data Lake on AWS
Fanatics Ingests Streaming Data to a Data Lake on AWS
 
ABD206-Building Visualizations and Dashboards with Amazon QuickSight
ABD206-Building Visualizations and Dashboards with Amazon QuickSightABD206-Building Visualizations and Dashboards with Amazon QuickSight
ABD206-Building Visualizations and Dashboards with Amazon QuickSight
 
ABD201-Big Data Architectural Patterns and Best Practices on AWS
ABD201-Big Data Architectural Patterns and Best Practices on AWSABD201-Big Data Architectural Patterns and Best Practices on AWS
ABD201-Big Data Architectural Patterns and Best Practices on AWS
 
Serverless Stream Processing Pipeline Best Practices (SRV316-R1) - AWS re:Inv...
Serverless Stream Processing Pipeline Best Practices (SRV316-R1) - AWS re:Inv...Serverless Stream Processing Pipeline Best Practices (SRV316-R1) - AWS re:Inv...
Serverless Stream Processing Pipeline Best Practices (SRV316-R1) - AWS re:Inv...
 
ABD217_From Batch to Streaming
ABD217_From Batch to StreamingABD217_From Batch to Streaming
ABD217_From Batch to Streaming
 
ABD317_Building Your First Big Data Application on AWS - ABD317
ABD317_Building Your First Big Data Application on AWS - ABD317ABD317_Building Your First Big Data Application on AWS - ABD317
ABD317_Building Your First Big Data Application on AWS - ABD317
 
NEW LAUNCH! AWS IoT Analytics from Consumer IoT to Industrial IoT - IOT211 - ...
NEW LAUNCH! AWS IoT Analytics from Consumer IoT to Industrial IoT - IOT211 - ...NEW LAUNCH! AWS IoT Analytics from Consumer IoT to Industrial IoT - IOT211 - ...
NEW LAUNCH! AWS IoT Analytics from Consumer IoT to Industrial IoT - IOT211 - ...
 

Mehr von Amazon Web Services

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...Amazon Web Services
 
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...Amazon Web Services
 
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 FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
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 Amazon Web Services
 
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...Amazon Web Services
 
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...Amazon Web Services
 
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 WorkloadsAmazon Web Services
 
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 sfatareAmazon Web Services
 
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 NodeJSAmazon Web Services
 
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 webAmazon Web Services
 
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 sfatareAmazon 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 AWSAmazon 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 DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon 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
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon 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
 

GAM310_Build a Telemetry and Analytics Pipeline for Game Balancing

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS re:INVENT Build a Telemetry and Analytics Pipeline for Game Balancing Nirav Doshi - niravdd@amazon.com - Sr. Technical Account Manager, AWS ANZ Brent Maxwell - braxwell@amazon.com - Solutions Architect, AWS ANZ G A M 3 1 0 N o v e m b e r 2 7 , 2 0 1 7
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Workshop Agenda (2 hours, 30 mins) Prerequisites, preparation, setup Game data, analytics The game The bot 1. Analytics pipeline (45 mins) 2. Serverless analytics pipeline (15 mins) 3. Analytics on the stream (20 mins) 4. Big data analytics (40 mins) Learnings, Q&A
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Prerequisites, Preparation & Setup AWS account and admin access setup The instructional guide - amzn.to/GAM310 - Start with the prerequisites section - Keep your ACCESS_KEY/SECRET_KEY handy Experimentation encouraged!… however - - Follow the instructions precisely, avoid digressing - Try out options, only when asked to Workshop support
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Game Data & Analytics Real-time player and game data - Game balancing - Marketing - Fraud investigation - Debugging, other Gaming companies & data crunching Common practices Challenges Self-managed large on- premises data crunching environments - Scalability - Spiraling Costs (Infra, Resources) Third-party products and services - Data Ownership/Restrictions - Security
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Game Data & Analytics Harvest your data! Using flexible, extensible, managed solutions Ingest — Store — Analyze — Consume Interact with your data any way you like Pick and choose tools, customize interactions Leverage the scalability of the cloud Take ownership of your data in a secure manner
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The Game Fictitious role-playing game Game client emits data - Player demographics - Player unit—attributes - Enemy units—attributes
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The Bot Simple data generator* - How a real-time streaming app behaves? - KPL, faker.js - Game-play data is generated by the bot Game-play data constitutes - Player demographics - Game-play data – game level, squad stats, boss stats, result * Thanks to Bashar Al-fallouji (AWS Solutions Architect, Sydney) for his excellent bot!
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1. Analytics Pipeline
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Purpose & Outcome Basic pipeline, easily customizable Similar to existing analytics products/services in the market Store raw stream data to Amazon Redshift and visualize Game balancing, analysis
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Streams For developers Collect and stream data for ordered, re-playable, real- time processing Amazon Kinesis Firehose For developers, data scientists Easily load massive volumes of streaming data into Amazon S3, Amazon Redshift or Amazon EMR Amazon Kinesis Analytics For developers, data scientists Easily analyze data streams using standard SQL queries in real-time Amazon Kinesis
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Streams Storage AWS Global Infrastructure App services Deployment and administration Networking Analytics Compute Database • Ingest streaming data • Process data in real-time • Stream terabytes of data per hour
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Kinesis Streams Store data as a continuous stream • Easy administration: simply create a new stream and set the desired level of capacity with shards. Scale to match your data throughput rate and volume • Build real-time applications: perform continual processing on streaming big data using Amazon Kinesis Client Library (KCL), Apache Spark/Storm, AWS Lambda, and more • Low cost: cost-efficient for workloads of any scale Send clickstream data to Kinesis Streams Kinesis Streams stores and exposes clickstream data for processing Custom application built on Kinesis Client Library makes real-time content recommendations Readers see personalized content suggestions
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Load massive volumes of streaming data into destinations • Zero administration: capture and deliver streaming data into Amazon Simple Storage Service (S3), Amazon Redshift, and other destinations without writing an application or managing infrastructure • Direct-to-data store integration: batch, compress, and encrypt streaming data for delivery into data destinations in as little as 60 seconds using simple configurations • Seamless elasticity: seamlessly scale to match data throughput without intervention Amazon Kinesis Firehose Capture and submit streaming data to Kinesis Firehose Kinesis Firehose loads streaming data continuously into Amazon S3 and Amazon Redshift Analyze streaming data using your favourite BI Tools
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Storage AWS Global Infrastructure App services Deployment and administration Networking Compute Database Analytics Amazon S3 • Scalable object storage • 1 byte to 5 TB in size per object, unlimited number of objects • 99.999999999% durability, 99.9% availability • Regional service, no single points of failure • Server Side Encryption (SSE)
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Deployment and administration Compute Storage AWS Global Infrastructure Database App services Networking Analytics Amazon Redshift • Managed massively parallel petabyte scale data warehouse • Streaming backup/restore to Amazon S3 • Load data from Amazon S3, Amazon DynamoDB and Amazon EMR • Extensive security features • Online scaling from 160 GB to 2 PB
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Storage AWS Global Infrastructure App services Deployment and administration Networking Analytics Compute Database Amazon QuickSight • BI service, perform impromptu analysis • Build visualizations • Share and collaborate via storyboards • Native access on major mobile platforms
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Analytics Pipeline
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Analytics Pipeline amzn.to/GAM310
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2. Serverless Analytics Pipeline
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Purpose & Outcome Use Amazon S3 for data storage and Amazon Athena to query the data Powerful and easy tool for data scientists, game designers, game producers, and server developers Perform standard SQL queries on stored data You may also use Amazon Elasticsearch (Amazon ES) and Kibana to process and visualize data as part of another serverless analytics pipeline Suitable for server/client log processing and querying
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Storage AWS Global Infrastructure App services Deployment and administration Networking Analytics Compute Database Amazon Athena • Query and analyze data stored on Amazon S3 with standard (ANSI) SQL queries • No ETL required • Serverless and simple • Pay per query, on the amount of data scanned
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Storage AWS Global Infrastructure App services Deployment and administration Networking Analytics Compute Database Amazon Elasticsearch Service • Setup an Amazon Elasticsearch Service cluster in minutes • Integrated with Logstash and Kibana • Scale Amazon ES clusters seamlessly
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless Analytics Pipeline amzn.to/GAM310
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3. Analytics on the Stream
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Purpose & Outcome Execute real-time SQL queries on the streaming data Create alerts, get notified, and act/respond quicker
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • SQL queries on streams: easily connect to a Kinesis stream or Firehose delivery stream and run SQL queries against the data • Build real-time applications: perform continual processing on streaming big data with sub-second processing latencies • Easy scalability: elastically scales to match data throughput Amazon Kinesis Analytics Connect to Kinesis Streams, Kinesis Firehose delivery streams Run standard SQL queries against the data streams Kinesis Analytics can send processed data to analytics tools so you can create alerts and act in real time
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Analytics on the Stream amzn.to/GAM310
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 4. Big Data Analytics
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Purpose & Outcome Process large amount of data using a Hadoop cluster (Amazon EMR) Analyse processed data to investigate game imbalance
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Storage AWS Global Infrastructure App services Deployment and administration Networking Analytics Compute Database Amazon EMR • Scalable Hadoop/Spark clusters as a service • Launch a cluster in minutes • Easy to use: fully managed • HDFS, Amazon EBS, and Amazon S3 file systems
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Scalability and elasticity - Resize a running cluster based on work to be done Durability and availability - Fault-tolerant for slave node (HDFS) - Backup to Amazon S3 for resilience against master node failures Standard interfaces - Hive, Pig, Spark, HBase, Impala, Hunk, Presto, Zeppelin, and other popular tools Amazon EMR Amazon EMR cluster Amazon EMR cluster Amazon EMR cluster
  • 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Big Data Analytics amzn.to/GAM310
  • 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Learnings Takeaways: • Set up and take control of your flexible, extensible, and secure analytics pipeline • Ingest, process, and refine own game-play data to improve game operations • Extract powerful insights from your own data, act quicker • Make the best of streaming tech and managed services for smarter operations
  • 34. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you! Workshop team: Nirav Doshi - niravdd@amazon.com Brent Maxwell - braxwell@amazon.com Keith Lafaso - lafaso@amazon.com Beomseok Lee - beomseok@amazon.com