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

0

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

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

profile picture
EXPERT
asked 6 months ago29 views
1 Answer
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
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions