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

0

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

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

profile picture
ESPERTO
posta 6 mesi fa29 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 6 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande