CloudFormation - Elastic Beanstalk环境的启动模板

0

【以下的问题经过翻译处理】 我正在尝试使用启动模板替换CloudFormation堆栈中Elastic Beanstalk环境的启动配置。 "https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html"中Elastic Beanstalk的命名空间不列出启动模板。 我想创建一个使用启动模板的Elastic Beanstalk环境,以实现自动缩放群组和EC2实例,并使用CloudFormation堆栈。

profile picture
专家
已提问 5 个月前19 查看次数
1 回答
0

【以下的回答经过翻译处理】 如果你已经通过启动配置启动了现有的弹性Beanstalk环境,则无需进行任何操作。请参考此Stackoverflow文章,其中引用了AWS支持:https://stackoverflow.com/questions/74647624/change-elastic-beanstalk-environment-from-launch-configuration-to-launch-templat

如果你正在使用CloudFormation启动一个新的ElasticBeanstalk环境,EB会自动使用一个启动模板。你不需要在CloudFormation模板中指定它。请参考https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-launchtemplates.html

profile picture
专家
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则