如何启用ElasticBeanstalk管理的EC2实例的详细监控

0

【以下的问题经过翻译处理】 ElasticBeanstalk在某些配置更改时会不断生成和重写它的EC2启动模板,并将详细的CloudWatch监控设置为false。手动更改启动模板可以解决问题,但ElasticBeanstalk仍会更新它。

如何确保由EB创建的实例具有详细监控功能,而无需每次更新启动模板?在EB配置中似乎没有相关选项。

profile picture
專家
已提問 6 個月前檢視次數 29 次
1 個回答
0

【以下的回答经过翻译处理】 配置文件中有一个"aws:autoscaling:launchconfiguration"。

我认为将"MonitoringInterval"设置为"1分钟"将启用详细监控,但你怎么看?

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-autoscalinglaunchconfiguration

option_settings:
  aws:autoscaling:launchconfiguration:
    MonitoringInterval: 1 minute

profile picture
專家
已回答 6 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南

相關內容