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

0

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

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

profile picture
ESPECIALISTA
feita há 6 meses26 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 6 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas