简体   繁体   English

从 AMI 构建 AWS Elastic Beanstalk 平台

[英]Building an AWS Elastic Beanstalk platform from an AMI

I have configured an EC2 server with a specific set of packages and created a custom AMI from the instance which is setup just how I like it.我已经使用一组特定的包配置了一个 EC2 服务器,并从实例创建了一个自定义 AMI,该实例的设置正是我喜欢的方式。 I would like to use Elastic Beanstalk to generate a new instance with the same setup.我想使用 Elastic Beanstalk 生成一个具有相同设置的新实例。 Is that possible?那可能吗? When I am asked to select a platform in EBS my custom AMIs are not available to me.当我被要求在 EBS 中选择一个平台时,我无法使用我的自定义 AMI。 I cannot "apply" an AMI to an existing EC2 created by EBS.我无法将 AMI“应用”到由 EBS 创建的现有 EC2。 I would like to know how Elastic Beanstalk makes use of custom AMIs.我想知道 Elastic Beanstalk 如何使用自定义 AMI。 I cannot find a clear answer in the docs.我在文档中找不到明确的答案。

By default Elastic Beanstalk only provide Amazon Linux in case Linux OS.默认情况下,Elastic Beanstalk 仅在 Linux 操作系统的情况下提供 Amazon Linux。 You can use your custom AMI with ElasticBeanstalk.您可以将自定义 AMI 与 ElasticBeanstalk 结合使用。 In the AMI selection stage paste the AMI-ID of your custom AMI and you are good to go.在 AMI 选择阶段,粘贴您的自定义 AMI 的 AMI-ID,您就可以开始了。

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

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