Vagrant - secret sauce of
This presentation is the property of its rightful owner.
Sponsored Links
1 / 17

Vagrant - secret sauce of devops PowerPoint PPT Presentation


  • 180 Views
  • Uploaded on
  • Presentation posted in: General

Vagrant - secret sauce of devops. Agenda. The 12 Factor App by Heroku Is Vagrant the solution? Vagrant building blocks Using Vagrant. About me. In the past System/Network administrator at Lviv Politechnic University Embedded/.NET TechLead at Cypress Semiconductor

Download Presentation

Vagrant - secret sauce of devops

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Vagrant secret sauce of devops

Vagrant - secret sauce of devops


Agenda

Agenda

  • The 12 Factor App by Heroku

  • Is Vagrant the solution?

  • Vagrant building blocks

  • Using Vagrant


About me

About me

  • In the past

    • System/Network administrator at LvivPolitechnic University

    • Embedded/.NET TechLead at Cypress Semiconductor

    • .NET TechLead at Softserve

  • Now

    • Ruby TechLead at Softserve


The 12 factor app by heroku

The 12 Factor App by Heroku

The twelve-factor app is a methodology for building software-as-a-service apps that:

  • Use declarative formats for setup automation

  • Have a clean contract with the underlying operating system

  • Are suitable for deployment on modern cloud platforms

  • Minimize divergence between development and production

  • And can scale up without significant changes to tooling


Vagrant secret sauce of devops

The 12 Factor App by Heroku

The philosophy how to build apps:

  • Dev-Prod parity

  • Dependency management

  • Configs

  • Reproducible build process


Is vagrant the solution

Is Vagrant the solution?

http://vagrantup.com/

  • Virtualized development made easy.

  • Create and configure lightweight, reproducible, and portable development environments.


Why vagrant

Why Vagrant?

  • It’s easy and highly configurable.

  • It is using existed time proven solutions:

    • VirtualBox

    • Chef/Puppet(you can use it as your playground)

  • It’s reproducible

  • It’s scalable

  • No divergence. Development = Production


Vagrant disadvantages

Vagrant disadvantages:

  • It works better on Linux

  • It requires fast mashine (a lot of RAM, SSD)

  • 3-rd party boxes updated rarely


Vagrant building blocks

Vagrant building blocks

  • The base box$ vagrant box add lucid32 http://files.vagrantup.com/lucid32.box

  • The VagrantFile

    Vagrant::Config.run do |config|

    config.vm.box = "lucid32"

    end

  • Provisioning

    • Chef or Puppet or what you like(shell scripts?)

  • The Vagrant VM


Using existing boxes

Using existing boxes

http://www.vagrantbox.es/

  • Major linux distributions and others OS:

  • RHEL/CentOS

  • Debian/Ubuntu Server

  • OpenSUSE

  • Slackware/Gentoo/Archlinux

  • OpenBSD/FreeBSD

  • Scientific Linux


Existed projects

Existed projects

  • vagrant-lamp

  • vagrant-wordpress

  • vagrant-php-dev-box

  • rails-dev-box

  • vagrant-python


Demo of using customized rails dev box

Demo of using customized rails-dev-box


Conclusions

Conclusions

  • Vagrant encourage you to use good development practices

  • Vagrant is nice playground for Chef/Puppet

  • Vagrant is Fun


What was not covered

What was not covered

  • Building base boxes with Veewee

  • Multi-VM enviroinment


Questions

Questions?


Learn mode

Learn mode:

  • Getting Started with Vagrant

  • https://github.com/mitchellh/vagrant

  • https://github.com/jedi4ever/veewee


  • Login