Rovio's Game Technology Infrastructure In The Cloud Era

Post on 12-Apr-2017

135 views 3 download

Transcript of Rovio's Game Technology Infrastructure In The Cloud Era

Rovio © 2016 Confidential

Rovio © 2016 Confidential

Rovio’s Game Technology Infrastructure In The Cloud EraPaul Winston VillacortaSenior Cloud Engineer, Cloud OperationsRovio Entertainment

Rovio © 2016 Confidential

Rovio uses AWS for allowing it’s 120M+ global users to play Angry Birds games and watch

Angry Birds Toons series.

Rovio © 2016 Confidential

6B TOONS

VIDEO VIEWS

480M

GAME DOWNLOADSIN 2015

2,5B

YOUTUBEVIEWS

26M

FACEBOOK FOLLOWERS

3B GAME

DOWNLOADSSINCE 2009

ROVIO INNUMBERS

OVER

Rovio © 2016 ConfidentialRovio © 2016 Confidential

Rovio © 2016 Confidential

200+DatabaseInstances

60+Services

700 - 2000Running

Instances

{API}

45000+API Requestsper second

3BAnalyticsProcessedevery day

Rovio © 2016 Confidential

HybridCloud

Private

Cloud

PublicCloud

3rd Party ManagedPrivate Cloud

Rovio © 2016 Confidential

Private Cloud Public Cloud

Rovio © 2016 Confidential

Rovio’s Infrastructure is 100% cloud-native from the beginning.

Rovio © 2016 Confidential

EXTERNAL TRAFFIC MANAGEMENT

SERVICES

INTERNAL TRAFFIC MANAGEMENT

MICROSERVICES SERVICES MICROSERVICES

DATABASE TIER

ORCHESTRATION / AUTOMATION LOGIC

CACHING COMPONENTS STORAGE

MON

ITOR

ING

LOG

COLL

ECTI

ON

INTE

RNAL

DNS

OPERATIONAL JOB SCHEDULER

Rovio © 2016 Confidential

THE CLOUD

IT’S JUST SOMEONE ELSE’S COMPUTER

Rovio © 2016 Confidential

Why?•Reduced Cost•Flexibility•Stability•Scalability

•Collaboration•Mobility•Security•Wecandoitlity

Rovio © 2016 Confidential

AWS SERVICESPIECES OF SERVICES WE PIPED

TOGETHER

Rovio © 2016 Confidential

We are heavy in …• Compute Services• Storage Services• Database Services• Networking Services• Management Services• Security Services• Analytics Services CloudFron

tGlacier

Lambda

ElastiCache RDSCloudWatch

ConfigElasticsearch

NAT Gateway

Elastic Transcoder

SES

EC2 VPC EMR

Redshift

IAM

S3

Rovio © 2016 Confidential

DEPLOYMENT

WORKS PERFECTLY IN DEV

Rovio © 2016 Confidential

Philosophy• Simplicity• Practicality• Cost efficiency

Rovio © 2016 Confidential

Deployment Goals• Automated• Seamless• Rollback Mechanism

Rovio © 2016 Confidential

Deployment GoalsAutomated

• Minimizes the deployment cycle time• Provides consistencies across environment• Time and effort are valuable• Must have for small teams

Rovio © 2016 Confidential

Deployment GoalsSeamless

• Zero downtime is ambitious but we made it still ;)• A/B Switch works well for us

• It’s a bit slow but its sure and well tested• Per node replacement

• Blue/Green Deployment• Big services

• Capacity planning is needed

Rovio © 2016 Confidential

Deployment GoalsRollback Mechanism

• Instant rollback• Per node or cluster wide approach

Rovio © 2016 Confidential

Deployment WorkflowGITHUB

CI / BUILD

SERVER

NFS PACKAGES REPOSITOR

Y

ORCHESTRATION SERVER INSTANCE/SINSTANCE/SINSTANCE/S

INTERNAL DNS

MONITORING

LOG COLLECTION

1

TRAFFIC MANAGEMEN

TDEVELOPER / OPS2

3

4

5

5

67

8

3

5

Rovio © 2016 Confidential

CHALLENGES

YOU CAN RUN BUT YOU CAN’T HIDE

Rovio © 2016 Confidential

Challenges• Simplifying complexity• Security• Efficiency and Performance• Bloated code base• SPOF – development / operational side• Accountability

Rovio © 2016 Confidential

Approach• Re-architecting

• Some abstractions needed• Convert it to a composable software system

• Work Offloading• Use software that can do operational job like Rundeck

• Automated Tests• Never underestimate this one ;)

Rovio © 2016 Confidential

Our team• Cloud operations totals 4• Platform totals about 40• “DevOps” culture• 24/7 on-call

Rovio © 2016 Confidential

WERE HIRING

http://tinyurl.com/seniorcloudengineer

http://tinyurl.com/cloudengineer

Rovio © 2016 Confidential