Elastic Beanstalk 自定义平台
Posted cloudrivers
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Elastic Beanstalk 自定义平台相关的知识,希望对你有一定的参考价值。
要创建自定义平台,您需要基于所支持的操作系统之一 — Ubuntu、RHEL 或 Amazon Linux(有关确切版本号,请参阅 Platform.yaml 文件格式中的 flavor
条目)— 构建 AMI 并进一步添加自定义。您可使用 Packer(一种开源工具,用于为多种平台创建系统映像,包括用于 Amazon Elastic Compute Cloud (Amazon EC2) 的 AMI)创建您自己的 Elastic Beanstalk 平台。Elastic Beanstalk 平台包括被配置为运行一组软件以支持应用程序的 AMI,以及可以包含自定义配置选项和默认配置选项设置的元数据。
Packer is an open source tool for creating identical machine images for multiple platforms from a single source configuration. Packer is lightweight, runs on every major operating system, and is highly performant, creating machine images for multiple platforms in parallel. Packer does not replace configuration management like Chef or Puppet. In fact, when building images, Packer is able to use tools like Chef or Puppet to install software onto the image.
A machine image is a single static unit that contains a pre-configured operating system and installed software which is used to quickly create new running machines. Machine image formats change for each platform. Some examples include AMIs for EC2, VMDK/VMX files for VMware, OVF exports for VirtualBox, etc.
以上是关于Elastic Beanstalk 自定义平台的主要内容,如果未能解决你的问题,请参考以下文章
AWS Elastic Beanstalk:将自定义日志添加到 CloudWatch?
Amazon Elastic Beanstalk 如何采用自定义 python 命令?