How to host your app on Google’s own infrastructure!
Lucas Arruda [email protected]
@lunascarruda Lucas Arruda
Based on Campinas-SP / Brazil Software Architect @ CI&T DCO Open-Source enthusiast Acquia Certified Developer Zend Certified Engineer PHP 5.3 GCP Authorized Trainer & Qualified Dev. Drupaler for 4+ yrs
Main Cloud Providers (Iaas/Pass) Cloud Providers with Major Market Share (Iaas/Pass) A “new” option... Google's Network Infrastructure
Data Centers Backbone Points of Presence Edge Caching
Google operates an Google has built a 70+ edge points of Google runs an edge extensive deployment global, meshed presence in 33 caching platform on of high-efficiency backbone network to countries top of their network backend data centers interconnect their data interconnected via infrastructure. The that they use for centers and to deliver Google's backbone caching platform also computation and traffic to their Edge network has elements within backend storage points of presence ISP and access (POPs) networks IaaS PaaS Infrastructure-as-a-Service Platform-as-a-Service Virtualized hardware Abstracted computing power
Greater flexibility & Greater agility & control less maintenance Introducing Compute Engine Google Compute Engine
CopyrightCopyright 2015 2015 Google Google Inc 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
Copyright 2015 Google Inc Google App EngineCompute Engine features
High-performance virtual Global load balancing machines
Powered by Google’s global Fast and easy provisioning network
(Really) Pay for what you use 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
Introducing App Engine Google App Engine
CopyrightCopyright 2015 2015 Google Google Inc Inc Google App EngineApp Engine Fundamentals
Simple to Scale Easy to develop Trivial to manage - Autoscale - Free to start - Fully managed - Build and test locally - No patches/updates - Focus on App Code - 24x7 operation by Google SREs Google App EngineApp Engine Fundamentals
When to use? Capabilities
● Focus on your code ● Automatic resource provisioning ● Managed environment ● Java, Python, PHP, & Go Beta ● Build micro-services ● Identity, Memcache, Task Queue, Mail, ...
“ 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)
Copyright 2015 Google Inc Cloud Providers with Major Market Share (Iaas/Pass) Affordable On-Demand Prices & a Commitment to Moore’s Law GoogleCloud App Pricing Engine Is Not Following Moore’s Law
● Public cloud prices have Public Cloud Prices fallen 6-8% annually Hardware Cost ● Hardware prices have fallen 20-30% annually
● Google introduced measures to optimise pricing:
○ Sub-Hour Billing ○ Sustained-Use Discounts 2006 2014 GoogleSustained-use App Engine Discountsed on Moore's Law
Sustained-use discounts automatically reward users who run VMs for over 25% of any calendar month Try the online pricing calculator to help estimate your costs GoogleSustained-use App Engine Discountsed on Moore's Law Q&A THANKS FOR BEING HERE! Lucas Arruda @lunascarruda lunascar@gmail.com google.com/+LucasArruda linkedin.com/in/larruda github.com/larruda