Vagrant Techonogy
Kuvauksen kirjoitti/Summary written by: Corey Johnson, ID L8314
What is Vagrant?
Vagrant is an open source tool or framework for working with virtual machines. It is a predictable and repeatable development atmosphere that developers use to simulate an environment where they can develop their projects. is very popular amongst developers due to its simplicity. Its safe, Its easy to open, easy to configure to a developers own specifications, and everything is contained within virtual machines that already exist, for example virtualbox, vmware, or some other virtual OS.
Strengths
- Vagrant provides a very realistic testing environment. Developers can see how their project works in real time, and failures are safely contained within the VM, so the host computer or network isn't affected by system crashes. Wheras in Docker, failures and crashes could cascade through a network.
- Vagrant supports many different operating systems, whereas other similar open source like Docker only work in Linux
- Vagrant works on the users local computer with tools that they're used to. They can use their choice text editors, image editors, and other software from the confort of their own computer.
- You can mimic virtually anything within Vagrant. You can configure Virtualbox, Hyper-V, and many other programs like Amazon Web Services. Vagrant also supports Docker containers configured within its virtual environment. You can even configure another Vagrant machine within a Vagrant machine!
Weaknesses
- Vagrant machines are incredibly slow and can take a long time to startup.
- Vagrant machines can be very expensive as they demand a large amount of RAM to start up effectively.
- Vagrant machines will slow down your entire system due to its high demand of resources.
- Vagrant machines can be extremely complex. Like VIM in Linux, they have a lot of wonderful options, but they can be difficult and time consuming to learn, configure, and maintain effectively.
In short
- Vagrants weaknesses are Dockers strengths, and vice versa.