Easy applications deployment on OpenStack clouds
Giovanni 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...
Chef VM recipes Configure app stack VM
Deployer VM Deploy + Provisioning VM Web JClouds Lifecycle Panel OpenStack API JSON REST API
#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
#1 OpenStack Day Milano 2014 - CC BY - ClouDesire