SlideShare ist ein Scribd-Unternehmen logo
1 von 20
CaenCamp #11
Clément Alexandre @clm_a - 25 avril 2013
Introduction à Vagrant
- VirtualBox, Vagrant
- Obvious presentation
- Comment utiliser Vagrant ?
- Avantages et inconvénients
- Aller plus loin
VirtualBox, Vagrant
VirtualBox
Logiciel de virtualisation créé en 2007 par InnoTek
sous licence GPL.
- Racheté par Sun Microsystems en 2008,
- Raracheté avec Sun par Oracle Corporation en 2009.
Vagrant
Créé en 2010 par Mitchell Hashimoto (@mitchellh)
sous licence MIT
Obvious Presentation of Vagrant
Je souhaite installer notre environnement de
développement sur le poste de nos intégrateurs et
testeurs, mais j'ai peur d'altérer leur système.
Alors n'installe rien.
Obvious Presentation of Vagrant
Je souhaite installer notre environnement de
développement sur le poste de nos intégrateurs et
testeurs, mais j'ai peur d'altérer leur système.
Obvious Presentation of Vagrant
Je souhaite leur faire utiliser notre environnement
sans modifier les machines.
Obvious Presentation of Vagrant
Je souhaite leur faire utiliser notre environnement
sans modifier les machines.
Alors utilise une machine
virtuelle.
Obvious Presentation of Vagrant
Comment ne pas perdre de temps à configurer et
maintenir plusieurs environnements et machines
virtuelles ?
Obvious Presentation of Vagrant
Comment ne pas perdre de temps à configurer et
maintenir plusieurs environnements et machines
virtuelles ?
En utilisant des machines
virtuelles pré-configurées et
maintenables à distance.
Obvious Presentation of Vagrant
Comment ne pas perdre de temps à configurer et
maintenir plusieurs environnements et machines
virtuelles ?
En utilisant des machines
virtuelles pré-configurées et
maintenables à distance.
Nécessite un
Provisioner
Obvious Presentation of Vagrant
Merci Captain Obvious !
Je ne fais que
mon devoir !
Obvious Presentation of Vagrant
-> Vagrant permet d'utiliser et de diffuser un
environnement paramétré dans une machine virtuelle.
http://vagrantbox.es
Un intégrateur habitué à PHP peut travailler sur une
application Ruby On Rails, sans installer Ruby.
Un administrateur système peut tester la mise en réseau
de deux systèmes hétérogènes sans les installer "en vrai".
Environnement "jetable" de circonstance,
d'expérimentation ou de mise au point.
Comment utiliser Vagrant ?
"Installateurs" de VirtualBox et Vagrant pour Windows,
Mac, Linux.
Commandes de base :
$ vagrant init ma_box URL_DE_MA_BOX*
$ vagrant up
$ vagrant ssh
* : ou
$ vagrant add ma_box URL
$ init ma_box
Démo
$ vagrant up
=> Importing base box 'precise64'...
Démo (suite)
$ vagrant up
=> Importing base box 'precise64'...
Tic, tac, tic, tac, tic, tac,
tic, tac, tic, tac, tic, tac, tic, tac, tic, tac, ...
(une boisson fraîche ?)
http://www.youtube.com/watch?v=E-ea2Rg4rmI
Avantages & inconvenients
+ Configurabilité
+ Portabilité
+ Maintenabilité (via Provisioner)
+ Fiabilité (lors de démos client)
+ Pas de modification de l'hôte
- Intermédiaire supplémentaire
- Performances amoindries
Aller plus loin avec Vagrant
http://www.vagrantup.com
Providers (VMWare, KVM, Parallels)
Plugins : vagrant-apache2, vagrant-aws, ...
Provisionnement : Shell, Ansible, Chef, Puppet
Versionner sa box (proposé avec Sahara)
Installation native avec Ghost ou CloneZilla ?
Problème : Vagrant affiche des erreurs ou a un
comportement étrange
Aller plus loin avec Vagrant
Problème : Vagrant affiche des erreurs ou a un
comportement étrange
Aller plus loin avec Vagrant
C'est qu'il y a un
problème.
Problème : Vagrant affiche des erreurs ou a un
comportement étrange
Aller plus loin avec Vagrant
C'est qu'il y a un
problème.
Vérifie les versions.

Weitere ähnliche Inhalte

Was ist angesagt?

Stateful set in kubernetes implementation & usecases
Stateful set in kubernetes implementation & usecases Stateful set in kubernetes implementation & usecases
Stateful set in kubernetes implementation & usecases Krishna-Kumar
 
[FR] Présentatation d'Ansible
[FR] Présentatation d'Ansible [FR] Présentatation d'Ansible
[FR] Présentatation d'Ansible Armand Guio
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction Robert Reiz
 
Corosync and Pacemaker
Corosync and PacemakerCorosync and Pacemaker
Corosync and PacemakerMarian Marinov
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to AnsibleKnoldus Inc.
 
Ansible tips & tricks
Ansible tips & tricksAnsible tips & tricks
Ansible tips & tricksbcoca
 
WebAssembly Fundamentals
WebAssembly FundamentalsWebAssembly Fundamentals
WebAssembly FundamentalsKnoldus Inc.
 
Automation with ansible
Automation with ansibleAutomation with ansible
Automation with ansibleKhizer Naeem
 
IT Automation with Ansible
IT Automation with AnsibleIT Automation with Ansible
IT Automation with AnsibleRayed Alrashed
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to AnsibleCoreStack
 
RESTful API In Node Js using Express
RESTful API In Node Js using Express RESTful API In Node Js using Express
RESTful API In Node Js using Express Jeetendra singh
 
Mule Common Logging & Error Handling Framework
Mule Common Logging & Error Handling FrameworkMule Common Logging & Error Handling Framework
Mule Common Logging & Error Handling FrameworkVijay Reddy
 
Docker networking Tutorial 101
Docker networking Tutorial 101Docker networking Tutorial 101
Docker networking Tutorial 101LorisPack Project
 
Gitlab CI : Integration et Déploiement Continue
Gitlab CI : Integration et Déploiement ContinueGitlab CI : Integration et Déploiement Continue
Gitlab CI : Integration et Déploiement ContinueVincent Composieux
 
How To Configure Nginx Load Balancer on CentOS 7
How To Configure Nginx Load Balancer on CentOS 7How To Configure Nginx Load Balancer on CentOS 7
How To Configure Nginx Load Balancer on CentOS 7VCP Muthukrishna
 
Network Automation: Ansible 102
Network Automation: Ansible 102Network Automation: Ansible 102
Network Automation: Ansible 102APNIC
 

Was ist angesagt? (20)

Stateful set in kubernetes implementation & usecases
Stateful set in kubernetes implementation & usecases Stateful set in kubernetes implementation & usecases
Stateful set in kubernetes implementation & usecases
 
[FR] Présentatation d'Ansible
[FR] Présentatation d'Ansible [FR] Présentatation d'Ansible
[FR] Présentatation d'Ansible
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction
 
Docker, LinuX Container
Docker, LinuX ContainerDocker, LinuX Container
Docker, LinuX Container
 
Portainer
PortainerPortainer
Portainer
 
Corosync and Pacemaker
Corosync and PacemakerCorosync and Pacemaker
Corosync and Pacemaker
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
 
Ansible tips & tricks
Ansible tips & tricksAnsible tips & tricks
Ansible tips & tricks
 
Jenkins Tutorial.pdf
Jenkins Tutorial.pdfJenkins Tutorial.pdf
Jenkins Tutorial.pdf
 
WebAssembly Fundamentals
WebAssembly FundamentalsWebAssembly Fundamentals
WebAssembly Fundamentals
 
Automation with ansible
Automation with ansibleAutomation with ansible
Automation with ansible
 
IT Automation with Ansible
IT Automation with AnsibleIT Automation with Ansible
IT Automation with Ansible
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
 
RESTful API In Node Js using Express
RESTful API In Node Js using Express RESTful API In Node Js using Express
RESTful API In Node Js using Express
 
Mule Common Logging & Error Handling Framework
Mule Common Logging & Error Handling FrameworkMule Common Logging & Error Handling Framework
Mule Common Logging & Error Handling Framework
 
Docker networking Tutorial 101
Docker networking Tutorial 101Docker networking Tutorial 101
Docker networking Tutorial 101
 
Gitlab CI : Integration et Déploiement Continue
Gitlab CI : Integration et Déploiement ContinueGitlab CI : Integration et Déploiement Continue
Gitlab CI : Integration et Déploiement Continue
 
How To Configure Nginx Load Balancer on CentOS 7
How To Configure Nginx Load Balancer on CentOS 7How To Configure Nginx Load Balancer on CentOS 7
How To Configure Nginx Load Balancer on CentOS 7
 
Svelte
SvelteSvelte
Svelte
 
Network Automation: Ansible 102
Network Automation: Ansible 102Network Automation: Ansible 102
Network Automation: Ansible 102
 

Andere mochten auch

Gérer ses environnements de développement avec vagrant - PHP Tour Nantes 2012
Gérer ses environnements de développement avec vagrant - PHP Tour Nantes 2012Gérer ses environnements de développement avec vagrant - PHP Tour Nantes 2012
Gérer ses environnements de développement avec vagrant - PHP Tour Nantes 2012Jean-Marc Fontaine
 
Apt get no more let Vagrant, Puppet and Docker take the stage
Apt get no more let Vagrant, Puppet and Docker take the stageApt get no more let Vagrant, Puppet and Docker take the stage
Apt get no more let Vagrant, Puppet and Docker take the stageAlessandro Cinelli (cirpo)
 
D-DAY 2015 Paas ORACLE
D-DAY 2015 Paas ORACLED-DAY 2015 Paas ORACLE
D-DAY 2015 Paas ORACLEDEVOPS D-DAY
 
Introduction à DevOps
Introduction à DevOpsIntroduction à DevOps
Introduction à DevOpsMicrosoft
 
Sistema gestor de base de datos
Sistema gestor de base de datosSistema gestor de base de datos
Sistema gestor de base de datosmadheley
 
Arancione Maquila de Nómina - Payrolling 2011
Arancione Maquila de Nómina - Payrolling 2011Arancione Maquila de Nómina - Payrolling 2011
Arancione Maquila de Nómina - Payrolling 2011Cocktail Marketing
 
Presentación hoja de ruta cnpt
Presentación hoja de ruta cnptPresentación hoja de ruta cnpt
Presentación hoja de ruta cnptfcamarelles
 
Le campus de la cité scientifique de villeneuve
Le campus de la cité scientifique de villeneuveLe campus de la cité scientifique de villeneuve
Le campus de la cité scientifique de villeneuveSunrise-lille
 
Nediis yarledy bastidas arevalo
Nediis yarledy bastidas arevaloNediis yarledy bastidas arevalo
Nediis yarledy bastidas arevalodaniilezmez
 
Ridículo quien, yo????.
Ridículo quien,  yo????.Ridículo quien,  yo????.
Ridículo quien, yo????.LUZ M.
 
La independencia de mexico
La independencia de mexicoLa independencia de mexico
La independencia de mexicorocanela
 
Quién es el espíritu santo
Quién es el espíritu santoQuién es el espíritu santo
Quién es el espíritu santoRita Patri
 
Présentation e bay futur du commerce
Présentation e bay futur du commercePrésentation e bay futur du commerce
Présentation e bay futur du commerceeBay_France
 

Andere mochten auch (20)

Gérer ses environnements de développement avec vagrant - PHP Tour Nantes 2012
Gérer ses environnements de développement avec vagrant - PHP Tour Nantes 2012Gérer ses environnements de développement avec vagrant - PHP Tour Nantes 2012
Gérer ses environnements de développement avec vagrant - PHP Tour Nantes 2012
 
Apt get no more let Vagrant, Puppet and Docker take the stage
Apt get no more let Vagrant, Puppet and Docker take the stageApt get no more let Vagrant, Puppet and Docker take the stage
Apt get no more let Vagrant, Puppet and Docker take the stage
 
D-DAY 2015 Paas ORACLE
D-DAY 2015 Paas ORACLED-DAY 2015 Paas ORACLE
D-DAY 2015 Paas ORACLE
 
Introduction à DevOps
Introduction à DevOpsIntroduction à DevOps
Introduction à DevOps
 
DevOps
DevOpsDevOps
DevOps
 
DevOps 101
DevOps 101DevOps 101
DevOps 101
 
Sistema gestor de base de datos
Sistema gestor de base de datosSistema gestor de base de datos
Sistema gestor de base de datos
 
Présentation abeep
Présentation abeepPrésentation abeep
Présentation abeep
 
Arancione Maquila de Nómina - Payrolling 2011
Arancione Maquila de Nómina - Payrolling 2011Arancione Maquila de Nómina - Payrolling 2011
Arancione Maquila de Nómina - Payrolling 2011
 
Presentación hoja de ruta cnpt
Presentación hoja de ruta cnptPresentación hoja de ruta cnpt
Presentación hoja de ruta cnpt
 
Patron decorador
Patron decoradorPatron decorador
Patron decorador
 
Les poissons Bio du Frioul
Les poissons Bio du FrioulLes poissons Bio du Frioul
Les poissons Bio du Frioul
 
Le campus de la cité scientifique de villeneuve
Le campus de la cité scientifique de villeneuveLe campus de la cité scientifique de villeneuve
Le campus de la cité scientifique de villeneuve
 
Sesion 1
Sesion 1Sesion 1
Sesion 1
 
Nediis yarledy bastidas arevalo
Nediis yarledy bastidas arevaloNediis yarledy bastidas arevalo
Nediis yarledy bastidas arevalo
 
Ridículo quien, yo????.
Ridículo quien,  yo????.Ridículo quien,  yo????.
Ridículo quien, yo????.
 
La independencia de mexico
La independencia de mexicoLa independencia de mexico
La independencia de mexico
 
Quién es el espíritu santo
Quién es el espíritu santoQuién es el espíritu santo
Quién es el espíritu santo
 
Gonzalo meneses
Gonzalo menesesGonzalo meneses
Gonzalo meneses
 
Présentation e bay futur du commerce
Présentation e bay futur du commercePrésentation e bay futur du commerce
Présentation e bay futur du commerce
 

Ähnlich wie Présentation de Vagrant

Gérer ses environnements de développement avec Vagrant - RMLL 2012
Gérer ses environnements de développement avec Vagrant - RMLL 2012Gérer ses environnements de développement avec Vagrant - RMLL 2012
Gérer ses environnements de développement avec Vagrant - RMLL 2012Jean-Marc Fontaine
 
5390997 Support formation : Construire et administrer vos conteneurs avec Doc...
5390997 Support formation : Construire et administrer vos conteneurs avec Doc...5390997 Support formation : Construire et administrer vos conteneurs avec Doc...
5390997 Support formation : Construire et administrer vos conteneurs avec Doc...AbdellahELMAMOUN
 
Installation Et Configuration De Monkey Spider
Installation Et Configuration De Monkey SpiderInstallation Et Configuration De Monkey Spider
Installation Et Configuration De Monkey SpiderMohamed Ben Bouzid
 
Spring Boot & Containers - Do's & Don'ts
Spring Boot & Containers - Do's & Don'tsSpring Boot & Containers - Do's & Don'ts
Spring Boot & Containers - Do's & Don'tsJulien Wittouck
 
wallabag, comment on a migré vers symfony3
wallabag, comment on a migré vers symfony3wallabag, comment on a migré vers symfony3
wallabag, comment on a migré vers symfony3Nicolas Lœuillet
 
Infra as Code, choisissez vous la pilule rouge ou la pilule bleue - Devoxx 2016
Infra as Code, choisissez vous la pilule rouge ou la pilule bleue - Devoxx 2016Infra as Code, choisissez vous la pilule rouge ou la pilule bleue - Devoxx 2016
Infra as Code, choisissez vous la pilule rouge ou la pilule bleue - Devoxx 2016Fabien Arcellier
 
Sec day cuckoo_workshop
Sec day cuckoo_workshopSec day cuckoo_workshop
Sec day cuckoo_workshopThomas Roccia
 
Deploiement de Plone et Deliverance avec Ubuntu VM Builder
Deploiement de Plone et Deliverance avec Ubuntu VM BuilderDeploiement de Plone et Deliverance avec Ubuntu VM Builder
Deploiement de Plone et Deliverance avec Ubuntu VM BuilderParis, France
 
Déploiement et débogage à distance
Déploiement et débogage à distanceDéploiement et débogage à distance
Déploiement et débogage à distancepprem
 
Ops@viadeo : Puppet & Co... 6 mois après par Xavier Krantz
Ops@viadeo : Puppet & Co... 6 mois après par Xavier KrantzOps@viadeo : Puppet & Co... 6 mois après par Xavier Krantz
Ops@viadeo : Puppet & Co... 6 mois après par Xavier KrantzOlivier DASINI
 
Mise en place de zabbix sur Ubuntu 22.04
Mise en place de zabbix sur Ubuntu 22.04Mise en place de zabbix sur Ubuntu 22.04
Mise en place de zabbix sur Ubuntu 22.04ImnaTech
 
Prévention et traitement du hack de serveurs
Prévention et traitement du hack de serveursPrévention et traitement du hack de serveurs
Prévention et traitement du hack de serveursAmen.fr
 
20081008 - Tours Jug - Apache Maven
20081008  - Tours Jug - Apache Maven20081008  - Tours Jug - Apache Maven
20081008 - Tours Jug - Apache MavenArnaud Héritier
 
Virt lightning-montreal-linux-meetup-2020-02
Virt lightning-montreal-linux-meetup-2020-02Virt lightning-montreal-linux-meetup-2020-02
Virt lightning-montreal-linux-meetup-2020-02Gonéri Le Bouder
 
Premiers pas avec snort
Premiers pas avec snortPremiers pas avec snort
Premiers pas avec snortFathi Ben Nasr
 
Je configure mes serveurs avec fabric et fabtools
Je configure mes serveurs avec fabric et fabtoolsJe configure mes serveurs avec fabric et fabtools
Je configure mes serveurs avec fabric et fabtoolsRonan Amicel
 
20081023 - Paris Vi Master STL TA - Initiation Maven
20081023 - Paris Vi Master STL TA - Initiation Maven20081023 - Paris Vi Master STL TA - Initiation Maven
20081023 - Paris Vi Master STL TA - Initiation MavenArnaud Héritier
 
Ce qu'il faut retenir de la FrenchKit iOS
Ce qu'il faut retenir de la FrenchKit iOSCe qu'il faut retenir de la FrenchKit iOS
Ce qu'il faut retenir de la FrenchKit iOSNiji
 

Ähnlich wie Présentation de Vagrant (20)

Gérer ses environnements de développement avec Vagrant - RMLL 2012
Gérer ses environnements de développement avec Vagrant - RMLL 2012Gérer ses environnements de développement avec Vagrant - RMLL 2012
Gérer ses environnements de développement avec Vagrant - RMLL 2012
 
5390997 Support formation : Construire et administrer vos conteneurs avec Doc...
5390997 Support formation : Construire et administrer vos conteneurs avec Doc...5390997 Support formation : Construire et administrer vos conteneurs avec Doc...
5390997 Support formation : Construire et administrer vos conteneurs avec Doc...
 
Installation Et Configuration De Monkey Spider
Installation Et Configuration De Monkey SpiderInstallation Et Configuration De Monkey Spider
Installation Et Configuration De Monkey Spider
 
Spring Boot & Containers - Do's & Don'ts
Spring Boot & Containers - Do's & Don'tsSpring Boot & Containers - Do's & Don'ts
Spring Boot & Containers - Do's & Don'ts
 
wallabag, comment on a migré vers symfony3
wallabag, comment on a migré vers symfony3wallabag, comment on a migré vers symfony3
wallabag, comment on a migré vers symfony3
 
Infra as Code, choisissez vous la pilule rouge ou la pilule bleue - Devoxx 2016
Infra as Code, choisissez vous la pilule rouge ou la pilule bleue - Devoxx 2016Infra as Code, choisissez vous la pilule rouge ou la pilule bleue - Devoxx 2016
Infra as Code, choisissez vous la pilule rouge ou la pilule bleue - Devoxx 2016
 
Sec day cuckoo_workshop
Sec day cuckoo_workshopSec day cuckoo_workshop
Sec day cuckoo_workshop
 
Deploiement de Plone et Deliverance avec Ubuntu VM Builder
Deploiement de Plone et Deliverance avec Ubuntu VM BuilderDeploiement de Plone et Deliverance avec Ubuntu VM Builder
Deploiement de Plone et Deliverance avec Ubuntu VM Builder
 
Document technique lamp linux
Document technique lamp linuxDocument technique lamp linux
Document technique lamp linux
 
Déploiement et débogage à distance
Déploiement et débogage à distanceDéploiement et débogage à distance
Déploiement et débogage à distance
 
Ops@viadeo : Puppet & Co... 6 mois après par Xavier Krantz
Ops@viadeo : Puppet & Co... 6 mois après par Xavier KrantzOps@viadeo : Puppet & Co... 6 mois après par Xavier Krantz
Ops@viadeo : Puppet & Co... 6 mois après par Xavier Krantz
 
Mise en place de zabbix sur Ubuntu 22.04
Mise en place de zabbix sur Ubuntu 22.04Mise en place de zabbix sur Ubuntu 22.04
Mise en place de zabbix sur Ubuntu 22.04
 
Prévention et traitement du hack de serveurs
Prévention et traitement du hack de serveursPrévention et traitement du hack de serveurs
Prévention et traitement du hack de serveurs
 
20081008 - Tours Jug - Apache Maven
20081008  - Tours Jug - Apache Maven20081008  - Tours Jug - Apache Maven
20081008 - Tours Jug - Apache Maven
 
Virt lightning-montreal-linux-meetup-2020-02
Virt lightning-montreal-linux-meetup-2020-02Virt lightning-montreal-linux-meetup-2020-02
Virt lightning-montreal-linux-meetup-2020-02
 
Premiers pas avec snort
Premiers pas avec snortPremiers pas avec snort
Premiers pas avec snort
 
Je configure mes serveurs avec fabric et fabtools
Je configure mes serveurs avec fabric et fabtoolsJe configure mes serveurs avec fabric et fabtools
Je configure mes serveurs avec fabric et fabtools
 
20081023 - Paris Vi Master STL TA - Initiation Maven
20081023 - Paris Vi Master STL TA - Initiation Maven20081023 - Paris Vi Master STL TA - Initiation Maven
20081023 - Paris Vi Master STL TA - Initiation Maven
 
Nagios doc
Nagios docNagios doc
Nagios doc
 
Ce qu'il faut retenir de la FrenchKit iOS
Ce qu'il faut retenir de la FrenchKit iOSCe qu'il faut retenir de la FrenchKit iOS
Ce qu'il faut retenir de la FrenchKit iOS
 

Présentation de Vagrant

  • 1. CaenCamp #11 Clément Alexandre @clm_a - 25 avril 2013
  • 2. Introduction à Vagrant - VirtualBox, Vagrant - Obvious presentation - Comment utiliser Vagrant ? - Avantages et inconvénients - Aller plus loin
  • 3. VirtualBox, Vagrant VirtualBox Logiciel de virtualisation créé en 2007 par InnoTek sous licence GPL. - Racheté par Sun Microsystems en 2008, - Raracheté avec Sun par Oracle Corporation en 2009. Vagrant Créé en 2010 par Mitchell Hashimoto (@mitchellh) sous licence MIT
  • 4. Obvious Presentation of Vagrant Je souhaite installer notre environnement de développement sur le poste de nos intégrateurs et testeurs, mais j'ai peur d'altérer leur système.
  • 5. Alors n'installe rien. Obvious Presentation of Vagrant Je souhaite installer notre environnement de développement sur le poste de nos intégrateurs et testeurs, mais j'ai peur d'altérer leur système.
  • 6. Obvious Presentation of Vagrant Je souhaite leur faire utiliser notre environnement sans modifier les machines.
  • 7. Obvious Presentation of Vagrant Je souhaite leur faire utiliser notre environnement sans modifier les machines. Alors utilise une machine virtuelle.
  • 8. Obvious Presentation of Vagrant Comment ne pas perdre de temps à configurer et maintenir plusieurs environnements et machines virtuelles ?
  • 9. Obvious Presentation of Vagrant Comment ne pas perdre de temps à configurer et maintenir plusieurs environnements et machines virtuelles ? En utilisant des machines virtuelles pré-configurées et maintenables à distance.
  • 10. Obvious Presentation of Vagrant Comment ne pas perdre de temps à configurer et maintenir plusieurs environnements et machines virtuelles ? En utilisant des machines virtuelles pré-configurées et maintenables à distance. Nécessite un Provisioner
  • 11. Obvious Presentation of Vagrant Merci Captain Obvious ! Je ne fais que mon devoir !
  • 12. Obvious Presentation of Vagrant -> Vagrant permet d'utiliser et de diffuser un environnement paramétré dans une machine virtuelle. http://vagrantbox.es Un intégrateur habitué à PHP peut travailler sur une application Ruby On Rails, sans installer Ruby. Un administrateur système peut tester la mise en réseau de deux systèmes hétérogènes sans les installer "en vrai". Environnement "jetable" de circonstance, d'expérimentation ou de mise au point.
  • 13. Comment utiliser Vagrant ? "Installateurs" de VirtualBox et Vagrant pour Windows, Mac, Linux. Commandes de base : $ vagrant init ma_box URL_DE_MA_BOX* $ vagrant up $ vagrant ssh * : ou $ vagrant add ma_box URL $ init ma_box
  • 14. Démo $ vagrant up => Importing base box 'precise64'...
  • 15. Démo (suite) $ vagrant up => Importing base box 'precise64'... Tic, tac, tic, tac, tic, tac, tic, tac, tic, tac, tic, tac, tic, tac, tic, tac, ... (une boisson fraîche ?) http://www.youtube.com/watch?v=E-ea2Rg4rmI
  • 16. Avantages & inconvenients + Configurabilité + Portabilité + Maintenabilité (via Provisioner) + Fiabilité (lors de démos client) + Pas de modification de l'hôte - Intermédiaire supplémentaire - Performances amoindries
  • 17. Aller plus loin avec Vagrant http://www.vagrantup.com Providers (VMWare, KVM, Parallels) Plugins : vagrant-apache2, vagrant-aws, ... Provisionnement : Shell, Ansible, Chef, Puppet Versionner sa box (proposé avec Sahara) Installation native avec Ghost ou CloneZilla ?
  • 18. Problème : Vagrant affiche des erreurs ou a un comportement étrange Aller plus loin avec Vagrant
  • 19. Problème : Vagrant affiche des erreurs ou a un comportement étrange Aller plus loin avec Vagrant C'est qu'il y a un problème.
  • 20. Problème : Vagrant affiche des erreurs ou a un comportement étrange Aller plus loin avec Vagrant C'est qu'il y a un problème. Vérifie les versions.