SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Dorion Carroll, CIO, Zynga
October 2015
SPOT210
Zynga’s Journey (Back) to
the AWS Cloud
What to Expect from the Session
Zynga’s Journey (Back) to the AWS Cloud
• Zynga, a leading developer of social games with popular titles such as FarmVille, Zynga
Poker, and Words With Friends, was an early AWS customer that decided to move most
of its infrastructure off AWS in 2011 to build its own private cloud and data centers.
• With changes to their business over the years – particularly a transition to mobile games
and an ever increasing focus on analytics – Zynga determined that it would stop running
its own infrastructure and migrate workloads back to AWS, gaining agility, infrastructure
efficiency, and flexibility in managing operating costs.
• In this session, learn from Dorion Carroll, Chief Information Officer (CIO) for Zynga, as
he discusses some of the specific reasons why Zynga decided to move back to AWS
and his approach to Zynga’s migration plan.
Zynga’s mission
Our mission is to connect the
world through games
Dorion Carroll – CIO, Zynga
• Joined Zynga in 2009
• CIO (2013 - present)
• CTO, Mobile (2011 - 2012)
• CTO, Shared Technology Group (2010)
• CTO, Mafia Wars (2009 – 2010)
• Currently responsible for:
• Cloud Operations & Engineering
• IS&T
• CyberSecurity
• Customer Support
• Quality Assurance
• International Localization
• Prior senior management roles at Technorati, Postini, Excite, and Oracle
Zynga games and data centers
Zynga Poker, Mafia Wars, and the X-Wars games
were hosted in retail data centers in Silicon Valley.
We did just about everything:
• Equipment purchasing
• Racking and stacking
• Networking
• Operations and maintenance
Rapid growth with finite capacity
• We outgrew our data centers
• Lead times on equipment created a constant state of stress
• Bigger games actually cannibalized equipment from lower
performing games
Moving Mafia Wars
My first day at Zynga soon
became my second day: we
worked through the night moving
Mafia Wars from one data center
to a larger one down the street
FarmVille and the AWS cloud to the rescue
• FarmVille launched in AWS in June 2009 as our first Amazon EC2 game
• A few months later, it crossed the 80 million monthly active user mark
• In the summer of 2009, it would not have been possible for us to acquire
enough hardware for this meteoric growth, let alone provision it or even fit it in
our data center footprint
Zynga and AWS from 2009–2011
• Zynga continued to launch and scale
massive games on Facebook running
on top of AWS:
• Café World, CityVille, FrontierVille,
ChefVille, Bubble Safari, and more
• These games each rocketed from 0 to 10 million
users in weeks
• Zynga became extremely good at scaling in the cloud
• Our games like Zynga Poker, Words With Friends, and
even Mafia Wars launched on mobile platforms
zCloud: a cloud of our own
• Our appetite for EC2 instances and storage grew
• In partnership with AWS, we worked hard to keep up
• With games like FarmVille and CityVille at scale and with more on the
way, we created our own cloud with plans of operating in a hybrid model
Comstock – Q3 2011
3MW max – 3MW built
Vantage – Q1 2012
6 MW max – 5 MW built
Equinix – Q1 2009
EC2 – Q4 2009
VA1/VA2 – Q4 2010
4MW max – 4MW built
zCloud timeline
zCloud worked
• For major work loads, our new equipment
and dual network configuration gave us
nearly 3x gains in efficiency
• Our analytics infrastructure was able to
scale to new heights
• We were able to run both virtual instances
and bare metal as needed
• Time passed, equipment aged, and
mobile was upon us
Changing times
• Over the past few years, our industry and our games have moved to
mobile
• Our tech teams have created scalable, multi-tenant game services that
require a lot less equipment
• AWS invests heavily in scale, performance, configuration options, and
managed services
• We are investing in creating great games and can leverage the scale of
AWS and their learnings since 2011
Analytics breaks new ground in AWS
• Zynga stores and analyzes petabytes of data
• The equipment in our first zCloud data center was aging
• We chose to exit that data center and attempt to run our infrastructure in
the cloud
• No one had done this at our scale before
• We conducted 3 PoCs with AWS
• A fourth try that AWS conducted finally showed the way
• In 12 months, AWS has advanced storage and compute three times
• Had we chosen our own infrastructure, we would be behind already
Games and game services
• On a case-by-case basis, we consider workloads, future growth, and expense
• In some cases, we have completely re-implemented systems behind an API using
AWS managed services, while others have been lift and shift migrations
• The flexibility in options (instance classes, managed services, storage, etc.) has
given us the ability to experiment with live workloads running in parallel to choose
the best option
With Friends paves the way
• Words With Friends is our largest game – mobile and web
• It runs on iOS, Android, Windows, Kindle, and Facebook
• It is powered by a multi-tenant, turn-based backend
• The same backend powers Hanging With Friends, Word
Streak, Matching With Friends, Gems With Friends,
Chess With Friends, and What’s the Phrase
• We took a conservative, lift and shift approach to move
the backend
With Friends paves the way
• The move went smoothly with zero player downtime
• Post-migration, we were able to reduce the overall size by
over 30%
• Updated to AWS Linux image
• Upgraded Memcache to newer version
• Took advantage of I2 and local SSD
• These updates have shown the path for how to treat
many of our other games and services post-migration
Some key victories
• For With Friends, we re-implemented our Community Matchmaking:
• Reduced 100 database servers to 3 in AWS
• Updating to AWS Linux allowed us to drop our application server
instances from ~300 to ~200 due to the enhanced networking
capabilities
• Zynga Poker replaced a large MySQL farm with Amazon DynamoDB
dramatically reducing operational overhead
• A separate Zynga Poker database cluster saw 30 – 40X improvement in
query performance even under full write load:
• Query 1 went from 38 seconds to 1 second
• Query 2 went from 26.7 seconds to 1.5 seconds
Rapid wins with managed services
• Many of our games and game services use an older, open-source
technology for volatile (temporary) storage
• Though this technology has served us well as a semi-persistent cache, it
is difficult to maintain and manage
• Over the last several months, we have:
• Converted 17 game services to Amazon ElastiCache
• Converted 2 mission-critical services to Amazon DynamoDB
• Post-migration, we anticipate more conversions to DynamoDB and ElastiCache
• For those workloads that still require persistent storage, we are looking at
modernizing our storage technology, which is expected to yield > 75% reduction
in # of instances
Three reasons to consider a public cloud
• Business focus
• Zynga can focus on technical innovation in our games
• Investment
• With AWS, we pay for what we use, nothing more
• A three-year CapEx commitment means you are committed to what you
buy now vs. what is state of the art in one, two, and three years
• People
• Less emphasis for people to have hardware and physical infrastructure
expertise
• We can focus our people on running and operating our applications
What’s next in our journey?
• More optimizations with managed services and new architectures
• More experiments to drive innovation
• Micro-services
• AWS Lambda
• Amazon Redshift
• Amazon Glacier
• More fun and excitement!
Summary
• AWS is a leader in cloud computing and operations
• AWS is investing more in computing infrastructure innovation and
moving faster than we ever could
• We are exploring new services and configurations regularly to drive
performance and manage costs
• Using AWS allows Zynga to focus on developing great games, investing
in product innovation, and improving player experiences
Thank you!
Remember to complete
your evaluations!

Weitere ähnliche Inhalte

Andere mochten auch

Andere mochten auch (20)

Getting started with Amazon DynamoDB
Getting started with Amazon DynamoDBGetting started with Amazon DynamoDB
Getting started with Amazon DynamoDB
 
(SEC203) Journey to Securing Time Inc's Move to the Cloud
(SEC203) Journey to Securing Time Inc's Move to the Cloud(SEC203) Journey to Securing Time Inc's Move to the Cloud
(SEC203) Journey to Securing Time Inc's Move to the Cloud
 
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB
 
Financial Services Analytics on AWS
Financial Services Analytics on AWSFinancial Services Analytics on AWS
Financial Services Analytics on AWS
 
(SEC316) Harden Your Architecture w/ Security Incident Response Simulations
(SEC316) Harden Your Architecture w/ Security Incident Response Simulations(SEC316) Harden Your Architecture w/ Security Incident Response Simulations
(SEC316) Harden Your Architecture w/ Security Incident Response Simulations
 
(SPOT303) Security Operations at Massive Scale
(SPOT303) Security Operations at Massive Scale(SPOT303) Security Operations at Massive Scale
(SPOT303) Security Operations at Massive Scale
 
(NET405) Build a Remote Access VPN Solution on AWS
(NET405) Build a Remote Access VPN Solution on AWS(NET405) Build a Remote Access VPN Solution on AWS
(NET405) Build a Remote Access VPN Solution on AWS
 
(BDT208) A Technical Introduction to Amazon Elastic MapReduce
(BDT208) A Technical Introduction to Amazon Elastic MapReduce(BDT208) A Technical Introduction to Amazon Elastic MapReduce
(BDT208) A Technical Introduction to Amazon Elastic MapReduce
 
AWS Customer Presentation - Zynga
AWS Customer Presentation - ZyngaAWS Customer Presentation - Zynga
AWS Customer Presentation - Zynga
 
Accelerate Track
Accelerate TrackAccelerate Track
Accelerate Track
 
Amazon WorkSpaces for Education
Amazon WorkSpaces for EducationAmazon WorkSpaces for Education
Amazon WorkSpaces for Education
 
Under the Covers of DynamoDB
Under the Covers of DynamoDBUnder the Covers of DynamoDB
Under the Covers of DynamoDB
 
(ARC401) Cloud First: New Architecture for New Infrastructure
(ARC401) Cloud First: New Architecture for New Infrastructure(ARC401) Cloud First: New Architecture for New Infrastructure
(ARC401) Cloud First: New Architecture for New Infrastructure
 
(ISM205) A Framework for IT and Business Transformation
(ISM205) A Framework for IT and Business Transformation(ISM205) A Framework for IT and Business Transformation
(ISM205) A Framework for IT and Business Transformation
 
(ARC301) Scaling Up to Your First 10 Million Users
(ARC301) Scaling Up to Your First 10 Million Users(ARC301) Scaling Up to Your First 10 Million Users
(ARC301) Scaling Up to Your First 10 Million Users
 
AWS for Startups
AWS for StartupsAWS for Startups
AWS for Startups
 
Best Practices for Backup and Recovery: Windows Workload on AWS
Best Practices for Backup and Recovery: Windows Workload on AWS Best Practices for Backup and Recovery: Windows Workload on AWS
Best Practices for Backup and Recovery: Windows Workload on AWS
 
AWS October Webinar Series - Introducing Amazon Elasticsearch Service
AWS October Webinar Series - Introducing Amazon Elasticsearch ServiceAWS October Webinar Series - Introducing Amazon Elasticsearch Service
AWS October Webinar Series - Introducing Amazon Elasticsearch Service
 
Презентація Василя Задворного для Круглого столу 28.02.2017
Презентація Василя Задворного для Круглого столу 28.02.2017Презентація Василя Задворного для Круглого столу 28.02.2017
Презентація Василя Задворного для Круглого столу 28.02.2017
 
(MBL310) Alexa Voice Service Under the Hood
(MBL310) Alexa Voice Service Under the Hood(MBL310) Alexa Voice Service Under the Hood
(MBL310) Alexa Voice Service Under the Hood
 

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

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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

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
 
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
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
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...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

(SPOT210) Zynga’s Journey (Back) to the AWS Cloud

  • 1. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Dorion Carroll, CIO, Zynga October 2015 SPOT210 Zynga’s Journey (Back) to the AWS Cloud
  • 2. What to Expect from the Session Zynga’s Journey (Back) to the AWS Cloud • Zynga, a leading developer of social games with popular titles such as FarmVille, Zynga Poker, and Words With Friends, was an early AWS customer that decided to move most of its infrastructure off AWS in 2011 to build its own private cloud and data centers. • With changes to their business over the years – particularly a transition to mobile games and an ever increasing focus on analytics – Zynga determined that it would stop running its own infrastructure and migrate workloads back to AWS, gaining agility, infrastructure efficiency, and flexibility in managing operating costs. • In this session, learn from Dorion Carroll, Chief Information Officer (CIO) for Zynga, as he discusses some of the specific reasons why Zynga decided to move back to AWS and his approach to Zynga’s migration plan.
  • 3. Zynga’s mission Our mission is to connect the world through games
  • 4. Dorion Carroll – CIO, Zynga • Joined Zynga in 2009 • CIO (2013 - present) • CTO, Mobile (2011 - 2012) • CTO, Shared Technology Group (2010) • CTO, Mafia Wars (2009 – 2010) • Currently responsible for: • Cloud Operations & Engineering • IS&T • CyberSecurity • Customer Support • Quality Assurance • International Localization • Prior senior management roles at Technorati, Postini, Excite, and Oracle
  • 5. Zynga games and data centers Zynga Poker, Mafia Wars, and the X-Wars games were hosted in retail data centers in Silicon Valley. We did just about everything: • Equipment purchasing • Racking and stacking • Networking • Operations and maintenance
  • 6. Rapid growth with finite capacity • We outgrew our data centers • Lead times on equipment created a constant state of stress • Bigger games actually cannibalized equipment from lower performing games
  • 7. Moving Mafia Wars My first day at Zynga soon became my second day: we worked through the night moving Mafia Wars from one data center to a larger one down the street
  • 8. FarmVille and the AWS cloud to the rescue • FarmVille launched in AWS in June 2009 as our first Amazon EC2 game • A few months later, it crossed the 80 million monthly active user mark • In the summer of 2009, it would not have been possible for us to acquire enough hardware for this meteoric growth, let alone provision it or even fit it in our data center footprint
  • 9. Zynga and AWS from 2009–2011 • Zynga continued to launch and scale massive games on Facebook running on top of AWS: • Café World, CityVille, FrontierVille, ChefVille, Bubble Safari, and more • These games each rocketed from 0 to 10 million users in weeks • Zynga became extremely good at scaling in the cloud • Our games like Zynga Poker, Words With Friends, and even Mafia Wars launched on mobile platforms
  • 10. zCloud: a cloud of our own • Our appetite for EC2 instances and storage grew • In partnership with AWS, we worked hard to keep up • With games like FarmVille and CityVille at scale and with more on the way, we created our own cloud with plans of operating in a hybrid model
  • 11. Comstock – Q3 2011 3MW max – 3MW built Vantage – Q1 2012 6 MW max – 5 MW built Equinix – Q1 2009 EC2 – Q4 2009 VA1/VA2 – Q4 2010 4MW max – 4MW built zCloud timeline
  • 12. zCloud worked • For major work loads, our new equipment and dual network configuration gave us nearly 3x gains in efficiency • Our analytics infrastructure was able to scale to new heights • We were able to run both virtual instances and bare metal as needed • Time passed, equipment aged, and mobile was upon us
  • 13. Changing times • Over the past few years, our industry and our games have moved to mobile • Our tech teams have created scalable, multi-tenant game services that require a lot less equipment • AWS invests heavily in scale, performance, configuration options, and managed services • We are investing in creating great games and can leverage the scale of AWS and their learnings since 2011
  • 14. Analytics breaks new ground in AWS • Zynga stores and analyzes petabytes of data • The equipment in our first zCloud data center was aging • We chose to exit that data center and attempt to run our infrastructure in the cloud • No one had done this at our scale before • We conducted 3 PoCs with AWS • A fourth try that AWS conducted finally showed the way • In 12 months, AWS has advanced storage and compute three times • Had we chosen our own infrastructure, we would be behind already
  • 15. Games and game services • On a case-by-case basis, we consider workloads, future growth, and expense • In some cases, we have completely re-implemented systems behind an API using AWS managed services, while others have been lift and shift migrations • The flexibility in options (instance classes, managed services, storage, etc.) has given us the ability to experiment with live workloads running in parallel to choose the best option
  • 16. With Friends paves the way • Words With Friends is our largest game – mobile and web • It runs on iOS, Android, Windows, Kindle, and Facebook • It is powered by a multi-tenant, turn-based backend • The same backend powers Hanging With Friends, Word Streak, Matching With Friends, Gems With Friends, Chess With Friends, and What’s the Phrase • We took a conservative, lift and shift approach to move the backend
  • 17. With Friends paves the way • The move went smoothly with zero player downtime • Post-migration, we were able to reduce the overall size by over 30% • Updated to AWS Linux image • Upgraded Memcache to newer version • Took advantage of I2 and local SSD • These updates have shown the path for how to treat many of our other games and services post-migration
  • 18. Some key victories • For With Friends, we re-implemented our Community Matchmaking: • Reduced 100 database servers to 3 in AWS • Updating to AWS Linux allowed us to drop our application server instances from ~300 to ~200 due to the enhanced networking capabilities • Zynga Poker replaced a large MySQL farm with Amazon DynamoDB dramatically reducing operational overhead • A separate Zynga Poker database cluster saw 30 – 40X improvement in query performance even under full write load: • Query 1 went from 38 seconds to 1 second • Query 2 went from 26.7 seconds to 1.5 seconds
  • 19. Rapid wins with managed services • Many of our games and game services use an older, open-source technology for volatile (temporary) storage • Though this technology has served us well as a semi-persistent cache, it is difficult to maintain and manage • Over the last several months, we have: • Converted 17 game services to Amazon ElastiCache • Converted 2 mission-critical services to Amazon DynamoDB • Post-migration, we anticipate more conversions to DynamoDB and ElastiCache • For those workloads that still require persistent storage, we are looking at modernizing our storage technology, which is expected to yield > 75% reduction in # of instances
  • 20. Three reasons to consider a public cloud • Business focus • Zynga can focus on technical innovation in our games • Investment • With AWS, we pay for what we use, nothing more • A three-year CapEx commitment means you are committed to what you buy now vs. what is state of the art in one, two, and three years • People • Less emphasis for people to have hardware and physical infrastructure expertise • We can focus our people on running and operating our applications
  • 21. What’s next in our journey? • More optimizations with managed services and new architectures • More experiments to drive innovation • Micro-services • AWS Lambda • Amazon Redshift • Amazon Glacier • More fun and excitement!
  • 22. Summary • AWS is a leader in cloud computing and operations • AWS is investing more in computing infrastructure innovation and moving faster than we ever could • We are exploring new services and configurations regularly to drive performance and manage costs • Using AWS allows Zynga to focus on developing great games, investing in product innovation, and improving player experiences