Vagrant Operations: Difference between revisions
Jump to navigation
Jump to search
Line 58: | Line 58: | ||
=Managing a VM in an AWS Environment= | =Managing a VM in an AWS Environment= | ||
{{ | {{Internal|Vagrant AWS Provider|Vagrant AWS Provider}} | ||
Revision as of 19:30, 17 November 2019
External
Internal
Plugin Operations
Environment Operations
Box Operations
List
vagrant box list
Instance Operations
init
vagrant init
ssh
Connect to machine via SSH:
vagrant ssh
How does it know to connect to the instance it was started? More about jump box.
global-status
Global status of the VM:
vagrant global-status
status
vagrant status [name|id]
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.