Vagrant Instance Operations
Jump to navigation
Jump to search
Internal
Overview
Instance Operations
up
This is the essential Vagrant command. It starts and provision the vagrant environment:
vagrant up
The backing Vagrantfile can be written in such a way that bringing the machine up creates a ~/.ssh/dev/vagranthostname configuration that can be used by ssh to connect directly. This is an example of how to achieve this: AWS Provider Vagrantfile Example.
status
vagrant status [name|id]
Also see:
destroy
Stops and deletes all traces of the vagrant machine:
vagrant destroy vagrant destroy [name|id]
If the corresponding VM runs in AWS EC2, this terminates the instance.