SlideShare una empresa de Scribd logo
1 de 28
Market directions   Focus on what matters   Use cases
Mobile game developer




Engine          Unity         Unreal                Cocos2D     Crytek


MarketPlace   Google Play           iTunes            Amazon Appstore



Users
What Do the Top Grossing Games Have in Common?

Top Grossing Apps                                                                                                          Sort By: Bestsellers



1.       Rage of Bahamut        2.   The Simpsons           3.   Clash of Clans        4.    Pandora Radio          5.                Kingdom of Camelon
         Games                       Games                       Games                                                                Games
                                                                                             Music
         Updated Sep17, 2012         Updated Oct 03, 2012        Updated Oct15, 2012                                                  Updated Sep17, 2012
                                                                                             Updated Oct 03, 2012
                                                                     Game Center




6.        DragonVale            7.   Legend of Cryp…        8.   Slotomania             9.   Bejeweled Blitz         10.             Poker by Zynga
          Games                      Games                       Games                       Games                                   Games
          Updated Oct15, 2012        Updated Sep28, 2012         Updated Sep17, 2012         Updated Oct15, 2012                     Updated Sep 25, 2012

              Game Center                                                                         Game Center
1.   http://gigaom.com/2011/09/29/34-of-ios-and-android-apps-
     dont-connect-to-a-backend/

2.   http://www.flurry.com/blog
Scale Automatically – Focus on the Game




                                Cache



                                Auto Scaling group

               Shard




                 Availability Zone                   Availability Zone
Gather data — track events   In-app purchase verification   Analytics




                              Asset delivery
Event Workflow
                                                                  1       Persist on device




                                2       Upload to server and verify




                                    3    Persist to DB
                                                                      4   Auto backup to Amazon S3




                 Elastic Beanstalk container
Server Side Code
class HighScore < ActiveRecord::Base
  field :user
  field :score, :type => :integer

  def self.leaderboard(lim=10)
    order('score desc').limit(lim).all
  end
end

class Main < Sinatra::Base
  post '/api/high_scores.json' do
    HighScore.create_or_update(params[:user], params[:score])
  end

  get '/api/leaderboard.json' do
    @high_scores = HighScore.leaderboard
    @high_scores.to_json
  end
end
Client Side Code //Android - POST - Send data to cloud

client = new HttpClient();
url = "http://reInventGameDemo.elasticbeanstalk.com/high_scores.json";
params = new HttpParams();
params.add("user", "nate");
params.add("score", "9999");
response = client.execute('POST', url, params);
Client Side Code - GET - Retrieve data from Cloud


client = new HttpClient();
url = " http://reInventGameDemo.elasticbeanstalk.com/leaderboard.json";
response = client.execute('GET', url);
scores = JSON.parse(response);
Add Friends                                        1         5   FB API



                               2
                                                                 Response from FB   6


                                    7       Post to server




                                                                 https://github.com/facebook/facebook-ios-sdk




                          3
                                             4




              Elastic Beanstalk container
Result?
IAP Verification
               Receipt         3                                                 1   Initiate purchase



                                   7     Unlock
                                                                      2   Receipt




                                             4    Verify




                                                           Verified          5

                         6   Persist to DB




                    Elastic Beanstalk container




                   https://developer.amazon.com/sdk/in-app-purchasing/documentation/rvs.html
Start Small — Tableau
As You Grow




                                            Amazon Elastic MapReduce




              Elastic Beanstalk container
Content Delivery                                                                          4
                                                                                                        Push notification


        Create and upload asset     1

                                         Artist   Release Manager
                                                                                      5       Request
                                                                        6
                                                              Deliver




         Release asset to distribution   2


                                                              3     Pushed to edge locations globally
Q&A
We are sincerely eager to
 hear your feedback on this
presentation and on re:Invent.

 Please fill out an evaluation
   form when you have a
            chance.

Más contenido relacionado

Destacado

ENT103 Making the Case for Cloud - AWS re: Invent 2012
ENT103 Making the Case for Cloud - AWS re: Invent 2012ENT103 Making the Case for Cloud - AWS re: Invent 2012
ENT103 Making the Case for Cloud - AWS re: Invent 2012Amazon Web Services
 
Journey through the Cloud - Best Practices Getting Started in the AWS Cloud
Journey through the Cloud - Best Practices Getting Started in the AWS CloudJourney through the Cloud - Best Practices Getting Started in the AWS Cloud
Journey through the Cloud - Best Practices Getting Started in the AWS CloudAmazon Web Services
 
Choosing a Shard key
Choosing a Shard keyChoosing a Shard key
Choosing a Shard keyMongoDB
 
Big Data Analytics with AWS and AWS Marketplace Webinar
Big Data Analytics with AWS and AWS Marketplace WebinarBig Data Analytics with AWS and AWS Marketplace Webinar
Big Data Analytics with AWS and AWS Marketplace WebinarAmazon Web Services
 
The Future is Operations: Why Mobile Games Need Backends
The Future is Operations: Why Mobile Games Need BackendsThe Future is Operations: Why Mobile Games Need Backends
The Future is Operations: Why Mobile Games Need BackendsJames Gwertzman
 
AWS Customer Presentation: EyeEm.com - Berlin Summit 2012
AWS Customer Presentation: EyeEm.com - Berlin Summit 2012AWS Customer Presentation: EyeEm.com - Berlin Summit 2012
AWS Customer Presentation: EyeEm.com - Berlin Summit 2012Amazon Web Services
 
Everything You Need to Know About Sharding
Everything You Need to Know About ShardingEverything You Need to Know About Sharding
Everything You Need to Know About ShardingMongoDB
 
Plastic money
Plastic moneyPlastic money
Plastic moneyAMIT ROY
 

Destacado (8)

ENT103 Making the Case for Cloud - AWS re: Invent 2012
ENT103 Making the Case for Cloud - AWS re: Invent 2012ENT103 Making the Case for Cloud - AWS re: Invent 2012
ENT103 Making the Case for Cloud - AWS re: Invent 2012
 
Journey through the Cloud - Best Practices Getting Started in the AWS Cloud
Journey through the Cloud - Best Practices Getting Started in the AWS CloudJourney through the Cloud - Best Practices Getting Started in the AWS Cloud
Journey through the Cloud - Best Practices Getting Started in the AWS Cloud
 
Choosing a Shard key
Choosing a Shard keyChoosing a Shard key
Choosing a Shard key
 
Big Data Analytics with AWS and AWS Marketplace Webinar
Big Data Analytics with AWS and AWS Marketplace WebinarBig Data Analytics with AWS and AWS Marketplace Webinar
Big Data Analytics with AWS and AWS Marketplace Webinar
 
The Future is Operations: Why Mobile Games Need Backends
The Future is Operations: Why Mobile Games Need BackendsThe Future is Operations: Why Mobile Games Need Backends
The Future is Operations: Why Mobile Games Need Backends
 
AWS Customer Presentation: EyeEm.com - Berlin Summit 2012
AWS Customer Presentation: EyeEm.com - Berlin Summit 2012AWS Customer Presentation: EyeEm.com - Berlin Summit 2012
AWS Customer Presentation: EyeEm.com - Berlin Summit 2012
 
Everything You Need to Know About Sharding
Everything You Need to Know About ShardingEverything You Need to Know About Sharding
Everything You Need to Know About Sharding
 
Plastic money
Plastic moneyPlastic money
Plastic money
 

Más de 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
 

Más de 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
 

GMG301 Building Mobile Games on AWS - AWS re: Invent 2012

  • 1.
  • 2. Market directions Focus on what matters Use cases
  • 3.
  • 4. Mobile game developer Engine Unity Unreal Cocos2D Crytek MarketPlace Google Play iTunes Amazon Appstore Users
  • 5. What Do the Top Grossing Games Have in Common? Top Grossing Apps Sort By: Bestsellers 1. Rage of Bahamut 2. The Simpsons 3. Clash of Clans 4. Pandora Radio 5. Kingdom of Camelon Games Games Games Games Music Updated Sep17, 2012 Updated Oct 03, 2012 Updated Oct15, 2012 Updated Sep17, 2012 Updated Oct 03, 2012 Game Center 6. DragonVale 7. Legend of Cryp… 8. Slotomania 9. Bejeweled Blitz 10. Poker by Zynga Games Games Games Games Games Updated Oct15, 2012 Updated Sep28, 2012 Updated Sep17, 2012 Updated Oct15, 2012 Updated Sep 25, 2012 Game Center Game Center
  • 6. 1. http://gigaom.com/2011/09/29/34-of-ios-and-android-apps- dont-connect-to-a-backend/ 2. http://www.flurry.com/blog
  • 7.
  • 8.
  • 9. Scale Automatically – Focus on the Game Cache Auto Scaling group Shard Availability Zone Availability Zone
  • 10.
  • 11. Gather data — track events In-app purchase verification Analytics Asset delivery
  • 12.
  • 13. Event Workflow 1 Persist on device 2 Upload to server and verify 3 Persist to DB 4 Auto backup to Amazon S3 Elastic Beanstalk container
  • 14. Server Side Code class HighScore < ActiveRecord::Base field :user field :score, :type => :integer def self.leaderboard(lim=10) order('score desc').limit(lim).all end end class Main < Sinatra::Base post '/api/high_scores.json' do HighScore.create_or_update(params[:user], params[:score]) end get '/api/leaderboard.json' do @high_scores = HighScore.leaderboard @high_scores.to_json end end
  • 15. Client Side Code //Android - POST - Send data to cloud client = new HttpClient(); url = "http://reInventGameDemo.elasticbeanstalk.com/high_scores.json"; params = new HttpParams(); params.add("user", "nate"); params.add("score", "9999"); response = client.execute('POST', url, params);
  • 16. Client Side Code - GET - Retrieve data from Cloud client = new HttpClient(); url = " http://reInventGameDemo.elasticbeanstalk.com/leaderboard.json"; response = client.execute('GET', url); scores = JSON.parse(response);
  • 17. Add Friends 1 5 FB API 2 Response from FB 6 7 Post to server https://github.com/facebook/facebook-ios-sdk 3 4 Elastic Beanstalk container
  • 19.
  • 20. IAP Verification Receipt 3 1 Initiate purchase 7 Unlock 2 Receipt 4 Verify Verified 5 6 Persist to DB Elastic Beanstalk container https://developer.amazon.com/sdk/in-app-purchasing/documentation/rvs.html
  • 21.
  • 22. Start Small — Tableau
  • 23. As You Grow Amazon Elastic MapReduce Elastic Beanstalk container
  • 24.
  • 25. Content Delivery 4 Push notification Create and upload asset 1 Artist Release Manager 5 Request 6 Deliver Release asset to distribution 2 3 Pushed to edge locations globally
  • 26.
  • 27. Q&A
  • 28. We are sincerely eager to hear your feedback on this presentation and on re:Invent. Please fill out an evaluation form when you have a chance.