a journey to the   darker side
                   Cloud Computing
                                         of




                            by Matthew McCullough
Matthew
McCu llough
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
?
                        20     mi n
                   ?    mi n
            15    min
       ?    min
10    min
min
➊
A brief History
1960
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
“computation may
someday be organized as a
public utility”
                -John McCarthy
Shared Time
circa 2006
“It starts with the premise that the data services
and architecture should be on servers. We call it
cloud computing – they should be in a
“cloud” somewhere.”
                                       -Eric Schmidt
SaaS
Virtualized Servers
      with an API
➋
What is the Cloud?
“
A style of computing in which
dynamically scalable and
often virtualized resources are
provided as a service over the
Internet.
                        -NIST (draft)
“
[Developers] need not have
knowledge of, expertise in, or
control over the technology
infrastructure in the cloud
that supports them.
       -Aggregate of Tim O’Reilly, Luis M.Vaquero
Scalable
Dynamic
Pay-per-use
Minimal state
Affinity-less
Scale up
Scale down
Grid?
➌
Why the Cloud?
Cost of startup
Experimentation
Transition to
 Production
No licensing fees
Instant availability
What’s the most
  expensive item on a
startup’s balance sheet?
You!
Time savings
Hardware setup time
OS setup time
Database setup time
Web container setup time
Server setup
Server destruction
❹
Cloud Players
From most open to
most constrained
Rackspace Cloud Sites
Rackspace Cloud Servers
Amazon EC2
Google App Engine
Levels of
Abstraction
Operating System
     Images
Predetermined
or abstracted away
Programming
languages?
Anything?
PHP?
Python?
Java?
File Systems
Rackspace Cloud
Traditional File System
Amazon EC2
Elastic Block Storage
Mor.ph
Traditional File System
Google App Engine
      None
Datastores
Amazon EC2
Simple DB
Google App Engine
  Big Table
Operating
 Systems
Debian, Fedora, Ubuntu
   on Rackspace Cloud
Windows Server
 on Amazon EC2
1000 variants of Linux
    on Amazon EC2
CentOS Linux
  on Mor.ph
Custom Linux
on Google App Engine
Pricing
Rackspace Cloud
1.5¢ per hour
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
Amazon EC2
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
Google App Engine
We’ll give it away free
and make up for it in
        volume!
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
Google
         ❺
         App Engine
April 8th,   2008
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
Google AppEngine
Python
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
April 7th,   2009
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
Java!
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
But more like
Banned




         ⅘
         Java
Getting Started with
     GAE
Free to start
Cell Phone #
Regular Google
   Account
10,000: first wave
95 minutes
25,000: second wave
Everyone: third wave
Technology Stack
SDK
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
Shell scripts to manage
          apps
Source code included
SDK-version-locked
 by the SDK JARs you
        include
Subset of JDK 1.6
Custom Class Loaders
Sandbox
Whitelist of Classes
Caution!
Might work on desktop,
   but not on GAE
Application ID
Globally Unique
required for
 deployment
___.appspot.com
Servlet API
Jetty
JSPs
Java Mail API
Google Web Toolkit
Authentication
    (2 options)
Integration with
 Google Accounts
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
Admin & User Level
   Permissions
Roll your own
(hint: use SpringSecurity)
Memcache
(as an alternative to persistent disk storage)
Low level API
JSR-107 / JCache
    (javax.cache)
BigTable
Relational Database?
Relational Database
Can import from
   existing DB
JDO
JPA
Low level BigTable API
Limited GORM-JPA
DataNucleus
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
Logging
java.util.logging
System.out == info
System.err == warning
Log4j
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
❻
Dark Clouds
a few GAE NOs
No Hibernate
No file writing
No threads
No server affinity
Even for sequential
     requests
No sockets
But... you can use URLFetch
     for HTTP/HTTPS resources
No JNI
No more than 30s
Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4
common Concerns
Large Setups more
economical to self-host
Out of your hands
Uptime?
Do you trust the
    vendor?
Databases without
foreign keys is a new
       frontier
“The interesting thing about cloud computing is that
we’ve redefined cloud computing to include
everything that we already do... Maybe I’m an
idiot, but I have no idea what anyone is talking about...
It’s complete gibberish. It’s insane. When is
this idiocy going to stop?

 -Larry Ellison
a journey to the   darker side  of
                   Cloud Computing
Code Examples
 http://github.com/matthewmccullough
Twitter
 @matthewmccull
Email
 matthewm@ambientideas.com
Blog
 http://www.ambientideas.com/blog
         sidebar has my social networking profile links
Resources

• http://mor.ph
• http://appengine.google.com
• http://www.rackspacecloud.com/
  cloud_hosting_products/servers
  (formerly http://mosso.com)

• http://aws.amazon.com/ec2/
Resources

• http://www.browsermob.com
• http://highscalability.com/
• http://highscalability.com/useful-cloud-computing-
  blogs
• http://www.youtube.com/watch?
  v=ri796Hx8las&feature=channel
Photo Credits


•   www.ambientideasphotography.com [clouds]

•   http://en.wikipedia.org/wiki/John_McCarthy_(computer_scientist)

•   http://www.nga.org/Images/AM07SAT09HIRES.JPG

•   All others purchased through iStockPhoto.com

More Related Content

PDF
Lunch_and_Learn_20150603
PPTX
Microservice performance-b
PPT
B U I L D I N G C L O U D S W I T H E U C A L Y P T U S
PDF
The cloud infrastructure with eucalyptus
PPTX
Amazon Elastic Computing 2
PPTX
PPTX
"Traffic Speed Control System in the Cloud using Machine Learning" by Albert ...
PDF
From Grids To Clouds Guy Tel Zur May 2009
Lunch_and_Learn_20150603
Microservice performance-b
B U I L D I N G C L O U D S W I T H E U C A L Y P T U S
The cloud infrastructure with eucalyptus
Amazon Elastic Computing 2
"Traffic Speed Control System in the Cloud using Machine Learning" by Albert ...
From Grids To Clouds Guy Tel Zur May 2009

Similar to Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4 (20)

PDF
Cloud Computing Bootcamp On The Google App Engine v1.2.1
PDF
Cloud Talk
PPTX
cloud_computing_for_ml_sys_hhhhhhhhhhhhhhhhhhhhhhhhhhh
PPTX
Dystopia as a Service
PPTX
John Landry at Mass TLC Feb09
PDF
Google Cloud Platform and Kubernetes
PDF
Practical Cloud & Workflow Orchestration
PPTX
Above The Clouds
PDF
Cloud Computing Bootcamp On The Google App Engine [v1.1]
PPT
The Enterprise Cloud
PDF
What the cloud has to do with a burning house?
PPTX
Cloud Computing By #Manoj_Rockstar
PDF
PHP Cloud Deployment Toolkits
KEY
Keynote Cloud Jw
PPT
Lightning talks
PPTX
Introduction to cloud computing - za garage talks
PPTX
Kb12012011 amitava cloud_computing
PPT
PPTX
Simple Introduction to Cloud for Users
PDF
WebSocket Perspectives 2015 - Clouds, Streams, Microservices and WoT
Cloud Computing Bootcamp On The Google App Engine v1.2.1
Cloud Talk
cloud_computing_for_ml_sys_hhhhhhhhhhhhhhhhhhhhhhhhhhh
Dystopia as a Service
John Landry at Mass TLC Feb09
Google Cloud Platform and Kubernetes
Practical Cloud & Workflow Orchestration
Above The Clouds
Cloud Computing Bootcamp On The Google App Engine [v1.1]
The Enterprise Cloud
What the cloud has to do with a burning house?
Cloud Computing By #Manoj_Rockstar
PHP Cloud Deployment Toolkits
Keynote Cloud Jw
Lightning talks
Introduction to cloud computing - za garage talks
Kb12012011 amitava cloud_computing
Simple Introduction to Cloud for Users
WebSocket Perspectives 2015 - Clouds, Streams, Microservices and WoT
Ad

More from IASA (8)

PDF
Building Feedback Loops
PDF
Risk Centric Architecture George Fairbanks
PDF
Resource-Oriented Architecture (ROA) and REST
PDF
Domain Driven Design Up And Running
PDF
Business and Strategic Alignment in EA – Practical Guidelines Based on Indust...
KEY
Database Refactoring With Liquibase
PPTX
Rethinking Object Orientation
PDF
Making Architecture Business Value Driven
Building Feedback Loops
Risk Centric Architecture George Fairbanks
Resource-Oriented Architecture (ROA) and REST
Domain Driven Design Up And Running
Business and Strategic Alignment in EA – Practical Guidelines Based on Indust...
Database Refactoring With Liquibase
Rethinking Object Orientation
Making Architecture Business Value Driven
Ad

Recently uploaded (20)

PDF
Auditboard EB SOX Playbook 2023 edition.
PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
PDF
Co-training pseudo-labeling for text classification with support vector machi...
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PPTX
Microsoft User Copilot Training Slide Deck
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PPTX
MuleSoft-Compete-Deck for midddleware integrations
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
Flame analysis and combustion estimation using large language and vision assi...
PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
Auditboard EB SOX Playbook 2023 edition.
Rapid Prototyping: A lecture on prototyping techniques for interface design
Co-training pseudo-labeling for text classification with support vector machi...
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
Lung cancer patients survival prediction using outlier detection and optimize...
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
Microsoft User Copilot Training Slide Deck
NewMind AI Weekly Chronicles – August ’25 Week IV
giants, standing on the shoulders of - by Daniel Stenberg
Enhancing plagiarism detection using data pre-processing and machine learning...
MuleSoft-Compete-Deck for midddleware integrations
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
Flame analysis and combustion estimation using large language and vision assi...
Comparative analysis of machine learning models for fake news detection in so...
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Early detection and classification of bone marrow changes in lumbar vertebrae...

Cloud Computing Bootcamp On The Google App Engine For Iasa V1.2.4