Hi Liam,
yes, you can use the managed servers provider for that. You have to
pass the external dns name / ip address (or EIP if you have one) and
the ssh key to the Vagrantfile, e.g. like so:
```
Vagrant.configure("2") do |config|
config.vm.box = "tknerr/managed-server-dummy"
config.vm.provider :managed do |managed, override|
managed.server = "ec2-x-x-x-x.compute-1.amazonaws.com"
override.ssh.username = "username"
override.ssh.private_key_path = "/path/to/private_key"
end
end
```
HTH,
Torben
On Wed, Apr 1, 2015 at 7:34 PM, Info Cascade
<[email protected]> wrote:
> Hi,
> This is a simple question but I couldn't immediately find the answer.
> I've been using Vagrant to spin up instances on AWS EC2. Works great.
>
> I now have a client who has not given me access to do that. Instead, they
> have created the machine for me under their EC2 account.
>
> So, I just need to provision the machine, essentially, not instantiate it.
>
> I can't seem to figure out the formula for specifying the name of the
> machine I want to provision.
>
> Is this what I need to use?
> https://github.com/tknerr/vagrant-managed-servers
>
> Liam
>
> --
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.