Post on 15-Feb-2017
Lucas Arrudalucas@ciandt.com
How to host your app onGoogle’s own infrastructure!
@lunascarruda
Lucas Arruda
Software Architect @ CI&T DCO
Open-Source enthusiast
Acquia Certified Developer
Based on Campinas-SP / Brazil
Zend Certified Engineer PHP 5.3
Drupaler for 4+ yrs
GCP Authorized Trainer & Qualified Dev.
Main Cloud Providers (Iaas/Pass)
Cloud Providers with Major Market Share (Iaas/Pass)
A “new” option...
Google operates an extensive deployment of high-efficiency backend data centers that they use for computation and backend storage
Google has built a global, meshed backbone network to interconnect their data centers and to deliver traffic to their Edge points of presence (POPs)
70+ edge points of presence in 33 countries interconnected via Google's backbone network
Google runs an edge caching platform on top of their network infrastructure. The caching platform also has elements within ISP and access networks
Data Centers Backbone Points of Presence Edge Caching
Google's Network Infrastructure
IaaSInfrastructure-as-a-Service
PaaSPlatform-as-a-Service
Virtualized hardware Abstracted computing power
Greater flexibility & control
Greater agility & less maintenance
Copyright 2015 Google Inc
Copyright 2015 Google Inc
Introducing Compute EngineGoogle Compute Engine
Copyright 2015 Google Inc
Run large-scale workloads on virtual machines hosted on Google's infrastructure. Choose a VM that fits your needs and gain the performance of Google’s worldwide fiber network.
Images by Connie Zhou
Google App EngineCompute Engine features
High-performance virtual machines
Powered by Google’s global network
(Really) Pay for what you use
Global load balancing
Fast and easy provisioning
Compliance and security
Google App EngineCompute Engine features
● Sub-hour Billing
● Up to 10TB Persistent Disk
● SSD and local SSD Persistent Disks
● 15+ Instance Types
● Advanced Networking
● Startup Scripts for Provisioning
● Network and HTTP Load Balancing
● Snapshotting
Copyright 2015 Google Inc
Copyright 2015 Google Inc
Introducing App EngineGoogle App Engine
Simple to Scale- Autoscale
Easy to develop- Free to start
- Build and test locally- Focus on App Code
Trivial to manage- Fully managed
- No patches/updates- 24x7 operation by
Google SREs
Google App EngineApp Engine Fundamentals
Google App EngineApp Engine Fundamentals
When to use? Capabilities
● Automatic resource provisioning
● Java, Python, PHP, & Go Beta
● Identity, Memcache, Task Queue, Mail, ...
● Focus on your code
● Managed environment
● Build micro-services
Copyright 2015 Google Inc
Copyright 2015 Google Inc
“ With Google App Engine, we don’t need a system administrator or anyone dedicated to deploying our app, so 99 percent of our time is spent working on our application.”
-Ben Kamenslead developer, Khan Academy
● Not-for-profit online videos for education
● 3.8 million unique visits a month during the U.S. school year
● 1.5 million practice questions served and answered every school day
● Chose Google App Engine as hosting platform for KhanAcademy.org
● Site deployments at least once per day, sometimes 9 or 10 times per day
● No dedicated system administrator
Copyright 2015 Google Inc
Coca-Cola Happiness Flag for 2014 World Cup
● World’s largest mosaic flag
● Crowdsourced images from more than 200 countries
● Scalable hybrid solution built on App Engine, Cloud Storage, Datastore and Compute Engine
● Handled millions of images from Twitter, Facebook, Instagram as well as email
● Included redundancy, failover, backup and monitoring
Source: GCP guest blog post by Daniel Viveiros (CI&T)
Cloud Providers with Major Market Share (Iaas/Pass)
Affordable On-Demand Prices & a Commitment to Moore’s Law
Google App EngineCloud Pricing Is Not Following Moore’s Law
2006 2014
Public Cloud Prices
Hardware Cost
● Public cloud prices have fallen 6-8% annually
● Hardware prices have fallen 20-30% annually
● Google introduced measures to optimise pricing:
○ Sub-Hour Billing○ Sustained-Use
Discounts
Google App EngineSustained-use Discountsed on Moore's Law
Sustained-use discounts automatically reward users who run VMs for over 25% of any calendar monthTry the online pricing calculator to help estimate your costs
Google App EngineSustained-use Discountsed on Moore's Law
Q&A
THANKS FOR
BEINGHERE!
Lucas Arruda
@lunascarruda
lunascar@gmail.com
google.com/+LucasArruda
linkedin.com/in/larruda
github.com/larruda