2015-07-09 55 views

回答

0

您可以将Virtualbox映像转换为应该能够在AWS上运行的原始img。我在这里描述了这个过程:How to convert a Vagrant box to a Docker image

只需在创建img的地方停下来!您将不得不将我的教程用于img创建,因为其他教程使用Virtualbox vdi文件创建图像。 Virtualbox不再提供/支持vdi文件。按照有关如何获得AWS运行的IMG本教程:https://www.niftiestsoftware.com/2011/09/24/converting-a-virtualbox-vm-to-an-ec2-ami/

还要注意流浪AWS提供: https://github.com/mitchellh/vagrant-aws

我建议的方法是使用PackerAMI-Creator创建AMI-AWS云图像,并提供他们Vagrant AWS提供商。与转换后的Virtualbox盒子相比,这些盒子会更小并产生更少的问题。

相关问题