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堆栈。

1 Antwort
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
EXPERTE
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen