Transcript
Page 1: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Easy applications deployment on

OpenStack cloudsGiovanni Toraldo, lead developer @ ClouDesire

Page 2: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Who we are

ClouDesire is a tech startup based in Pisa, that has developed a Cloud Application Marketplace.

Giovanni Toraldo is the lead developer of ClouDesire, an Open Source Enthusiast with Super Cow Powers, PHP/Java/whatever developer, #devops

Page 3: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Once upon a time… waterfall model

● Sequential process● Manual testing● Scheduled releases● Hard to deploy● Physical

infrastructures

Page 4: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Nowadays… lean, agile, #buzzword

● Rapid-changing requirements

● Faster iterations● Automated testing● Disposable cloud

resources

Page 5: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Focus on infrastructure risks

● A jungle of IaaS providers, multiple API dialects.

● Different environments for each application: development, staging, production.

● Environments grow fast as the app requirements.

● Server configurations should be tested, too.

Page 6: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Let’s start to aim the target

We need to...● manage infrastructure with code● define infrastructure as code● version infrastructure as code● test infrastructure as code● do it faster and more often. Continuously.● Automate all the things!

Page 7: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Universal Cloud API

JClouds is a Java/Clojure open-source library that provides an abstraction layer between multiple cloud resources.

http://jclouds.apache.org/

Page 8: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Page 9: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Hate Java?

Don’t worry, similar OSS projects exists:● Fog.io (Ruby) http://fog.io/● Libcloud (Python) https://libcloud.apache.

org/● Deltacloud (agnostic) http://deltacloud.

apache.org/

Page 10: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Automated Infrastructure

● Stop thinking about servers and start to model services and resources

● Infrastructure as a code● Build reusable components to manage

resources● Integration Testing

Page 11: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Automated Infrastructure - Opscode Chef

● Opscode Chef http://www.getchef.com/● Chef relies on reusable definitions known as

cookbooks and recipes that are written in Ruby.

● Cookbooks and recipes automate common infrastructure tasks.

● Chef applies those definitions to servers to produce an automated infrastructure.

Page 12: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Page 13: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Page 14: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Let’s merge things together...

Deployer+

JClouds

Ope

nSta

ck A

PI

JSO

N R

ES

T A

PI

DeployWeb Panel

Chef recipes

VMProvisioningLifecycle

VM

VM

VMConfigure app stack

Page 15: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Try ThreeHops!

http://threehops.cloudesire.com

● 5 active deployments free● Compatible with multiple OpenStack cloud

providers:○ Enter Cloud Suite○ HP Cloud○ Rackspace (coming soon!)

Page 16: Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Thank you!Follows us on Twitter: @cloudesire @gionn


Recommended