Powerful Google developer tools for immediate impact! (2023-24 C)
Cloud Foundry Demo SD Forum Cloud Sig Feb09
1. Automated, Outsourced,
Data Center Management for
Java Applications on Amazon EC2
Chris Richardson
www.cloudfoundry.com
l df d
2. About Chris
Grew up in England and live in Oakland
•
Over 20+ years of software
•
development experience including 12
d l t i i l di
years of Java
Started Java architecture consulting
•
company and sold it to BEA
Speaker at J
S k t JavaOne, S i O
O SpringOne, NFJS
NFJS,
•
JavaPolis, Spring Experience, etc.
Java Champion
•
Run a consulting and training company
•
that h l
th t helps organizations reduce
i ti d
development costs and increase
effectiveness
cloudtools.org
www.cloudfoundry.com
Slide 2
Copyright (c) 2009 Chris Richardson. All rights reserved.
3. Why Java?
y
Java 22%
Widely used
Lots of innovation C 16%
Grails provides Rails-like “10X VB 11%
gain in web developer C++ 10%
productivity
productivity” for Java
PHP 9%
Spring, Hibernate, OSGi,
Terracotta, Scala, … Python 5%
Perl 5%
C# 4%
Ruby 3%
Source: TIOBE Index
Slide 3
Copyright (c) 2009 Chris Richardson. All rights reserved.
4. Running Java on Amazon EC2
g
Amazon Web Services provides the
compute resources
For development and deployment
Great for startups and agile enterprises
p g p
BUT
Requires new skills to use effectively
New concepts
N t
New APIs
It is a lot of work to correctly setup,
s oo o oo y s up,
deploy and manage a Java application
Dynamic environment, e.g. changing IPs,
ephemeral storage, …
Slide 4
Copyright (c) 2009 Chris Richardson. All rights reserved.
5. CloudTools.org
g
Open-source project
AMIs with Java stack: Apache/Tomcat/MySql, …
Deployment and management framework for
Java and other JVM languages
Object-oriented and extensible
j
mvn cloudtools:deploy
OR
g
grails cloud-tools-deploy
py
Slide 5
Copyright (c) 2009 Chris Richardson. All rights reserved.
6. A few minutes later
Tomcat Server MySQL
(instance 2) DB (Slave)
HTTP(S) (instance 5)
Web Browser
Apache Server MySQL
(
(instance 1)
) DB (Master)
( )
(instance 4)
Tomcat Server MySQL
yQ
EBS Volume
Vl
(instance 3) DB (Slave)
(instance 6)
S3
Slide 6
Copyright (c) 2009 Chris Richardson. All rights reserved.
7. CloudFoundry.com
y
A hosted service, currently in beta
Exclusively for the JVM community
Builds on Cloud Tools deployment and
py
management engine
Deploy an application with a few
py pp
mouse clicks
Monitoring and automated
management
Support
Slide 7
Copyright (c) 2009 Chris Richardson. All rights reserved.
8. Cloud Foundry Demo – part 1
y p
Slide 8
Copyright (c) 2009 Chris Richardson. All rights reserved.
10. Cloud Foundry Features
y
Language, framework and tool agnostic
You provide WAR files + SQL scripts
Written in your favorite JVM language
Developed using your favorite frameworks
Built using your favorite tools
Portability
Deploy on your instances
Choice f topologies
Ch i of t li
SingleInstance – all services on a single instance
MultipleInstances – instance/service
Automated backups
Monitoring, alerting and automated
recovery
Slide 10
Copyright (c) 2009 Chris Richardson. All rights reserved.
11. Cloud Foundry Demo – part 2
y p
Slide 11
Copyright (c) 2009 Chris Richardson. All rights reserved.
12. Beer on the Cloud
Grails application
Short-term
marketing
campaign site
Fluctuating load
Sat/Sun 4 servers
Mon Fri
Mon-Fri 1 server
Slide 12
Copyright (c) 2009 Chris Richardson. All rights reserved.
13. Final thoughts
g
Download or contribute to Cloud
Tools today :
y
www.cloudtools.org
Checkout Cloud Foundry:
www.cloudfoundry.com
www cloudfoundry com
Buy my book ☺
Send email:
chris@chrisrichardson.net
Visit my website:
www.chrisrichardson.net
Talk to me about consulting and
training
Phone: 510 904 9832
Slide 13
Copyright (c) 2009 Chris Richardson. All rights reserved.