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

0

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

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

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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠