(mbl305) the world cup second screen experience | aws re:invent 2014
DESCRIPTION
How can you combine the power of the cloud to provide an immersive real-time experience for your mobile and television viewers? andquot;Second Screen Experienceandquot; provides an enhanced viewing experience for your users. We present best practices for implementing these experiences irrespective of your users' platform. Magazine Luiza is one of the largest retail chains in Brazil and was a sponsor of the Top TV station in the country during the FIFA World Cup. They ran ads on game intervals and reached spikes of four times more traffic by mobile users. Come see how they built the second screen experience and the architecture to manage the Magazine Luiza mobile strategy on top of AWS.TRANSCRIPT
![Page 1: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/1.jpg)
![Page 2: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/2.jpg)
SECOND SCREEN
![Page 3: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/3.jpg)
VISIWARE
![Page 4: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/4.jpg)
MEDIA GAMIFICATION
![Page 5: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/5.jpg)
NETCO SPORTS
![Page 6: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/6.jpg)
MEDIA ENRICHMENT~80 EVENTS DURING A MATCH
SHOT BY 5+ CAMERAS
![Page 7: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/7.jpg)
![Page 8: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/8.jpg)
![Page 9: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/9.jpg)
EVENT
SOURCE
GAME
DATA
VIDEO
STREAM
![Page 10: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/10.jpg)
Thiago Catoto, Luiza Labs
![Page 11: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/11.jpg)
Magazine Luiza700+ STORES
8 DISTRIBUTION CENTERS
23k+ WORKERS
25 MILLION CUSTOMERS
MULTI-CHANNEL STRATEGY
![Page 12: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/12.jpg)
Send message based on the game score
Send user to our web app
![Page 13: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/13.jpg)
![Page 14: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/14.jpg)
2nd PARTHALF
TIME1st PART
PU
SH
NO
TIF
ICA
TIO
N
PU
SH
NO
TIF
ICA
TIO
N
![Page 15: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/15.jpg)
![Page 16: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/16.jpg)
![Page 17: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/17.jpg)
*
![Page 18: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/18.jpg)
![Page 19: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/19.jpg)
![Page 20: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/20.jpg)
![Page 21: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/21.jpg)
![Page 22: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/22.jpg)
while (response is None) or (next_token is not None):
response = conn.list_endpoints_by_platform_application(application, next_token=next_token)
next_token = response['ListEndpointsByPlatformApplicationResponse']['ListEndpointsByPlatformApplicationResult']['NextToken']
endpoints = response['ListEndpointsByPlatformApplicationResponse']['ListEndpointsByPlatformApplicationResult']['Endpoints']
![Page 23: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/23.jpg)
for endpoint in endpoints:
try:
if endpoint['Attributes']['Enabled'] == 'true':
response = conn.publish(message=message,target_arn=endpoint['EndpointArn’])
except BotoServerError, e:
not_publish_count = (not_publish_count + 1)
![Page 24: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/24.jpg)
![Page 25: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/25.jpg)
response = conn.publish(topic=platform_applications_topic, message=message)
![Page 26: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/26.jpg)
![Page 27: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/27.jpg)
![Page 28: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/28.jpg)
![Page 29: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/29.jpg)
![Page 30: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/30.jpg)
Thanks!
Thiago Catoto, Luiza Labs
![Page 31: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/31.jpg)
Gateway to AWS: Cognito Identity
Amazon Cognito
(AWS IAM / STS)
Java Python (boto)
PHP
.NET Ruby
iOS Android
JavaScript
Any SDK Authentication
JavaScript
Any Service
![Page 32: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/32.jpg)
Amazon Cognito for Unauthenticated Identities
Unique Identifier for Your “Things”“Headless” connected devices can also
securely access cloud services
Save Data to the CloudSave app and device data to the cloud and
merge them after login
Guest User AccessSecurely access AWS resources and leverage
app features without the need to create an
account or log in
Visitor
Preferences
Cognito
Store
Guest
EC2 S3 DynamoDB Kinesis
![Page 33: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/33.jpg)
100x MORE USERS IN SECONDS
MAINTAIN RELIABILITY
![Page 34: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/34.jpg)
SCHEDULED SCALING
as-put-scheduled-update-group-action ScaleUp--auto-scaling-group front-end-asg--start-time "2014-11-13T08:00:00Z”--desired-capacity 50
![Page 35: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/35.jpg)
SCALE UP RDS INSTANCES
RDS READ REPLICAS
DYNAMODB CAPACITY
![Page 36: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/36.jpg)
![Page 37: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/37.jpg)
![Page 38: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/38.jpg)
![Page 39: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/39.jpg)
PRE-RECORDED NETWORK ACTIVITY
![Page 40: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/40.jpg)
USE SPOT INSTANCES
+
APACHE BENCH, APACHE JMETER,
LOCUST.IO, THE GRINDER,…
![Page 41: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/41.jpg)
![Page 42: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/42.jpg)
USING AMAZON EC2 TO SIMULATE
2.4 MILION PLAYERS
![Page 43: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/43.jpg)
UNDERSTAND THE LIMITS OF YOUR APP
![Page 44: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/44.jpg)
![Page 45: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/45.jpg)
![Page 46: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/46.jpg)
If the second screen is being used,
you’re not enjoying the primary one…
![Page 47: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/47.jpg)
VISIWARE
SYNC2AD
![Page 48: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/48.jpg)
![Page 49: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/49.jpg)
![Page 50: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/50.jpg)
Cognito
User
Management
CloudFront
Content
Delivery
DynamoDB
Persistence
SNS
Notifications
EC2
Compute
Kinesis
Event Streaming
Elastic
MapReduce
Data Analysis
Client
Elastic
Beanstalk
Auto Scaling
Mobile
Analytics
Analytics
![Page 51: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/51.jpg)
PAY AS YOU GO
SCALE AND RELIABILITY
AUTOMATION
BREADTH OF SERVICES
![Page 52: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014](https://reader035.vdocuments.site/reader035/viewer/2022081603/55908c521a28ab9b548b45fc/html5/thumbnails/52.jpg)
Please give us your feedback on this session.
Complete session evaluations and earn re:Invent swag.
http://bit.ly/awsevals