Any suggestion for using Vagrant on top of Cloud Provider (which didn't provide Nested Virtualization)

19 views
Skip to first unread message

Ryan Qian

unread,
Jul 15, 2016, 6:04:15 AM7/15/16
to Vagrant
Hello Buddies. 

I love Vagrant, it's running smoothly on my laptop and workstation, currently our team are trying to move our build environment to Cloud, but sadly cloud provider rarely provide Nested Virtualization for their VMs, which makes our Vagrant box unable to work there. 

We had a try to use Docker instead, but it's kind of ugly for our build process.  I'm hoping to use Vagrant again.    

Any suggestion for that?

Thanks 

Alvaro Miranda Aguilera

unread,
Jul 15, 2016, 11:08:19 AM7/15/16
to vagra...@googlegroups.com
Hello,

You don't need nested VM to run vagrant on the cloud, you need use a cloud provider that have a plugin available and instead of using virtualbox, you will be using this cloud.

There are plugin for AWS, DigitalOcean and others.

Thanks
Alvaro.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
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 vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/acc587cf-fd33-44f4-9c7d-6a6b524745b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ryan Qian

unread,
Jul 15, 2016, 11:39:50 AM7/15/16
to Vagrant
Thank you Alvaro, I know the provider plugin, currently we are using 2 China local Cloud provider's VM, which didn't have the provider plugin available yet. and I have the concern to write them as our team didn't have Ruby skill. Also i'm kind of don't like this remote provider way. 

Maybe that's the only I should have a try. Thank you Alvaro.

Alvaro Miranda Aguilera

unread,
Jul 15, 2016, 1:38:07 PM7/15/16
to vagra...@googlegroups.com
If Vagrant is not a suitable option, perhaps you can use packer (packer.io) with a null provider, and ssh into the local machine.

ie, install the packer binary, set ssh/user/password to the local machine and use that to run the privisioning.

of course this will be overkill if you provisioning is just shell scripts, in that case it will be faster just run them.

Say you have a project that requires ruby, you could just use shell scripts that are idempotent, ie, if ruby is installed, skip the install of ruby. etc

Alvaro.


Reply all
Reply to author
Forward
0 new messages