4. Google Cloud Platform
The best way how Google share their
+ Cloud Infrastructure
+ Cloud Knowledge
+ Cloud Engineers
Your own data center, with minimum cost
as possible as it could be
What is Google Cloud Platform
5. Google Cloud Platform
You will be using Google's Infrastructure
Virtual Machines
Networking
Storage
And be placed in a safe place
Google's Data Center
And Google will do those for you
Scaling
Migrating
Maintenance
Take over anything you don't wanna do
Powered by Google
7. Google Cloud Platform
Manage all API services on Google
Cloud
(e.g. Translation API, Prediction API, Maps API...)
Compose equivalent commands for:
Command-line tools (Google Cloud SDK)
RESTful API
Dashboard for monitoring all
resources on Google Cloud Platform
Cloud Developer Console
8. Google Cloud Platform
Install/uninstall/upgrade all
command-line tools related to
Google Cloud Platform
Notification for new release of any
Cloud SDK component
Automatization
Google Cloud SDK
10. Google Cloud Platform
It's MySQL, but managed by Google
Relational Data Storage on Google Cloud
Use Cases
+ LAMP Applications
+ Google App Engine
Cloud SQL
12. Google Cloud Platform
Protected
Your data is protected at multiple physical locations
Strong, configurable security
OAuth or simple access control on your data
Multiple usages
+ Serve static objects directly
+ Use with other Google Cloud products (Bridge)
Cloud Storage
14. Google Cloud Platform
Google has resources
+ CPU Cores
+ Memory
+ Networking
+ Persistency (Disks, Snapshot, Cloud Storage...)
+ Well-trained engineering monkeys
You have business and be busy
Infrastucture-as-a-Service
15. Google Cloud Platform
High-performance virtual machines
from micro-VM to large instance
Powered by Google's global network
you could build a large cluster with strong and consistent bandwidth, provided by
Google
Load Balancing
spread incoming traffic across instances
Fast Bullet Reloading
quick deployment of large VMs
command-line interface
web-based console
Highly secured
All data written to disk in Compute Engine will be encrypted by high-class
encryption algorithm
Google Compute Engine
16. Google Cloud Platform
KVM-based Virtual machines
Fast booting time
routinely takes less than 30 secs
Various OS support
Various machine types
Instances on GCE
http://gce-demos.appspot.com
21. Google Cloud Platform
a unit of CPU capacity used to describe the compute power of instance
types
2.75 GCEUs = 1 minimum power of 1 logical core on Sandy Bridge
platform
Google Compute Engine Units (GCEUs)
=
27. Google Cloud Platform
Regions & Zones
us-central1-a
us-central1-b
europe-west1-a
europe-west1-b
Singapore?
asia-east-a
asia-east-b
28. Google Cloud Platform
Transparent Maintenance
Auto restart instances shutdown by system events
During transparent maintenance, you could set GCE to handle your
instance in two ways:
+ Live migrate
affect performance in some degree
but remain your instances online (no downtime)
+ Terminate and reboot
Live Migration
29. Google Cloud Platform
Virtual SCSI device
Block Storage
Persistent until deleted
Hot-plug to GCE instances (attach/deattach)
Persistent Disk
30. Google Cloud Platform
Primary Disk: OS boot volume
Persistent Disk Mode
GCE Virtual Machine
Root
Stateful Root Volume
31. Google Cloud Platform
Additional Disk: Read/Write Mode for user managed data volume
Persistent Disk Mode
GCE Virtual Machine
Root
Stateful Root Volume
RW Data
Stateful Data Volume
32. Google Cloud Platform
Distribution Disk: Instant distribution of static content
Persistent Disk Mode
GCE Virtual Machine
RO Data
Read-Only Data Volume
GCE Virtual MachineGCE Virtual Machine
34. Google Cloud Platform
CGE reserved IP for instance, won't change with the reboot of VMs
You can promote ephemeral IP to persistent IP
no DNS changing anymore
Persistent IP Addresses
35. Google Cloud Platform
Networking is first-class object on GCE
which means you could apply/unapply it anytime easily
pre-defined networks before the first instance started
Integrated Networking
36. Google Cloud Platform
Those resources are global resources
+ Images (OS Images)
+ Snapshots
+ Network
+ Firewalls
+ Routes
And they're also first-class object in GCE
Multi-Region Resources
39. Google Cloud Platform
Benchmarks - Sequential I/O
w/ a well-known and you-know competitor
http://github.com/Scalr/perf-benchmarks
40. Google Cloud Platform
Volume I/O
GCE EC2
Writes on ephemeral 175 MB/s 38-45 MB/s
Reads on ephemeral 93.3 MB/s 100-110 MB/s
Writes on persistent 84.5 MB/s 35-45 MB/s
Reads on persistent 98.9 MB/s 80-100 MB/s
http://gigaom.com/2013/03/15/by-the-numbers-how-google-compute-engine-stacks-up-to-amazon-ec2/
w/ a well-known and you-know competitor
41. Google Cloud Platform
Fast Booting Time
http://gigaom.com/2013/03/15/by-the-numbers-how-google-compute-engine-stacks-up-to-amazon-ec2/
w/ a well-known and you-know competitor
42. Google Cloud Platform
Network Bandwidth & Latency
http://gigaom.com/2013/03/15/by-the-numbers-how-google-compute-engine-stacks-up-to-amazon-ec2/
w/ a well-known and you-know competitor
49. Google Cloud Platform
Create and manage a large number of homogeneous resources
Set up health checking to ensure you will have certain number of heathy
instance to serve requests
config-based tool
Replica Pool Limited Preview
50. Google Cloud Platform
Replica Pool Limited Preview
Pool Resource
GCE Virtual Machine GCE Virtual MachineGCE Virtual Machine
Replica
Resource
Replica
Resource
Replica
Resource
52. Google Cloud Platform
Useful Template Settings Limited Preview
"action": {!
"name": "install-apache",!
"commands": [!
"sudo apt-get update"!
"sudo apt-get install apache"!
...!
],!
"envVariables: [!
...!
]!
}!
"template.action": specify Linux command that will run on your instances after deployed
53. Google Cloud Platform
Useful Template Settings Limited Preview
"baseInstanceName": "my-vm-replicas"!
"template.vmParams.baseInstanceName": The base instance name to use for these replicas
54. Google Cloud Platform
Useful Template Settings Limited Preview
"disksToAttach": [{!
"source": "full-uri-to-disk",!
"mode": "read-only",!
"type": "PERSISTENT",!
}!
]!
"template.vmParams.disksToAttach[]": Attaches persistent disks to your replicas
55. Google Cloud Platform
Health Checking Limited Preview
"healthChecks": [{!
"name": "testhealth",!
"path": "localhost/healthCheck"!
}]!
Make sure all instance are healthy, if not, Pool will create more instances until it satisfies
56. Google Cloud Platform
Health Checking Options Limited Preview
checkIntervalSec
Determines how often, in seconds, to make HTTP requests for the health check.
healthyThreshold
Sets the number of consecutive health check requests that must succeed before the replica is considered healthy. The default is
2 successful consecutive health checks.
timeoutSec
How long to wait in seconds before claiming failures for a health check.
unhealthyThreshold
The number of consecutive health check requests that need to fail to consider the replica unhealthy.
Only a HTTP 2xx response is considered successful.
57. Google Cloud Platform
Windows Server Images
https://developers.google.com/compute/docs/premium-operating-systems
SSD Persistent Disks
https://developers.google.com/compute/docs/disks#typeofdisks
Advanced Routing
https://developers.google.com/compute/docs/networking#routing
Push-to-deploy
https://developers.google.com/appengine/docs/push-to-deploy
Other Limited Preview Projects
58. Google Cloud Platform
Technical Detail of Google Compute Engine
http://commondatastorage.googleapis.com/io2012/presentations/live%20to%20website/313.pdf
Github Google Cloud Platform Team
http://googlecloudplatform.github.io/
Resources