Making Cloud Portability a Practical Reality
@natishalomCTO & Founder GigaSppacesnatishalom.typaped.com
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved2
Agenda
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved3
The DRIVES for CLOUD PORTABILITY
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved4
MOVING between clouds – REAL LIFE CASE studies..
Standard OCCI VCloud
OpenSource Cloud OpenStack Cloud.com Eucalyptus
Abstraction frameworks Jclouds Deltacloud
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved5
CLOUD API PORTABILITY - State of the UNION
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved6
And after three years of Countless attempts…
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved7
REALISATION I
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved8
REALISATION II
APP PORTABILITY CLOUD PORTABILITY
!=
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved9
APP PORTABILITY != CLOUD PORTABILITY (Cont..)
OS (Linux, Windows) looks pretty much the same on all clouds OS runs pretty much the same on all clouds OS are packaged In different image format but that part is abstracted
from the application code anyway. Compute & Storage are pretty common in most clouds
Compute & Storage could be easily abstracted across clouds Elasticity, Scaling, Continues Availability
The same effect on the application regardless of the underlying cloud. The process of scaling & fail-over is done outside the app code
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved10
Cloudify to the rescue
application { name="simple app"
service { name = "mysql-service”} service { name = "jboss-service" dependsOn = [“mysql-service”}}
Application description through RECIPES
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved11
Recipe DSLLifecycle scriptsCustom plug-ins (optional)Service binaries (optional)
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"}
..
Deploy YOUR APPLICATION in 2 steps
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved12
1. Prepare (No code change)
2. Deploy The Result – Automated Deployment and Orchestration
Recipe Execution
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved13
CommandsResource Allocation
Invokes IaaSAPI
BootstrapJava & Cloudify
Agent
InstallConfigure
Start Monitor
& Ensures H/A
Process Application
Recipe
ComputeServices
Monitoring the Application
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved14
Application Map
Custom metrics at the service cluster level
Live Cloud Portability Workshop 16:50 – 17:50 Live Demo & Free Download – gigaspaces.com/cloudify
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved15
Live DEMO
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved16
Summary - Be prepared for a rainy day
® Copyright 2011 Gigaspaces Ltd. All Rights Reserved17