1 / 17

Vagrant - secret sauce of devops

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

tasha-woods
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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Vagrant - secret sauce of devops

  2. Agenda • The 12 Factor App by Heroku • Is Vagrant the solution? • Vagrant building blocks • Using Vagrant

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

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

  5. The 12 Factor App by Heroku The philosophy how to build apps: • Dev-Prod parity • Dependency management • Configs • Reproducible build process

  6. Is Vagrant the solution? http://vagrantup.com/ • Virtualized development made easy. • Create and configure lightweight, reproducible, and portable development environments.

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

  8. Vagrant disadvantages: • It works better on Linux • It requires fast mashine (a lot of RAM, SSD) • 3-rd party boxes updated rarely

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

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

  11. Existed projects • vagrant-lamp • vagrant-wordpress • vagrant-php-dev-box • rails-dev-box • vagrant-python

  12. Demo of using customized rails-dev-box

  13. Conclusions • Vagrant encourage you to use good development practices • Vagrant is nice playground for Chef/Puppet • Vagrant is Fun

  14. What was not covered • Building base boxes with Veewee • Multi-VM enviroinment

  15. Questions?

  16. Learn mode: • Getting Started with Vagrant • https://github.com/mitchellh/vagrant • https://github.com/jedi4ever/veewee

More Related