Easy applications deployment on OpenStack clouds

Post on 26-Jun-2015

693 views 0 download

Tags:

description

The software development processes are evolved from the past, and nowadays you need to be able to respond quickly to market changes, or you will not survive. On the infrastructure perspective, you need to gain agility on managing cloud resources and deployment of your applications. In this presentation will be introduced two open-source technology, jclouds and opscode chef, that combined together can helps developers to speed-up the deployment of their applications on the cloud, and it will presented how ClouDesire is trying to solve this problems offering a vertical service to solve this specific purposes. Presentation held at the #1 italian OpenStack Day in Milano. #openstackday #openstackdayit Try ThreeHops for free and send us your feedback! http://threehops.cloudesire.com

Transcript of Easy applications deployment on OpenStack clouds

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Easy applications deployment on

OpenStack cloudsGiovanni Toraldo, lead developer @ ClouDesire

#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

#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

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Nowadays… lean, agile, #buzzword

● Rapid-changing requirements

● Faster iterations● Automated testing● Disposable cloud

resources

#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.

#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!

#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/

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

#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/

#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

#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.

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

#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

#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!)

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

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