• Save
GMG301 Building Mobile Games on AWS - AWS re: Invent 2012
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

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

on

  • 2,660 views

The convergence of social gaming and mobile has changed the game for social game developers combining old and new challenges. Many mobile social game developers are leveraging AWS for their backend ...

The convergence of social gaming and mobile has changed the game for social game developers combining old and new challenges. Many mobile social game developers are leveraging AWS for their backend infrastructure because it allows them to execute in the face of these challenges. How can you reduce deployment time from weeks to hours? How can you build a back-end that can serve 10 users or 10,000,000 without failing or paying for what you’re not using? Come learn from us how to architect your mobile social game on AWS and change the game of mobile social deployment in your favor.

Statistics

Views

Total Views
2,660
Views on SlideShare
2,660
Embed Views
0

Actions

Likes
3
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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

  • 1. Market directions Focus on what matters Use cases
  • 2. Mobile game developerEngine Unity Unreal Cocos2D CrytekMarketPlace Google Play iTunes Amazon AppstoreUsers
  • 3. What Do the Top Grossing Games Have in Common?Top Grossing Apps Sort By: Bestsellers1. 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 Center6. 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
  • 4. 1. http://gigaom.com/2011/09/29/34-of-ios-and-android-apps- dont-connect-to-a-backend/2. http://www.flurry.com/blog
  • 5. Scale Automatically – Focus on the Game Cache Auto Scaling group Shard Availability Zone Availability Zone
  • 6. Gather data — track events In-app purchase verification Analytics Asset delivery
  • 7. 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
  • 8. Server Side Codeclass HighScore < ActiveRecord::Base field :user field :score, :type => :integer def self.leaderboard(lim=10) order(score desc).limit(lim).all endendclass 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 endend
  • 9. Client Side Code //Android - POST - Send data to cloudclient = 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);
  • 10. Client Side Code - GET - Retrieve data from Cloudclient = new HttpClient();url = " http://reInventGameDemo.elasticbeanstalk.com/leaderboard.json";response = client.execute(GET, url);scores = JSON.parse(response);
  • 11. 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
  • 12. Result?
  • 13. 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
  • 14. Start Small — Tableau
  • 15. As You Grow Amazon Elastic MapReduce Elastic Beanstalk container
  • 16. 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
  • 17. Q&A
  • 18. We are sincerely eager to hear your feedback on thispresentation and on re:Invent. Please fill out an evaluation form when you have a chance.