300 - Multiplatform Apps on Google Cloud Platform

  • Published on
    06-May-2015

  • View
    433

  • Download
    4

Embed Size (px)

DESCRIPTION

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

Transcript

<ul><li>1.Multi Platform Apps on the Google Cloud Platform Nir Chinsky Head Of Cloud Platform - MEA nirch@google.com#MobileMonday</li></ul> <p>2. Why Cloud for Mobile Apps?Scale on DemandSocial and Connected Apps are becoming more popularAnalytics for User Engagement and RetentionFocus on developing your App - reduced time to marketGlobal Availability 3. The Economic FactorDevelopersYour AppInfrastructure Management Cost InfrastructureBuild own DC Hire SysAdmin Build AppUse Cloud (No CapEx) Hire SysAdmin Build AppUse Platform (Reduce admin overheads) Build App Google confidential Do not distribute 4. Why Google for Cloud?Proven Google hardware and software infrastructure for running your gaming backends and servicesAPIs to monetize, build and integrate, and mobile &amp; web stores for distributionGet started easily and grow fast. Complete architectural flexibility across PaaS and/or Iaas.Pay only for what you use 5. Google Cloud Platform 6. Google ServicesComputeStorageCompute 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 CentersPerformanceDisaster RecoverySecurity99.95% Uptime SLARedundancyAudits &amp; CertificationsEnergy Efficient 7. Your app hereGoogle Cloud Platform is built on the same infrastructure that powers Google. 8. A Network that Spans the GlobeCloud Platform 9. App EngineFeatures 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. Compute EngineFeatures 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. Launching 100 virtual machinesGoogle confidential Do not distribute 12. Big QueryFeatures APIBigQuery is an API and can easily be integrated with your own Apps or with 3rd Party AppsScalabilityGrows with your project, scales horizontally to 100 Bn's of rows with no loss of performance on interactive queriesAnalysisInsights into User Acquisition and Engagement, Automate Retention based on analysis 13. Cloud Endpoints Build Server side logic on full power, management free App Engine platformExpose standards based REST interfaces with built in AuthorizationUse auto-generated, strongly typed, mobile optimized client libraries for Android, iOS and web.Google confidential Do not distribute 14. Cloud Endpoints Create APIs for Mobile Apps/Games to communicate with Apps/Gaming BackendsAdd annotations to client interface application code or generate Endpoint classes from Models.Discoverable, Restful APIs implemented on top of Googles API InfrastructureTools available for generating Client Libraries for Android, iOS and JavaScriptBuilt-In Authentication SupportStorageWeb APIsGoogle confidential Do not distribute 15. Making Money Admob / Google PlayDrive 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.7BSource: Gartner Note: Apple as paid &gt;$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. Google has the full range 17. Apps on the Google Cloud Platform 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. Mobile App Reference Architecture Support iOS and Android Devices + WebScalable to Millions of UsersEngaging Social Components 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 EngineInvitationResult invitation = appBackend.sendInvitation( appId, userId)).execute();Java - Android App 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. 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. 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. Wrap Up 25. #MobileMonday 26. #MobileMonday 27. NirThank YouGoogle confidential | Do not distribute </p>