Powering your Apps via Google Cloud Platform

  • Published on

  • View

  • Download

Embed Size (px)


  1. 1. PRESENTED BY: ROMIN IRANI | DECEMBER 14, 2014 Power your Apps at Internet Scale
  2. 2. Agenda Overview of Google Cloud Platform Power your apps using APIs Demo : Cloud Endpoints Live Demonstration : IoT Project with Cloud Endpoints 2
  3. 3. Google Cloud Platform 4 Storage Cloud Storage Cloud SQL Cloud Datastore Compute Compute EngineApp Engine App Services BigQuery Cloud Endpoints Container Engine
  4. 4. Power Computation 5 Compute Compute EngineApp Engine Storage Cloud Storage Cloud SQL Cloud Datastore App Services BigQuery Cloud Endpoints
  5. 5. Storing What You Want, However You Want 6 Storage Cloud Storage Cloud SQL Cloud Datastore Compute Compute Engine App Engine App Services BigQuery Cloud Endpoints
  6. 6. Building Robust, Intelligent Systems 7 App Services BigQuery Cloud Endpoints Storage Cloud Storage Cloud SQL Cloud Datastore Compute Compute Engine App Engine
  7. 7. Range of services / tools / solutions 8 https://cloud.google.com/docs/ Click To Deploy
  8. 8. When to use App Engine? 9 When to use? Capabilities Automatic resource provisioning Java, Python, PHP, Go, ... Identity, Memcache, Task Queue, Mail, ... Focus on your application Managed environment Build micro- services
  9. 9. App Engine Managed VMs (Beta) 10 App Engine productivity - on VMs More flexible, powerful Bring your own Dependencies Runtime (Docker container) Whats new? Load Balancing Autoscaling Cloud SDK Integration Local Dev Environment
  10. 10. Managed VMs - Features 11 Feature App Engine hosting Managed VM hosting Instance startup time Milliseconds/Seconds Seconds/Minutes Maximum Request Timeout 60 seconds 24 hours Background threads Yes, with restrictions Yes Background processes No Yes SSH debugging No Yes Scaling Manual, Basic, Automatic Manual, soon Automatic Writing to local disk No Yes, ephemeral Customizable serving stack No (Java7) Servlet 3.1, Java7, Java8, Java9, Node, Dart,...) Automatic in-place security patches Yes Yes Network access Only via App Engine services (includes outbound sockets) Yes Supports installing third party binaries No Yes Requires Modules No Yes Pricing Based on Instance hours Uses Compute Engine Pricing for each VM
  11. 11. Cloud Endpoints 12 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.
  12. 12. Cloud Endpoints 13
  13. 13. Why Cloud Endpoints ? 14 Building an API is not easy ! Design + Implement + Deploy your API Scale ! Manage Infrastructure ! Support multiple mobile clients (iOS, Android,JavaScript) Security ? You need some tooling that helps you Create API as per best practices Be able to scale by meeting your client needs
  14. 14. Cloud Endpoints Demo Track Temperature from various stations Temperature Value in C Date / Time Weather Station Name Create an API for Temperature Logging Local Testing of the API via API Explorer Use Android Studio Project + Google Cloud Module for all of the above 15
  15. 15. Live Demo of IoT Application Arduino LM 35 Temperature Sensor Python App interfacing to Arduino Storing its data in Google Cloud Datastore via Cloud Endpoints 16
  16. 16. Temperature Logger Application 17 Serial API Python App that talks to Arduino over Serial Port, gets the Temperature value and uses Cloud Endpoints API to push data into Google Cloud. Export to Cloud Storage Analyze Save
  17. 17. Google Cloud Pricing Calculator https://cloud.google.com/products/calculator/ 18
  18. 18. Google Cloud Platform Get Started Get started immediately $300 Credit for 2 months Visit http://cloud.google.com and click on Start your free trial Documentation : https://cloud.google.com/docs/ Github : http://googlecloudplatform.github.io/ 19
  19. 19. Thank You + Q & A Email : romin.irani@mindstormsoftware.com Twitter : @iRomin Blog : http://www.rominirani.comm 20