Google Cloud Platform 
Performance 
Scale (with a smile) 
Value 
#CodeMotion TLV 2014
+Ido Green 
@greenido 
ido-green.appspot.com 
#CodeMotion TLV 2014
For the past 15 years, Google 
has been building out the 
world’s fastest, most powerful, 
highest quality cloud 
infrastructure on the planet. 
Images by Connie Zhou
Cloud Platform is built on the same 
infrastructure that powers Google. 
Images by Connie Zhou
Images by Connie Zhou 
Google’s Platform 
“[Google's] ability to build, organize, and 
operate a huge network of servers and fiber-optic 
cables with an efficiency and speed that 
rocks physics on its heels. 
This is what makes Google Google: its physical 
network, its thousands of fiber miles, and those 
many thousands of servers that, in aggregate, 
add up to the mother of all clouds.” 
- Wired
Google's Network Spans the Globe
The Pace of Software Innovation 
MapReduce Dremel Spanner/F1 
BigQuery 
GFS Omega 
Big Table Colossus 
Cloud Storage 
Cloud Datastore 
2002 2004 2006 2008 2010 2012 2013
#CodeMotion TLV 2014 
Yes, We Can Power that 
Mobile Gaming Storage 
Big Data Highly Scalable Apps Digital Marketing
BigQuery 
Cloud Endpoints 
Caching 
#CodeMotion TLV 2014 
Compute Storage 
Cloud Storage 
App Services 
Compute Engine 
App Engine 
Queues 
Cloud SQL 
Cloud Datastore 
Persistent Disk 
Google Cloud 
Platform
BigQuery 
Cloud Endpoints 
Caching 
CodeMotion TLV 2014 
Compute Storage 
Cloud Storage 
App Services 
Compute Engine 
App Engine 
Queues 
Cloud SQL 
Cloud Datastore 
Persistent Disk 
Google Cloud 
Platform
#CodeMotion TLV 2014 
Exploring the Cloud 
IaaS 
Infrastructure-as-a-Service 
PaaS 
Platform-as-a-Service 
SaaS 
Software-as-a-Service 
Google Cloud Platform
Compute as a Continuum 
build and deploy vm images 
build and deploy clusters build and deploy apps 
VM Cluster Platform 
● Curated runtimes 
● Rich services 
● Auto-everything 
● … just add code 
● Managed collections 
● Declarative + Dynamic 
More Agility 
More flexibility 
● Basic atom 
● Run anything
Virtual Machines On GCE 
Build and Deploy VMs
Recent Updates Google Compute Engine 
● Beta! Local SSD 
● Ubuntu VM Image 
● Regions 
○ Asia 
○ Additional zones in US, Europe 
● Transparent maintenance 
● 16-core VMs 
● Lower prices (again)
New! Bitnami Images 
Deploy your favorite 
open source server 
software 
More than 90 apps or 
infrastructure stacks 
google.bitnami.com
MapR 
Breaks MinuteSort Record 
• 1.5TB in 60 seconds 
• 8,412 cores 
• Google Compute Engine 
● MapR broke the MinuteSort world record using 
Compute Engine for only $1200. 
● The previous record was set using custom 
hardware costing hundreds of thousands of 
dollars. 
Cloud Platform
Google Compute Engine Demo 
● GCE In Action 
● Demo Code: github. 
com/GoogleCloudPlatform/compute-appengine- 
demo-suite-python 
● NodeJS & Docker 
○ github. 
com/GoogleCloudPlatform/runtime-nodejs- 
docker-image 
● developers.google. 
com/compute/docs/samples-and-videos
Google App Engine 
Python, Java, PHP, Go
Simple to Scale 
- AutoScale 
Trivial to manage 
- Fully managed 
- No patches 
- 24x7 operation by Google 
SREs 
Easy to develop 
- Free to start 
- Local dev 
environment 
- Service abstractions 
App Engine
App Engine 
• Fully Managed Platform 
• Popular Programming Language Support 
• Flexible and Scalable Application Storage 
• Auto-scaling 
• Versioning and Traffic Splitting 
• Local Developer Tools 
• Third-party Frameworks and Extensions: 
webapp2, Django, Flask, Tornado, Sprint etc’ 
Cloud Platform
"I'd rather be democratizing education 
than scaling memcached." 
- Chris Chew, Udacity 
Cloud Platform
App Engine Managed VMs 
Build and Deploy VMs
Managed VMs 
App Engine
Beta! App Engine Managed VMs 
● App Engine productivity - on VMs 
○ More flexible, powerful 
● Bring your own 
○ Dependencies 
○ Runtime (Docker container) 
● What’s new? 
○ Load Balancing 
○ Autoscaling 
○ Cloud SDK Integration 
module: sudoku 
runtime: python27 
api_version: 1 
vm: true 
vm_settings: 
machine_type: n1-standard-1 
apt_get_install: python-opencv 
automatic_scaling: 
min_num_instances: 2 
max_num_instances: 20 
... 
app.yaml
Custom Runtimes and Autoscaling 
● Define your own Runtime 
environments on Managed VMs 
● You provide: 
○ A Dockerfile that defines a 
Base Docker Image 
○ An app.yaml config file 
● Optionally 
○ Respond to LifeCycle events 
and Health Checks 
module: webrtc 
runtime: custom 
api_version: 1 
vm: true 
... 
app.yaml 
Dockerfile 
FROM mycompany/custom-nodejs-runtime
docker build 
using 
google/docker-registry 
container 
Google 
Compute Engine 
VM 
your laptop 
docker run 
gcloud app deploy 
Google App 
Engine 
update start 
using 
google/docker-registry 
container 
private 
Google Cloud 
Storage 
bucket 
Your Docker 
image 
Your Docker 
image 
docker push 
docker pull 
Managed VMs Runtime Environment 
container 
$ gcloud app deploy
Cloud Platform 
Storing what you want, however you want 
Storage 
Cloud Storage 
Cloud SQL 
Cloud Datastore 
App Services 
BigQuery 
Cloud Endpoints 
Caching 
Queues 
Compute 
Compute Engine 
App Engine
Cloud Datastore 
• Versioning 
• Static Sites 
• Resumable Transfers 
• Object Change Notifications
Cloud Datastore 
• Auto-scale 
• Schemaless Access 
• SQL-like Capabilities 
• Authentication That Just Works 
• Fast and Easy Provisioning 
• RESTful Endpoints 
• ACID Transactions 
• Local Development Tools 
• Built-in Redundancy
Cloud SQL 
• Fully managed 
• Ease of Use 
• Highly Reliable 
• Flexible Charging 
• Security, Availability, Durability 
• EU and US Data Centers 
• Easy Migration & Data Portability 
• Control
Cloud Platform 
Storage 
Cloud Storage 
Cloud SQL 
Cloud Datastore 
App Services 
BigQuery 
Cloud Endpoints 
Caching 
Queues 
Compute 
Compute Engine 
App Engine 
Building robust, intelligent systems
BigQuery 
• Fully Managed Big Data Analytics Service 
• Fast 
• Scalable 
• Flexible and Familiar 
• Security and Reliability 
The basics and BigQuery with Apps Script
DEMO: Insights On Github 
Cloud Platform
Who’s making amazing things with 
Google Cloud Platform?
Snapchat 
Delivering 350+ million snaps a day 
Cloud Platform
SongPop 
Serving 18TB a day with 80 million 
users from Google Cloud Storage, 
Cloud Datastore, and App Engine 
Cloud Platform
Eurovison 
● Handled 50,000 requests/second 
with 90% served in <24ms 
● With Scalr and Compute Engine 
Cloud Platform
Powering the future 
with unprecedented features
● cloud.google.com 
● googlecloudplatform.blogspot.com 
● plus.google.com/+GoogleCloudPlatform 
● twitter.com/GoogleCloud 
Get questions answered on StackOverflow !
cloud.google.com 
Images by Connie 
Zhou
Thank you! 
● ido-green.appspot.com 
● +GreenIdo 
● @greenido 
#CodeMotion TLV 2014

Google Cloud - Scale With A Smile (Dec 2014)

  • 1.
    Google Cloud Platform Performance Scale (with a smile) Value #CodeMotion TLV 2014
  • 2.
    +Ido Green @greenido ido-green.appspot.com #CodeMotion TLV 2014
  • 3.
    For the past15 years, Google has been building out the world’s fastest, most powerful, highest quality cloud infrastructure on the planet. Images by Connie Zhou
  • 4.
    Cloud Platform isbuilt on the same infrastructure that powers Google. Images by Connie Zhou
  • 5.
    Images by ConnieZhou Google’s Platform “[Google's] ability to build, organize, and operate a huge network of servers and fiber-optic cables with an efficiency and speed that rocks physics on its heels. This is what makes Google Google: its physical network, its thousands of fiber miles, and those many thousands of servers that, in aggregate, add up to the mother of all clouds.” - Wired
  • 6.
  • 7.
    The Pace ofSoftware Innovation MapReduce Dremel Spanner/F1 BigQuery GFS Omega Big Table Colossus Cloud Storage Cloud Datastore 2002 2004 2006 2008 2010 2012 2013
  • 8.
    #CodeMotion TLV 2014 Yes, We Can Power that Mobile Gaming Storage Big Data Highly Scalable Apps Digital Marketing
  • 9.
    BigQuery Cloud Endpoints Caching #CodeMotion TLV 2014 Compute Storage Cloud Storage App Services Compute Engine App Engine Queues Cloud SQL Cloud Datastore Persistent Disk Google Cloud Platform
  • 10.
    BigQuery Cloud Endpoints Caching CodeMotion TLV 2014 Compute Storage Cloud Storage App Services Compute Engine App Engine Queues Cloud SQL Cloud Datastore Persistent Disk Google Cloud Platform
  • 11.
    #CodeMotion TLV 2014 Exploring the Cloud IaaS Infrastructure-as-a-Service PaaS Platform-as-a-Service SaaS Software-as-a-Service Google Cloud Platform
  • 12.
    Compute as aContinuum build and deploy vm images build and deploy clusters build and deploy apps VM Cluster Platform ● Curated runtimes ● Rich services ● Auto-everything ● … just add code ● Managed collections ● Declarative + Dynamic More Agility More flexibility ● Basic atom ● Run anything
  • 13.
    Virtual Machines OnGCE Build and Deploy VMs
  • 14.
    Recent Updates GoogleCompute Engine ● Beta! Local SSD ● Ubuntu VM Image ● Regions ○ Asia ○ Additional zones in US, Europe ● Transparent maintenance ● 16-core VMs ● Lower prices (again)
  • 15.
    New! Bitnami Images Deploy your favorite open source server software More than 90 apps or infrastructure stacks google.bitnami.com
  • 16.
    MapR Breaks MinuteSortRecord • 1.5TB in 60 seconds • 8,412 cores • Google Compute Engine ● MapR broke the MinuteSort world record using Compute Engine for only $1200. ● The previous record was set using custom hardware costing hundreds of thousands of dollars. Cloud Platform
  • 17.
    Google Compute EngineDemo ● GCE In Action ● Demo Code: github. com/GoogleCloudPlatform/compute-appengine- demo-suite-python ● NodeJS & Docker ○ github. com/GoogleCloudPlatform/runtime-nodejs- docker-image ● developers.google. com/compute/docs/samples-and-videos
  • 18.
    Google App Engine Python, Java, PHP, Go
  • 19.
    Simple to Scale - AutoScale Trivial to manage - Fully managed - No patches - 24x7 operation by Google SREs Easy to develop - Free to start - Local dev environment - Service abstractions App Engine
  • 20.
    App Engine •Fully Managed Platform • Popular Programming Language Support • Flexible and Scalable Application Storage • Auto-scaling • Versioning and Traffic Splitting • Local Developer Tools • Third-party Frameworks and Extensions: webapp2, Django, Flask, Tornado, Sprint etc’ Cloud Platform
  • 21.
    "I'd rather bedemocratizing education than scaling memcached." - Chris Chew, Udacity Cloud Platform
  • 22.
    App Engine ManagedVMs Build and Deploy VMs
  • 23.
  • 24.
    Beta! App EngineManaged VMs ● App Engine productivity - on VMs ○ More flexible, powerful ● Bring your own ○ Dependencies ○ Runtime (Docker container) ● What’s new? ○ Load Balancing ○ Autoscaling ○ Cloud SDK Integration module: sudoku runtime: python27 api_version: 1 vm: true vm_settings: machine_type: n1-standard-1 apt_get_install: python-opencv automatic_scaling: min_num_instances: 2 max_num_instances: 20 ... app.yaml
  • 25.
    Custom Runtimes andAutoscaling ● Define your own Runtime environments on Managed VMs ● You provide: ○ A Dockerfile that defines a Base Docker Image ○ An app.yaml config file ● Optionally ○ Respond to LifeCycle events and Health Checks module: webrtc runtime: custom api_version: 1 vm: true ... app.yaml Dockerfile FROM mycompany/custom-nodejs-runtime
  • 26.
    docker build using google/docker-registry container Google Compute Engine VM your laptop docker run gcloud app deploy Google App Engine update start using google/docker-registry container private Google Cloud Storage bucket Your Docker image Your Docker image docker push docker pull Managed VMs Runtime Environment container $ gcloud app deploy
  • 27.
    Cloud Platform Storingwhat you want, however you want Storage Cloud Storage Cloud SQL Cloud Datastore App Services BigQuery Cloud Endpoints Caching Queues Compute Compute Engine App Engine
  • 28.
    Cloud Datastore •Versioning • Static Sites • Resumable Transfers • Object Change Notifications
  • 29.
    Cloud Datastore •Auto-scale • Schemaless Access • SQL-like Capabilities • Authentication That Just Works • Fast and Easy Provisioning • RESTful Endpoints • ACID Transactions • Local Development Tools • Built-in Redundancy
  • 30.
    Cloud SQL •Fully managed • Ease of Use • Highly Reliable • Flexible Charging • Security, Availability, Durability • EU and US Data Centers • Easy Migration & Data Portability • Control
  • 31.
    Cloud Platform Storage Cloud Storage Cloud SQL Cloud Datastore App Services BigQuery Cloud Endpoints Caching Queues Compute Compute Engine App Engine Building robust, intelligent systems
  • 32.
    BigQuery • FullyManaged Big Data Analytics Service • Fast • Scalable • Flexible and Familiar • Security and Reliability The basics and BigQuery with Apps Script
  • 33.
    DEMO: Insights OnGithub Cloud Platform
  • 34.
    Who’s making amazingthings with Google Cloud Platform?
  • 35.
    Snapchat Delivering 350+million snaps a day Cloud Platform
  • 36.
    SongPop Serving 18TBa day with 80 million users from Google Cloud Storage, Cloud Datastore, and App Engine Cloud Platform
  • 37.
    Eurovison ● Handled50,000 requests/second with 90% served in <24ms ● With Scalr and Compute Engine Cloud Platform
  • 38.
    Powering the future with unprecedented features
  • 39.
    ● cloud.google.com ●googlecloudplatform.blogspot.com ● plus.google.com/+GoogleCloudPlatform ● twitter.com/GoogleCloud Get questions answered on StackOverflow !
  • 40.
  • 41.
    Thank you! ●ido-green.appspot.com ● +GreenIdo ● @greenido #CodeMotion TLV 2014