About Vagrant Training
When working as a team, developers find it difficult or time-consuming for them to setup and configure consistent environment for the team to work on. Vagrant comes handy for the developers and their team to build, configure and manage virtual environments in a cost-effective way.
Note: The topics covered in this course might get slightly adjusted depending on the cumulative decision made by the candidates who have signed up for the course.
Target Audience
Candidates who aspire to learn new technology or to understand the benefits and usage of Vagrant.
Pre-requisites
We expect candidates to have basic knowledge about virtualisation and in using VirtualBox.
-
An Introduction To Vagrant
Why Vagrant?The Tao of VagrantAlternatives to VagrantPlain Desktop VirtualizationContainersCloudVagrant Versions -
Setting Up Vagrant
Installing VirtualBoxInstalling VagrantMac OS XWindowsLinuxCommon MistakesImproper PATH ConfigurationConflicting RubyGems InstallationUsing Vagrant Without VirtualBox -
Your First Vagrant Machine
Up and RunningThe VagrantfileV1 versus V2 ConfigurationBoxesUp -
Vagrant Environmental Variables
VAGRANT_CWDVAGRANT_HOMEVAGRANT_LOGVAGRANT_NO_PLUGINSVAGRANT_VAGRANTFILE -
Working with the Vagrant Machine
State of the Vagrant MachineSSHShared FilesystemBasic NetworkingTeardownSuspendHaltDestroy -
Provisioning Your Vagrant VM
Why Automated Provisioning?Supported ProvisionersManually Setting Up ApacheAutomated Provisioner BasicsShell ScriptsChefPuppetMultiple Provisioners“No Provision” ModeIn-Depth Provisioner UsageShell ScriptsInline scriptsRun-once scriptsChef ServerPuppetModulesHiera DataCustom FactsUsing a Puppet Master -
Networking In Vagrant
Forwarded PortsPros and ConsBasic UsageCollision Detection and CorrectionTCP versus UDPHost-Only NetworkingPros and ConsBasic UsageGuest Operating System DependencyBridged NetworkingPros and ConsBasic UsageComposing Networking OptionsNAT Requirement as the First Network Interface