Multi-Machine VMs With Vagrant
In this lesson, we’ll be looking at how you can build and run multi-machine Vagrant VMs.
We'll cover the following...
What are multi-machine VMs and why do we need them?
Vagrant is able to define and control multiple guest machines per Vagrantfile. This is known as a "multi-machine"
environment.
These machines are generally able to work together or are somehow associated with each other. Here are some use cases describing what people are using multi-machine environments for today:
- Accurately modeling a multi-server production topology, such as separating a web and database server.
- Modeling a distributed system and how they interact with each other.
- Testing an interface, such as an API, to a service component.
- Disaster-case testing: machines dying, network partitions, slow networks, inconsistent