(MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

52

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 of (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

Page 1: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 2: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

SECOND SCREEN

Page 3: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

VISIWARE

Page 4: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

MEDIA GAMIFICATION

Page 5: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

NETCO SPORTS

Page 6: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

MEDIA ENRICHMENT~80 EVENTS DURING A MATCH

SHOT BY 5+ CAMERAS

Page 7: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 8: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 9: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

EVENT

SOURCE

GAME

DATA

VIDEO

STREAM

Page 10: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

Thiago Catoto, Luiza Labs

Page 11: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

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

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
Page 14: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

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
Page 16: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 17: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

*

Page 18: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 19: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 20: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 21: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 22: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

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

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
Page 25: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

response = conn.publish(topic=platform_applications_topic, message=message)

Page 26: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 27: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 28: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 29: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 30: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

Thanks!

Thiago Catoto, Luiza Labs

Page 31: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

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

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

100x MORE USERS IN SECONDS

MAINTAIN RELIABILITY

Page 34: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

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

SCALE UP RDS INSTANCES

RDS READ REPLICAS

DYNAMODB CAPACITY

Page 36: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 37: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 38: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 39: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

PRE-RECORDED NETWORK ACTIVITY

Page 40: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

USE SPOT INSTANCES

+

APACHE BENCH, APACHE JMETER,

LOCUST.IO, THE GRINDER,…

Page 41: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 42: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

USING AMAZON EC2 TO SIMULATE

2.4 MILION PLAYERS

Page 43: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

UNDERSTAND THE LIMITS OF YOUR APP

Page 44: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 45: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 46: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

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

VISIWARE

SYNC2AD

Page 48: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 49: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014
Page 50: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

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

PAY AS YOU GO

SCALE AND RELIABILITY

AUTOMATION

BREADTH OF SERVICES

Page 52: (MBL305) The World Cup Second Screen Experience | AWS re:Invent 2014

Please give us your feedback on this session.

Complete session evaluations and earn re:Invent swag.

http://bit.ly/awsevals