There is support for nested virtualization since some time on AWS, see https://aws.amazon.com/blogs/aws/new-amazon-ec2-bare-metal-instances-with-direct-access-to-hardware/
But you need* to run the builder for the Vagrant provider you want to support, i.e. virtualbox-XXX. On 19 March 2018 at 08:49, Alvaro Miranda Aguilera <[email protected]> wrote: > Hello > > For most of the AWS flavor as they are either XEN or KVM the answer is no. > > I would think the new nitro or baremetal may be able to install and run > Virtualbox, not sure if cost will be friendly. > > If you are open to other clouds, packet.net runs fine, you can provision > with Terraform and run packer there. > > Alvaro > > On Mon, Mar 19, 2018 at 3:56 AM, Greg Roodt <[email protected]> wrote: > >> Hi >> >> I'm wondering if it is possible to build Virtualbox Vagrant boxes with >> Packer on an AWS instance? I know that it is possible to create a Vagrant >> box that is run on AWS (vagrant-aws), but I'm looking to build developer >> boxes for local use. >> >> The preference is to build the boxes in CI, but I've seen somewhere that >> it might not be possible to run Virtualbox on AWS. >> >> My thoughts were: >> 1. Start with an existing ISO >> 2. Provision it with Packer >> 3. Use the vagrant post-processor to output a vagrant.box >> >> Is this possible? >> >> Thanks! >> Greg >> >> >> -- >> 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/packer/issues >> IRC: #packer-tool on Freenode >> --- >> You received this message because you are subscribed to the Google Groups >> "Packer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/packer-tool/34259151-e0b0-4dcb-aa43-f4db382e96b2%40googlegroups.com >> <https://groups.google.com/d/msgid/packer-tool/34259151-e0b0-4dcb-aa43-f4db382e96b2%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > 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/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/CAHqq0ezU4JxXYYuBAueY6a_kb3QzUXXc_9k2kQn07jJPiYKeEQ% > 40mail.gmail.com > <https://groups.google.com/d/msgid/packer-tool/CAHqq0ezU4JxXYYuBAueY6a_kb3QzUXXc_9k2kQn07jJPiYKeEQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt9GuBmLrzJfBzJhH5UfSNH%2B%2B%2BXVH%2BVthwkYNY-T8wjMjA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
