11
Bringing PaaS & DevOps Together

Bringing PaaS & DevOps Together

Embed Size (px)

DESCRIPTION

DevOps and PaaS have been taught as two different and often competing approaches to bring applications to and manage them in the cloud. In this presentation I argue that DevOps tools such as Chef serve as a good foundation for a better PaaS building on DevOps. You can also read my blog post on this subject for more information: http://natishalom.typepad.com/nati_shaloms_blog/2012/01/there-are-currently-two-main-approaches-for-developing-and-managing-application-in-the-cloudpaas-paas-takes-a-developer-ap.html

Citation preview

Page 1: Bringing PaaS & DevOps Together

Bringing PaaS & DevOps Together

Page 2: Bringing PaaS & DevOps Together

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved2

Perspectives on PaaS

Developer: “PaaS is so easy, who needs sys admins anyway”?

Sys admin: “PaaS is just giant blackbox toy that I can’t really use for real-world app”

Page 3: Bringing PaaS & DevOps Together

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved3

DevOps is all about: Automating complex IT

processes With Full visibility and

control

Perspective on DevOps

Page 4: Bringing PaaS & DevOps Together

PaaS & Devops can be complementary

PaaS Application life cycle &

orchestration (deployment, fail-over, auto scaling)

Application service dependencies (web-> database)

Integrated application Management & Monitoring

Developer centric

DevOps Infrastructure management

(OS setup, network, security configuration)

Application installation (package, configure, install)

Ops centric

4

Page 5: Bringing PaaS & DevOps Together

DevOps would make a good foundation for PaaS… Best of both worlds

High productivity (PaaS) without loosing control (DevOps). Integrates Devops concepts into PaaS

Use DSL to describe PaaS applications packages Calls your own scripts (batch, shell,..)

Integrated with existing DevOps tools A automate the setup of a chef configuration environment Leverage Chef built-in cook books and installation scripts

Bringing PaaS & DevOps together

5

Page 6: Bringing PaaS & DevOps Together

6

Putting PaaS & DevOps Together

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved

Page 7: Bringing PaaS & DevOps Together

7

Result: YOUR App, UNCHANGED, on ANY Cloud

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved

Page 8: Bringing PaaS & DevOps Together

8

application { name="simple app"

service { name = "mysql-service”} service { name = "jboss-service" dependsOn = [“mysql-service”}}

Application Description using RECIPES

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved

Groovy-DSL based Setup (a-la Chef, Puppet)Provisioning for any cloud:local, public, privateCustomizable 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"}

..

Page 9: Bringing PaaS & DevOps Together

9

Integrate with Chef

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved

Running Chef Server as a PaaS

Infrastructure Service

Using Chef as part of a PaaS application

(setting MySQL)

Page 10: Bringing PaaS & DevOps Together

10

MongoDBCassandra

MySQL

Built-in recipes

® Copyright 2011 Gigaspaces Ltd. All Rights Reserved

JEE & Spring

XAP Processing Unit

Relational & Big Data

XAP

Tomcat

JBoss

Spring

Web

Ruby on Rails

PHP

Node.js

CouchDB

Hadoop

Page 11: Bringing PaaS & DevOps Together

Get it today, for free: Cloudifysource.org