2015-07-09 45 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盒子相比,這些盒子會更小併產生更少的問題。

相關問題