TDC2013 - PHP - Virtualização e Provisionamento de Ambientes com Vagrant e Puppet

758 views

Published on

Você já parou pra pensar que sua stack de desenvolvimento (Apache, PHP, MySQL, etc) consome recursos de sua máquina do trabalho ou pessoal em momentos que você não está desenvolvendo?

E quanto ao setup de ambiente e as muitas configurações que precisamos fazer a cada projeto novo que chega ou quando algum membro novo entra no time?

Logo depois, como garantir que todos do time estão utilizando exatamente as mesmas versões para garantir máxima compatibilidade entre os diversos ambientes (local, staging, produção, etc)?

Venha conhecer como a combinação entre duas tecnologias irá automatizar bastante processo manual economizando tempo e recursos e garantindo maior compatibilidade.

Published in: Technology
  • Be the first to comment

TDC2013 - PHP - Virtualização e Provisionamento de Ambientes com Vagrant e Puppet

  1. 1. Lucas Arruda lucas@ciandt.com
  2. 2. Virtualization and Provisioning with Vagrant and Puppet Lucas Arruda lucas@ciandt.com
  3. 3. Lucas Arruda Developer @ CI&T Open-Source enthusiast Curious by nature ~10 yrs on the road Based on Campinas-SP Zend Certified Engineer PHP 5.3
  4. 4. Common Scenario
  5. 5. Each developer has its own predefined stack of technologies. ● Apache (native) ● WAMP ● XAMPP ● MAMP ● PHP 5.?? ● MySQL 5.?? ● Modules/Extensions ● Libraries & Dependencies ● PEAR/PECL/Composer ● Frameworks
  6. 6. "If you've ever maintained a large web application, one of the hardest parts is onboarding new resources." "Running everything on a home machine and remembering to turn it all off in the end of the day is unfeasible." "A new members comes in? Oh... all it again. What!? Does he uses Windows XP!? oh my..." ● Software installation ● Config and tweaking ● Platform-related issues ● Time consuming op.
  7. 7. BUT IT WORKS ON MY MACHINE...
  8. 8. It's important to build and maintain a software using the same requirements on all environments it will be deployed.
  9. 9. Change Proposal
  10. 10. Create and configure lightweight, reproducible and portable development environments. Vagrant up!
  11. 11. Boxes Virtualization Vagrantfile
  12. 12. You can easily automate repetitive tasks, quickly deploy critical applications, and proactively manage changes. Puppet
  13. 13. Declarative Language Manifests Serverless
  14. 14. LET'S PUT SOME HANDS ON!
  15. 15. I'D LIKE TO KNOW MORE ABOUT IT.
  16. 16. How Vagrant works
  17. 17. How Puppet works
  18. 18. Puppet's Reusable Configuration Model
  19. 19. NICE! CAN'T WAIT TO PUT MY HANDS ON IT!
  20. 20. Q&A ciandt.com puppetlabs.com github.com/puppetlabs forge.puppetlabs.com docs.puppetlabs.com vagrantup.com github.com/mitchellh/vagrant vagrantbox.es docs.vagrantup.com
  21. 21. THANKS FOR BEING HERE!
  22. 22. ciandt.com lunascar@gmail.com @lunascarruda fb.com/lucasnarruda br.linkedin.com/in/larruda gplus.to/larruda github.com/larruda coderbits.com/larruda

×