SlideShare a Scribd company logo
Google App Engine
An Intro, by Lenny Rachitsky
Questions
Agenda
1. Where App Engine fits
2. What is App Engine
3. How to use App Engine
4. How I’ve used App Engine
5. Q&A
“Run your web apps on Google's infrastructure.
  Easy to build, easy to maintain, easy to scale.”
What is “The Cloud”?

“Cloud computing is a model for enabling convenient, on-
demand network access to a shared pool of configurable
computing resources (e.g., networks, servers, storage,
applications, and services) that can be rapidly provisioned
and released with minimal management effort or service
provider interaction.”

-- National Institute of Standards and Technology
Google App Engine - Simple Introduction
“The Cloud”
Don’t have to build your own infrastructure
Pay only for what you use
Use as much as you need, whenever you
need
“The Cloud”
Don’t have to build your own infrastructure
Pay only for what you use
Use as much as you need, whenever you
need
Manage your infrastructure with code
Google App Engine - Simple Introduction
Cloud Service Models
Cloud Service Models




              IaaS
     (Infrastructure-as-a-Service)
Cloud Service Models



              PaaS
       (Platform-as-a-Service)



              IaaS
     (Infrastructure-as-a-Service)
Cloud Service Models

              SaaS
       (Software-as-a-Service)



              PaaS
       (Platform-as-a-Service)



              IaaS
     (Infrastructure-as-a-Service)
Cloud Service Models

              SaaS
       (Software-as-a-Service)



              PaaS
       (Platform-as-a-Service)



              IaaS
     (Infrastructure-as-a-Service)
Cloud Service Models



            PaaS
      (Platform-as-a-Service)
Overview of Google App Engine
The Pitch:
You write the code, someone else worries
about everything else
The Sandbox
The Sandbox

Python or Java
The Sandbox

Python or Java
Limited access
The Sandbox

Python or Java
Limited access
Limited run time
The Sandbox

Python or Java
Limited access
Limited run time
Datastore
The Datastore

Based on “BigTable”
Schemaless
NoSQL, with SQL type queries
Scales infinitely
Means a lot less time spent on the database
Maybe the best part of App Engine
Sample of Data Model “Kind”


class FoursquareUser(db.Model):
   created = db.DateTimeProperty(auto_now_add=True)
   name = db.TextProperty()
   email = db.TextProperty()
Sample query


query = db.GqlQuery("SELECT * FROM FoursquareUser")

for user in query:
     self.response.out.write("User name: %s" % user[“name”])
     self.response.out.write("User email: %s" % user[“email”])
Other services
 Google Accounts
 Mail
 URL Fetch
 Memcache
 Image manipulation
 Queues
 Cron jobs
Costs
Quota’s
Target Application
Let’s create an app!
Demo my apps
Google I/O
Resources

http://code.google.com/appengine/docs/python/
gettingstarted/
http://code.google.com/appengine/docs/python/
overview.html
http://appengine-cookbook.appspot.com/
http://googleappengine.blogspot.com/2010/03/easy-
performance-profiling-with.html
Q&A

More Related Content

What's hot (19)

PPTX
Google Cloud Platform (GCP) At a Glance
Cloud Analogy
 
PPTX
The Fermilab HEPCloud Facility
Claudio Pontili
 
PPTX
Introduction to Azure PaaS services (Nick Trogh at Codit Azure PaaS Event)
Codit
 
PDF
Cloud computing's truly open silver lining: OpenStack
Asociatia ProLinux
 
PPTX
CSAL
Anusha Chavan
 
PPTX
An introduction to cloud computing with Amazon Web Services and MongoDB
Samuel Demharter
 
PPT
Amazon quicksight
Sivakumar Ramar
 
PDF
Virtual Global Azure 2020 - Azure Monitor
Pedro Sousa
 
PPTX
Microsoft Azure News - 2018 June
Daniel Toomey
 
PPTX
SaaS, IaaS, PaaS, FaaS, CaaS... Explanation about all those terms
Nicolas Vanhoren
 
PDF
System Security on Cloud
Tu Pham
 
PPTX
TechEvent Infrastructure as Code on Azure
Trivadis
 
PPTX
Microsoft Azure Cost Optimization and improve efficiency
Kushan Lahiru Perera
 
PPTX
Azuresatpn19 - An Introduction To Azure Data Factory
Riccardo Perico
 
PPTX
AWS for the SQL Server Pro
Lynn Langit
 
PPTX
Microservices Live
Data Driven Innovation
 
PPTX
Intro to docker and kubernetes
Mohit Chhabra
 
PDF
Going serverless with azure functions
gjuljo
 
PDF
Azure governance v4.0
Marcos Oikawa
 
Google Cloud Platform (GCP) At a Glance
Cloud Analogy
 
The Fermilab HEPCloud Facility
Claudio Pontili
 
Introduction to Azure PaaS services (Nick Trogh at Codit Azure PaaS Event)
Codit
 
Cloud computing's truly open silver lining: OpenStack
Asociatia ProLinux
 
An introduction to cloud computing with Amazon Web Services and MongoDB
Samuel Demharter
 
Amazon quicksight
Sivakumar Ramar
 
Virtual Global Azure 2020 - Azure Monitor
Pedro Sousa
 
Microsoft Azure News - 2018 June
Daniel Toomey
 
SaaS, IaaS, PaaS, FaaS, CaaS... Explanation about all those terms
Nicolas Vanhoren
 
System Security on Cloud
Tu Pham
 
TechEvent Infrastructure as Code on Azure
Trivadis
 
Microsoft Azure Cost Optimization and improve efficiency
Kushan Lahiru Perera
 
Azuresatpn19 - An Introduction To Azure Data Factory
Riccardo Perico
 
AWS for the SQL Server Pro
Lynn Langit
 
Microservices Live
Data Driven Innovation
 
Intro to docker and kubernetes
Mohit Chhabra
 
Going serverless with azure functions
gjuljo
 
Azure governance v4.0
Marcos Oikawa
 

Viewers also liked (16)

PDF
Czech Tech Pitch Day - Beevendo (Michal Stepanek)
Jan Fried
 
KEY
Localmind pitch at NewTech Montreal
Lenny Rachitsky
 
PDF
Home Solution catcher pitch deck
Jorge A. Huck
 
PDF
Google App Engine At A Glance
Stefan Christoph
 
PDF
Introduction to Google App Engine - Naga Rohit S [ IIT Guwahati ] - Google De...
Naga Rohit
 
PDF
Introduction to Google App Engine
Kanda Runapongsa Saikaew
 
PDF
Google App Engine (Introduction)
Praveen Hanchinal
 
PPTX
Google app engine - Overview
Nathan Quach
 
PPT
Google app engine introduction
rajsandhu1989
 
PDF
Google App Engine: An Introduction
Abu Ashraf Masnun
 
PPT
Introduction to Google App Engine
rajdeep
 
PDF
Google app engine
Suraj Mehta
 
PDF
HBase Storage Internals
DataWorks Summit
 
PDF
Dwolla Startup Pitch Deck
Joseph Hsieh
 
PPTX
The Best Startup Investor Pitch Deck & How to Present to Angels & Venture Cap...
J. Skyler Fernandes
 
PDF
The slide deck we used to raise half a million dollars
Buffer
 
Czech Tech Pitch Day - Beevendo (Michal Stepanek)
Jan Fried
 
Localmind pitch at NewTech Montreal
Lenny Rachitsky
 
Home Solution catcher pitch deck
Jorge A. Huck
 
Google App Engine At A Glance
Stefan Christoph
 
Introduction to Google App Engine - Naga Rohit S [ IIT Guwahati ] - Google De...
Naga Rohit
 
Introduction to Google App Engine
Kanda Runapongsa Saikaew
 
Google App Engine (Introduction)
Praveen Hanchinal
 
Google app engine - Overview
Nathan Quach
 
Google app engine introduction
rajsandhu1989
 
Google App Engine: An Introduction
Abu Ashraf Masnun
 
Introduction to Google App Engine
rajdeep
 
Google app engine
Suraj Mehta
 
HBase Storage Internals
DataWorks Summit
 
Dwolla Startup Pitch Deck
Joseph Hsieh
 
The Best Startup Investor Pitch Deck & How to Present to Angels & Venture Cap...
J. Skyler Fernandes
 
The slide deck we used to raise half a million dollars
Buffer
 
Ad

Similar to Google App Engine - Simple Introduction (20)

PDF
Google Cloud Platform Update
Ido Green
 
KEY
Introduction to Google App Engine
Chakkrit (Kla) Tantithamthavorn
 
PDF
Google App Engine
Software Park Thailand
 
PPTX
Google App Engine
Csaba Toth
 
PDF
Google App Engine 7 9-14
Tony Frame
 
PDF
Google app engine
Pawandeep Singh
 
PDF
Gcp intro-20160721
Haeseung Lee
 
PDF
GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...
Patrick Chanezon
 
PDF
Google app engine
esmaillhasanzadeh1
 
PPTX
Google App Engine
Joxin Johny Kurisingal
 
PDF
Java Web Programming on Google Cloud Platform [1/3] : Google App Engine
IMC Institute
 
PPTX
10 Reasons Why You Should Consider Google App Engine (GAE) for Your Next Project
Abeer R
 
PDF
Cloud computing overview & running your code on Google Cloud
wesley chun
 
PPTX
Google apps engine
shubhravrat Deshpande
 
PPTX
Google App Engine
Sameer Satyam
 
PPT
Google Cloud Developer Challenge - GDG Belgaum
sandeephegde
 
PPT
App_Engine_PPT..........................
HassamShahid2
 
PPT
App_Engine_PPT.ppt
Pikachu925105
 
PPT
App_Engine_PPT.ppt
ArunPrakash330
 
Google Cloud Platform Update
Ido Green
 
Introduction to Google App Engine
Chakkrit (Kla) Tantithamthavorn
 
Google App Engine
Software Park Thailand
 
Google App Engine
Csaba Toth
 
Google App Engine 7 9-14
Tony Frame
 
Google app engine
Pawandeep Singh
 
Gcp intro-20160721
Haeseung Lee
 
GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...
Patrick Chanezon
 
Google app engine
esmaillhasanzadeh1
 
Google App Engine
Joxin Johny Kurisingal
 
Java Web Programming on Google Cloud Platform [1/3] : Google App Engine
IMC Institute
 
10 Reasons Why You Should Consider Google App Engine (GAE) for Your Next Project
Abeer R
 
Cloud computing overview & running your code on Google Cloud
wesley chun
 
Google apps engine
shubhravrat Deshpande
 
Google App Engine
Sameer Satyam
 
Google Cloud Developer Challenge - GDG Belgaum
sandeephegde
 
App_Engine_PPT..........................
HassamShahid2
 
App_Engine_PPT.ppt
Pikachu925105
 
App_Engine_PPT.ppt
ArunPrakash330
 
Ad

More from Lenny Rachitsky (16)

KEY
Your Mind Is In Your Pants - Mind 2.0
Lenny Rachitsky
 
KEY
Street fight west summit mind 2.0
Lenny Rachitsky
 
PDF
Filter Failure
Lenny Rachitsky
 
KEY
Bitnorth 2011
Lenny Rachitsky
 
PDF
Mind 2.0: Your mind is #InYourPants
Lenny Rachitsky
 
KEY
TEDxConcordia - Losing Serendipity
Lenny Rachitsky
 
KEY
Losing Serendipity (Bitnorth 2010)
Lenny Rachitsky
 
PDF
Upside of Downtime Preparation Framework
Lenny Rachitsky
 
PDF
The Upside of Downtime (Velocity 2010)
Lenny Rachitsky
 
KEY
The Cloud - An introduction
Lenny Rachitsky
 
KEY
How to Trust the Cloud
Lenny Rachitsky
 
KEY
The Power of Story, Part 1
Lenny Rachitsky
 
PPT
Getting Things Done - Intro
Lenny Rachitsky
 
PDF
The White City - Chicago World Fair of 1893
Lenny Rachitsky
 
PDF
Influence - Robert Cialdini
Lenny Rachitsky
 
PDF
Twitter - An Intro
Lenny Rachitsky
 
Your Mind Is In Your Pants - Mind 2.0
Lenny Rachitsky
 
Street fight west summit mind 2.0
Lenny Rachitsky
 
Filter Failure
Lenny Rachitsky
 
Bitnorth 2011
Lenny Rachitsky
 
Mind 2.0: Your mind is #InYourPants
Lenny Rachitsky
 
TEDxConcordia - Losing Serendipity
Lenny Rachitsky
 
Losing Serendipity (Bitnorth 2010)
Lenny Rachitsky
 
Upside of Downtime Preparation Framework
Lenny Rachitsky
 
The Upside of Downtime (Velocity 2010)
Lenny Rachitsky
 
The Cloud - An introduction
Lenny Rachitsky
 
How to Trust the Cloud
Lenny Rachitsky
 
The Power of Story, Part 1
Lenny Rachitsky
 
Getting Things Done - Intro
Lenny Rachitsky
 
The White City - Chicago World Fair of 1893
Lenny Rachitsky
 
Influence - Robert Cialdini
Lenny Rachitsky
 
Twitter - An Intro
Lenny Rachitsky
 

Recently uploaded (20)

PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 

Google App Engine - Simple Introduction

Editor's Notes

  • #3: - Who here has heard of App Engine before this talk came up on the agenda? - Who here has used App Engine? - Who has something running on App Engine today? - Throw out things you’d like to get out of this talk today.
  • #5: - The basic pitch - Sounds nice - How does it work? - Let’s step back and talk about the cloud in general
  • #6: blah blah blah
  • #7: - Basically lets you use computing resources like electricity
  • #8: - The promise of the cloud, and we’re pretty much there, means...
  • #9: instead of rack and stack, you click and drag
  • #10: - A lot of different companies are offering cloud computing platforms. - What are the differences?
  • #11: - The pundits have grouped the various cloud offerings into three service models
  • #12: - Basically virtualized hardware somewhere out in the providers datacenter, where you are still dealing with servers, except you don’t have to actually deal with the hardware or support or management, and you can launch/kill servers at will
  • #13: - Paas, where you don’t have to worry about servers or scaling, in exchange for being limited in what you can do in you code
  • #14: - and our world of saas, which are basically web applications fully built that you don’t have to install locally
  • #15: This is where each of the providers fit today...
  • #16: And what we’re talking about today is Platform as a service. Google App Engine is the furthest along, but vmforce just launched and will probably be a strong offering. There are a few other popular paas services, such as Horuku and EngineYard that are Ruby on Rails based.
  • #18: - Everything else = hardware, OS, scaling, databases, storage, parallelization, load balancing, queueing, account management, billing, etc.
  • #19: - When you write you applications, you write them inside a sandbox environment - Means you are a bit limited in what you can theoretically do
  • #20: - Can only use Python or Java, though you can run other languages that run on the JVM such as ruby, scala, and even javascript -- You can use the most common frameworks such as Django and Spring
  • #21: - Limited access to underlying operating system -- can’t write to disk -- No sockets to connect to other machines. - Allows app engine to distribute your requests across multiple servers, and launch/kill servers as needed.
  • #22: - Each process can take no longer than 30 seconds to run, at which point it is killed - Other limitations: -- can’t use SSL from a custom domain, database fields can’t get bigger then 1MB unless you’re using a new blob column
  • #23: - basically forced to use google’s own datastore for your database
  • #24: actually one of the bigger advantages of using app engine is the datastore
  • #25: - equivalent of a sql style table - You create a class with each property getting mapped to the datastore automatically
  • #26: Then you do a simple query very similar to how you would do it in SQL, and get back basically a hash for each table row.
  • #28: - Costs are based on quota’s - There’s a quota on basically every piece of the architecture
  • #29: - CPU time, bandwidth, storage, api calls, mail sent, url’s fetched, etc. - You get an amazingly generous amount free - They claim it can support 5 million page views a month at the free quota, if you use the platform the right way
  • #30: - Based on the quota’s, and the sandbox, the app engine platform is tuned for “web applications”. Things like 30 second limits on processes, and inability to control your location, and pain in getting mass amounts of data in/out keep it from being great for other things. In exchange it’s really good for web apps. - Not: data mining, running a monitoring system, running exchange, managing other clouds - But that’s just today. Who knows where things will go?
  • #31: enough theory, let’s create an app that queries the twitter search API and returns any tweet that matches a given search term
  • #33: - Can use Speed Tracer with Google App Engine page stats - Can launch Spring powered apps to Google App Engine? - half a billion page views per day - They claim 60% of it costs are for keeping the lights on - Announced app engine for businesss -- Customers said they needed better reliability, support, key features, predictable pricing -- Domain console to help manage all app engine apps, with permissions/policies per employee -- professional support (soon) -- SLA's (soon) --- real sql, full sql, scales just as much as sql server would on its own -- SSL and SQL server (later) -- $8/user per month, up to $1000/month - Performance stats -- put is 50-100ms -- get is 10-20 ms -- index on put -- memcache is 5-10ms -- most time is spent in RPC calls waiting for traffic - audience complaints -- lack of focus on java and core issues, they think the team is being distracted focusing on the enterprise -- they want to know whether they should bet on amazon or google -- Google guy: "We're trying to take over the world" - lessons learned from lauching app engine -- keep everything configurable, you don't know how people will use your service, have knobs and dials -- "TRansparency is key, really important for developers to know whats happening"