The concept of DevOps and recipes can go well beyond setup, to actually accelerate the entire lifecycle of your applications, from setup, to monitoring, through maintaining high availability, and auto-scaling when required.
Cloudify ties things together from an application perspective and prepares everything so that Chef can run on the proper nodes on the cloud, and then monitors and auto scales your app on any cloud
5. Ask yourself:
• Do I need additional
platforms?
• Do I need a different
OS version/type?
• Can I settle for the
underlying cloud
SLAs?
5
BUT IS THIS GOOD ENOUGH FOR YOU?
6. Idea is to model your app and its components
using code (Groovy DSL, to be specific)
Kind of like a deployment descriptor, but for
the entire stack
6
DEVOPS IS A GREAT PAAS ENABLER
7. 7
GigaSpaces Cloudify is an open source PaaS stack that can on board any
application to any cloud without architectural or code changes.
GIGASPACES CLOUDIFY
1. Mission critical applications
2. Any cloud, any stack. No code change
3. Full control and visibility
9. Use the right tool for the job!
Chef is about automating the configuration of servers
Setup
Install
Start
Converge
Probably the most powerful configuration and
automation tool out there
Hundreds of production grade, community supported
cookbooks
9
WHY CHEF ?
10. application {
name="simple app"
service {
name = "mysql-service"}
service {
name = "jboss-service"
dependsOn = ["mysql-service"]}
}
CLOUDIFY RECIPES, EXPLAINED
® Copyright 2011 Gigaspaces Ltd. All Rights10
Groovy-DSL based
Setup (now also via Chef)
Provisioning for any cloud:
local, public, private
Customizable monitoring
Scaling (manual and auto)
service {
name "jboss-service"
icon "jboss.jpg"
type "APP_SERVER“
numInstances 2
[recipe body]
}
lifecycle{
init "mysql_install.groovy”
start "mysql_start.groovy”
stop "mysql_stop.groovy"
}
..
compute{
template
“BIG_LINUX_32”
}
scalingRule {
serviceStatistics {
metric "Total Requests Count"
movingTimeRangeInSeconds 20
statistics maximumThroughput
}
highThreshold {
value 1
instancesIncrease 1
}
}
])
12. EXECUTION FLOW
® Copyright 2011 Gigaspaces Ltd. All Rights12
Commands
Resource
Allocation
Invokes IaaS
API
Bootstrap
Cloudify
Management
Process
Application
Recipe
Compute
Services
Server
Install
Configure
Start
Monitor
& Ensures H/A
13. Thank You!
GET IT TODAY, IT’S OPEN SOURCE & FREE:
WWW.CLOUDIFYSOURCE.ORG
GITHUB.COM/CLOUDIFY/CLOUDIFY-RECIPES
Editor's Notes
How may use nosql? Tomcat? Websphere?
How many use the ootb configuration?
An application that needs a certain version of MySQL (not the one that comes with the framework)
An application that needs to run on Redhat (not Ubuntu). or even more interesting -- a case where there are mutiple applications, each needing a different OS served at the same time.
That’s why devops is more picked up