简体   繁体   English

亚马逊Linux的流浪替代品

[英]Vagrant alternative to Amazon Linux

My company has decided to migrate our base server images from Ubuntu Server to Amazon Linux. 我的公司决定将我们的基本服务器映像从Ubuntu Server迁移到Amazon Linux。 In the past we would spin up an Ubuntu Server LTS box from vagrantbox.es to emulate an instance in our AWS stack, but Amazon only provides an AMI. 在过去,我们会从vagrantbox.es启动Ubuntu Server LTS框来模拟我们的AWS栈中的实例,但亚马逊只提供AMI。

According to the Amazon Linux AMI FAQ , updates are custom tailored depending on the EC2 region the AMI is launched in, which might have issues with exporting an AMI to VDI . 根据Amazon Linux AMI FAQ ,根据AMI启动的EC2区域定制更新,这可能会导致将AMI导出到VDI I've also read that Amazon Linux removes a lot of cruft from RHEL and Fedora to make it a server-optimized distribution. 我还读到,亚马逊Linux从RHEL和Fedora中删除了大量内容,使其成为服务器优化的发行版。

  1. How can I emulate Amazon Linux in an environment where I might not have a persistent network connection? 如何在可能没有持久网络连接的环境中模拟Amazon Linux?

  2. Apart from switching to yum , what pitfalls should I expect in running Amazon Linux locally? 除了转向yum ,我还期望在本地运行Amazon Linux时会yum什么陷阱?

  3. Is there some pre-built vagrant box for Amazon Linux that gets around these pitfalls? 亚马逊Linux是否有一些预先设置的流浪盒可以解决这些陷阱?

Amazon does not provide an image of its distribution for use on other VM platforms. 亚马逊没有提供其分发的图像,以便在其他VM平台上使用。 You may find these blog posts useful though; 您可能会发现这些 博客 文章 很有用 ; they provide detailed instructions for building Amazon Linux disk images, and in the last article he provides direct links to images he built for VMWare and VirtualBox. 它们提供了构建Amazon Linux磁盘映像的详细说明,在上一篇文章中,他提供了为VMWare和VirtualBox构建的映像的直接链接。

Amazon Linux is based on CentOS so you could also start there. Amazon Linux基于CentOS,因此您也可以从那里开始。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM