guy mograbi
guy mograbi

Reputation: 28728

How can I use vagrant on an existing machine?

I have:

How can I tell my vagrant to use the machine I have? (I don't want to spin a new machine)

currently doing stuff manually. also cannot use docker (project requirement).

Upvotes: 1

Views: 234

Answers (2)

guy mograbi
guy mograbi

Reputation: 28728

I found this awesome vagrant plugin that answers my needs

https://github.com/tknerr/vagrant-managed-servers

Upvotes: 1

Frederic Henri
Frederic Henri

Reputation: 53813

You can't

Basically, vagrant needs a box to create the VM to work with. You would not be able to create a base box from your running EC2 instance (vagrant package only works with VirtualBox)

You would be able to spin new EC2 instance from a specific EC2 box (or create a box yourself for the EC2 provider) but for your existing instance, you'll need to continue working with ssh

Upvotes: 0

Related Questions