300 - Multiplatform Apps on Google Cloud Platform

822 views

Published on

Google Cloud Platform presentation as presented in Mobile Monday Tel Aviv event on January 2014

Published in: Technology, Business
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
822
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
20
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

300 - Multiplatform Apps on Google Cloud Platform

  1. 1. Multi Platform Apps on the Google Cloud Platform Nir Chinsky Head Of Cloud Platform - MEA nirch@google.com #MobileMonday
  2. 2. Why Cloud for Mobile Apps? Scale on Demand Social and Connected Apps are becoming more popular Analytics for User Engagement and Retention Focus on developing your App - reduced time to market Global Availability
  3. 3. The Economic Factor Developers Your App Infrastructure Management Cost Infrastructure Build own DC Hire SysAdmin Build App Use Cloud (No CapEx) Hire SysAdmin Build App Use Platform (Reduce admin overheads) Build App Google confidential │ Do not distribute
  4. 4. Why Google for Cloud? Proven Google hardware and software infrastructure for running your gaming backends and services APIs to monetize, build and integrate, and mobile & web stores for distribution Get started easily and grow fast. Complete architectural flexibility across PaaS and/or Iaas. Pay only for what you use
  5. 5. Google Cloud Platform
  6. 6. Google Services Compute Storage Compute Engine (IaaS) Cloud Storage (Object) App Engine (PaaS) Cloud SQL (Relational) Cloud Datastore (NoSQL) Services BigQuery Cloud EndPoints Caching Queues and more... Google Infrastructure Global Data Centers Performance Disaster Recovery Security 99.95% Uptime SLA Redundancy Audits & Certifications Energy Efficient
  7. 7. Your app here Google Cloud Platform is built on the same infrastructure that powers Google.
  8. 8. A Network that Spans the Globe Cloud Platform
  9. 9. App Engine Features • Platform-as-a-service • Popular Programming Language Support • Auto-scaling • Versioning and Traffic Splitting • Static Content Serving and Caching • Local Developer Tools • European Zones for Locality and Compliance • Google FrontEnds protect against DOS attacks • Integrated Auth for Google Accounts
  10. 10. Compute Engine Features • Multiple OS Virtual Machines • Large range of Instance types • Sub-Hour Billing • Shared core VM types (Micro and Small) • Persistent Disk (up to 10TB) options • Advanced Networking • Load Balancing • Service Accounts for auth to other services • API for management of Compute Resources
  11. 11. Launching 100 virtual machines Google confidential │ Do not distribute
  12. 12. Big Query Features API BigQuery is an API and can easily be integrated with your own Apps or with 3rd Party Apps Scalability Grows with your project, scales horizontally to 100 Bn's of rows with no loss of performance on interactive queries Analysis Insights into User Acquisition and Engagement, Automate Retention based on analysis
  13. 13. Cloud Endpoints • Build Server side logic on full power, management free App Engine platform • Expose standards based REST interfaces with built in Authorization • Use auto-generated, strongly typed, mobile optimized client libraries for Android, iOS and web. Google confidential │ Do not distribute
  14. 14. Cloud Endpoints ● Create APIs for Mobile Apps/Games to communicate with Apps/Gaming Backends ● Add annotations to client interface application code or generate Endpoint classes from Models. ● Discoverable, Restful APIs implemented on top of Google’s API Infrastructure ● Tools available for generating Client Libraries for Android, iOS and JavaScript ● Built-In Authentication Support Storage Web APIs Google confidential │ Do not distribute
  15. 15. Making Money Admob / Google Play Drive revenue from your content using in-app advertising. Mobile Ad + Apps Spending (billions) Understanding your user allows you to optimise in-app sales. $12B $0.7B Source: Gartner Note: Apple as paid >$3B$´s to developers as of 9/11, implying gross app market revenue of $4B in 3 years; Google indicated during CQ3 earnings call that it expects $2.5B mobile ad revenue in 2011E
  16. 16. Google has the full range
  17. 17. Apps on the Google Cloud Platform
  18. 18. App/Gaming Backends to ... ● Deliver dynamic App content ● Facilitate multiplayer games, including matching players ● Store data outside of the mobile device, e.g., the last completed level, or the scores achieved in previous plays ● Manage leaderboards and achievements ● Orchestrate push notifications ● Facilitate in-App purchases ● Perform user analytics
  19. 19. Mobile App Reference Architecture ● Support iOS and Android Devices + Web ● Scalable to Millions of Users ● Engaging Social Components
  20. 20. App API Send App Invitation @ApiMethod(httpMethod = "PUT", path ="app/{appId}/invitation/{userId}") public InvitationResult sendInvitation( @Named("appId") Long gameId, @Named("appId") Long playerId, User user) throws ServiceException { } Java - App Engine InvitationResult invitation = appBackend.sendInvitation( appId, userId)).execute(); Java - Android App
  21. 21. Cloud Endpoints Development Generate Client Library Java - App Engine Mobile Game-AppEngine $ endpoints.sh get-client-lib org.arw.examples.appengine.mobilegame.GameInviteEndpoint Jul 17, 2013 3:05:32 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed ./war/WEB-INF/appengine-web.xml API configuration written to ./gameinviteendpoint-v1.api API Discovery Document written to ./gameinviteendpoint-v1-rpc.discovery API Discovery Document written to ./gameinviteendpoint-v1-rest.discovery API client library written to ./gameinviteendpoint-v1-java.zip
  22. 22. Push Notifications ● ● App Engine supports mobile device messaging ○ Apple Push Notifications (using Sockets API) ○ Google Cloud Messaging (using GCM Server) Examples: ○ Send game invites from friends ○ Display ‘toasts’ with important messages
  23. 23. Data and Object Storage ● ● ● Cloud Storage ○ Dynamic Content ○ Large Binary Objects ○ Served Directly via URL Cloud DataStore ○ Finer grained properties (Device registration, in-game purchases, etc) Memcache ○ Improved performance and scalability ○ Lower costs
  24. 24. Wrap Up
  25. 25. #MobileMonday
  26. 26. #MobileMonday
  27. 27. Nir Thank You Google confidential | Do not distribute

×