Vagrant for DevOps: Boxes

Boxes can be obtained from Atlas repos , from whatever other repos or created by ourselves with Packer or manually.
Please pay attention that almost all boxes are OK with VirtualBox , but only some can be used with other providers like Parallels, Hyper-V, AWS, etc.
Boxes are stored separately from VMs, in ~/.vagrant.d and during VM deploy process box is cloned to hypervisor default location.

You can download box from Atlas repo using links or short names with vagrant box add command:

4. Create new providers and upload suitable box files for both providers (you can make .box from local unpacked box with vagrant box repackage command):

5. Now let’s release the first version:

6. We can download boxes to make sure that everything has been uploaded fine:

And the last part – we can start, stop and pause VMs not only from hypervisor GUI, but also from vagrant CLI:vagrant global-status – will show current status of all active environments;vagrant status – will show status of current environment (one or more VMs);vagrant up – will create environment according to Vagrantfile;vagrant reload – will delete current and create new environment according to Vagrantfile;vagrant rdp – opens RDP to Windows-based VM;vagrant powershell – opens PowerShell remote session, but only from Windows hosts;vagrant ssh – will establish SSH session with Linux-based VM;vagrant snapshot – will list, create, restore or delete VM snapshots;vagrant suspend – will put environment on pause, so extra disk space will be required to store data from RAM;vagrant resume – will turn on suspended environment;vagrant halt – will shutdown environment;vagrant destroy – will delete environment, but not Vagrantfile and shared stuff;