Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between virtualbox + vagrant and VMWare fusion

I've been running VMWare fusion for awhile now and use it to create new instances of my ubuntu rails dev environment and web server.

I'm trying to transition over to using virtualbox and vagrant.

From what I understand, virtualbox runs the VM and vagrant manages the instances. In VMWare Fusion it does both the VM and instance management. Does that mean using virtualbox with vagrant is pretty much the same as just using VMWare Fusion?

like image 492
Brand Avatar asked Sep 01 '12 04:09

Brand


People also ask

What is the difference between vagrant and VirtualBox?

VirtualBox is basically inception for your computer. You can use VirtualBox to run entire sandboxed operating systems within your own computer. Vagrant is software that is used to manage a development environment.

Which is better VMware vs VirtualBox?

If you already work in a VMware environment, Workstation/Fusion is clearly the better option, as it has better compatibility with VMware servers and data management tools. Overall, it's probably a superior option for business use. Virtual machines created by VMware are faster than those created by VirtualBox.

What is the difference between VirtualBox and VMware?

VMware is virtualization software that helps you to run multiple operating systems in a single host. VirtualBox is an Oracle tool to provide host-based virtualization. 2. It is used for enterprise and home purposes.

Why VirtualBox is faster than VMware?

However, -VMware has better support available for high-level 3D graphics along with support for DX10 and OpenGL 3.3. VirtualBox runs fast as compared to VMware: For instance, installation of guest OS on VirtualBox is easy and fast as compared to VMware. Moreover, the boot time of VirtualBox is also better than VMware.


1 Answers

Yes your bolded last question is correct. Vagrant is a fantastic tool in which to wrap up and define a VM as a config file. VirtualBox does the heavy lifting as well as the deployers (puppet, chef). As the author says, he stands on the shoulders of giants. I'd want to move off fusion if your are sick of wiping your env clean or if you want a really pristine staging env. Use fusion for a permanent box or to run an X11 GUI. Vagrant can also repackage your vm after you have built it. So you can use someone's base image and repack it. VMware can do this too but not easily from a config file afaik.

Vagrant seems to stop short of capify but it's not tied to rails/ruby. I mean, I would just use it for staging and dev solo or dev teams. Maybe not prod provisioning.

VirtualBox compares directly with VMWare. Once vagrant hits 1.0 it is planned that it will support vmware fusion and then you'll have a choice of vm platform.

Also take a look at librarian-chef as related to vagrant. Pretty cool set of premade cookbooks for chef.

like image 174
squarism Avatar answered Nov 02 '22 00:11

squarism