17
Making Cloud Portability a Practical Reality @natishalom CTO & Founder GigaSppaces natishalom.typaped.com

Making cloud portability a practical reality (i pad)

Embed Size (px)

DESCRIPTION

The term "cloud portability" is often considered a synonym for "Cloud API portability," which implies a series of misconceptions. If we break away from dogma, we can find that what we really looking for in cloud portability is Application portability between clouds which can be a vastly simpler requirement, as we can achieve application portability without settling on a common Cloud API. ..The following presentation shows how I could use the ideas from this post and provide a practical cloud portability solution today using Cloudify and JClouds. See details in this post:http://natishalom.typepad.com/nati_shaloms_blog/2011/12/making-cloud-portability-a-practical-reality.html

Citation preview

Page 1: Making cloud portability a practical reality (i pad)

Making Cloud Portability a Practical Reality

@natishalomCTO & Founder GigaSppacesnatishalom.typaped.com

Page 2: Making cloud portability a practical reality (i pad)

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved2

Agenda

Page 3: Making cloud portability a practical reality (i pad)

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved3

The DRIVES for CLOUD PORTABILITY

Page 4: Making cloud portability a practical reality (i pad)

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved4

MOVING between clouds – REAL LIFE CASE studies..

Page 5: Making cloud portability a practical reality (i pad)

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

Page 6: Making cloud portability a practical reality (i pad)

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved6

And after three years of Countless attempts…

Page 7: Making cloud portability a practical reality (i pad)

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved7

REALISATION I

Page 8: Making cloud portability a practical reality (i pad)

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved8

REALISATION II

APP PORTABILITY CLOUD PORTABILITY

!=

Page 9: Making cloud portability a practical reality (i pad)

® 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

Page 10: Making cloud portability a practical reality (i pad)

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved10

Cloudify to the rescue

Page 11: Making cloud portability a practical reality (i pad)

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"}

..

Page 12: Making cloud portability a practical reality (i pad)

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

Page 13: Making cloud portability a practical reality (i pad)

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

Page 14: Making cloud portability a practical reality (i pad)

Monitoring the Application

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved14

Application Map

Custom metrics at the service cluster level

Page 15: Making cloud portability a practical reality (i pad)

Live Cloud Portability Workshop 16:50 – 17:50 Live Demo & Free Download – gigaspaces.com/cloudify

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved15

Live DEMO

Page 16: Making cloud portability a practical reality (i pad)

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved16

Summary - Be prepared for a rainy day

Page 17: Making cloud portability a practical reality (i pad)

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved17