Slide 1

Slide 1 text

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire Easy applications deployment on OpenStack clouds Giovanni Toraldo, lead developer @ ClouDesire

Slide 2

Slide 2 text

#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

Slide 3

Slide 3 text

#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

Slide 4

Slide 4 text

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire Nowadays… lean, agile, #buzzword ● Rapid-changing requirements ● Faster iterations ● Automated testing ● Disposable cloud resources

Slide 5

Slide 5 text

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

Slide 6

Slide 6 text

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

Slide 7

Slide 7 text

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

Slide 8

Slide 8 text

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Slide 9

Slide 9 text

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

Slide 10

Slide 10 text

#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

Slide 11

Slide 11 text

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

Slide 12

Slide 12 text

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Slide 13

Slide 13 text

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire

Slide 14

Slide 14 text

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire Let’s merge things together... Deployer + JClouds OpenStack API JSON REST API Deploy Web Panel Chef recipes VM Provisioning Lifecycle VM VM VM Configure app stack

Slide 15

Slide 15 text

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

Slide 16

Slide 16 text

#1 OpenStack Day Milano 2014 - CC BY - ClouDesire Thank you! Follows us on Twitter: @cloudesire @gionn