Google Cloud Platform
For Mobile Solutions
GCPUG.TW co-organizer
Simon Su & Sunny Hu
https://www.facebook.com/groups/GCPUG.TW/
https://plus.google.com/u/0/communities/116100913832589966421
Google Cloud Platform User Group Taiwan
我們是Google Cloud Platform Taiwan User Group。在Google雲端服務在台灣地區展露頭角之
後,有許多新的服務、新的知識、新的創意,歡迎大家一起分享,一起了解 Google雲端服務...
GCPUG透過網際網路串聯喜好 Google Cloud的使用者,分享與交流使用 GCP的點滴鑑驗。如果
您是Google Cloud Platform的初學者,您應該來聽聽前輩們的使用經驗;如果您是 Google Cloud
Platform的Expert,您應該來分享一下寶貴的經驗,並與更多高手互相交流;如果您還沒開始用
Google Cloud Platform,那麼您應該馬上來聽聽我們是怎麼使用 Google Cloud的!
開發Mobile Apps時候...
What we will talk...
● Google Cloud Platform
● Google App Engine
● GCM - Google Cloud Messaging
● Mobile Backend
● Google Cloud Endpoints
● Pub/Sub Messaging Service
● Firebase
Google Cloud Platform
Compute
Compute
Engine
App Engine
Container
Engine
Storage
Cloud
Storage
Cloud SQL Cloud
Datastore
App Services
Cloud EndpointsPrediction API Translate APIBigQuery
Big Data
Pub/Sub Dataflow Bigtable
Google App Engine
● Googler’s Dev Tool
● Architecture ready
● Automatically scale
● Resource integrated
● Google managed
● Pay-by-use
● 28 instance hours free per day
GAE 3分鐘上雲端...
IaaS
Raw compute
Granular control
PaaS
Preset run-times
Focus is app logic
Clusters
Data centre as computer
Declarative management
Managed VMs Beta
Bring your own runtime
Health-checked VMs
Agility
NoOps
Configurability
DevOps
Compute Engine App EngineContainer Engine Cloud Endpoints
You have many choice...
GCM
● Push Notification Service by Google.
● Users need implement :
1. App
2. Own Server & DB
3. Register & Receive action
● Own Server needs :
1. Header with “Authorization: key” & “Content-Type: application/json”
2. Use POST with JSON
GCM
Android
Own Server / DB
1.Register Device
2.Device Token / 6.Push Message
3.Device Token / ID
4.Message / Target
5. Message / Target Token
Infrastructure :
7. Push Result
Mobile Backend (Android)
● MBaaS - Mobile Backend as a Service of
Google Cloud Platform.
● Support Mobile Developers for :
1. Cloud Datastore on AppEngine
2. Pub/Sub Messaging & Push Notification
3. User Authentication
Cloud Endpoints
● Generate Android/iOS library easily.
● One source of RESTful API code for
Android、iOS、Web uses.
● No more server routine works.
● No multiple stepssssss!!
Cloud Endpoints
Pub/Sub Messaging
● Describe a N:N message broadcasting
between Publishers & Subscribers.
● Relies on Google Cloud Messaging.
● Subscribers need to register to topic server .
Pub/Sub Messaging
Publisher : Send Messages
Subscriber : Receive Messages
Topic : Middle Handler
Firebase
Google Cloud Mobile Related Architectures
[Real Time Bidding]
[Mobile Apps and Games]
[Real Time Stream Processing - Internet of Things]
Q&A

Google Cloud Platform - for Mobile Solutions

  • 1.
    Google Cloud Platform ForMobile Solutions
  • 2.
  • 3.
    https://www.facebook.com/groups/GCPUG.TW/ https://plus.google.com/u/0/communities/116100913832589966421 Google Cloud PlatformUser Group Taiwan 我們是Google Cloud Platform Taiwan User Group。在Google雲端服務在台灣地區展露頭角之 後,有許多新的服務、新的知識、新的創意,歡迎大家一起分享,一起了解 Google雲端服務... GCPUG透過網際網路串聯喜好 Google Cloud的使用者,分享與交流使用 GCP的點滴鑑驗。如果 您是Google Cloud Platform的初學者,您應該來聽聽前輩們的使用經驗;如果您是 Google Cloud Platform的Expert,您應該來分享一下寶貴的經驗,並與更多高手互相交流;如果您還沒開始用 Google Cloud Platform,那麼您應該馬上來聽聽我們是怎麼使用 Google Cloud的!
  • 4.
  • 5.
    What we willtalk... ● Google Cloud Platform ● Google App Engine ● GCM - Google Cloud Messaging ● Mobile Backend ● Google Cloud Endpoints ● Pub/Sub Messaging Service ● Firebase
  • 6.
    Google Cloud Platform Compute Compute Engine AppEngine Container Engine Storage Cloud Storage Cloud SQL Cloud Datastore App Services Cloud EndpointsPrediction API Translate APIBigQuery Big Data Pub/Sub Dataflow Bigtable
  • 7.
    Google App Engine ●Googler’s Dev Tool ● Architecture ready ● Automatically scale ● Resource integrated ● Google managed ● Pay-by-use ● 28 instance hours free per day
  • 8.
  • 9.
    IaaS Raw compute Granular control PaaS Presetrun-times Focus is app logic Clusters Data centre as computer Declarative management Managed VMs Beta Bring your own runtime Health-checked VMs Agility NoOps Configurability DevOps Compute Engine App EngineContainer Engine Cloud Endpoints You have many choice...
  • 10.
    GCM ● Push NotificationService by Google. ● Users need implement : 1. App 2. Own Server & DB 3. Register & Receive action ● Own Server needs : 1. Header with “Authorization: key” & “Content-Type: application/json” 2. Use POST with JSON
  • 11.
    GCM Android Own Server /DB 1.Register Device 2.Device Token / 6.Push Message 3.Device Token / ID 4.Message / Target 5. Message / Target Token Infrastructure : 7. Push Result
  • 12.
    Mobile Backend (Android) ●MBaaS - Mobile Backend as a Service of Google Cloud Platform. ● Support Mobile Developers for : 1. Cloud Datastore on AppEngine 2. Pub/Sub Messaging & Push Notification 3. User Authentication
  • 13.
    Cloud Endpoints ● GenerateAndroid/iOS library easily. ● One source of RESTful API code for Android、iOS、Web uses. ● No more server routine works. ● No multiple stepssssss!!
  • 14.
  • 15.
    Pub/Sub Messaging ● Describea N:N message broadcasting between Publishers & Subscribers. ● Relies on Google Cloud Messaging. ● Subscribers need to register to topic server .
  • 16.
    Pub/Sub Messaging Publisher :Send Messages Subscriber : Receive Messages Topic : Middle Handler
  • 17.
  • 18.
    Google Cloud MobileRelated Architectures
  • 19.
  • 20.
  • 21.
    [Real Time StreamProcessing - Internet of Things]
  • 22.