How To automaticaly modify CloudWatch Dashboard when new instance is created.

0

Hello friends, for my customers I will be deploying (their) new instances - on demand and automatically. I also have one CW Dashboard with the list of all my server-instances, Metrics and Alarms. Any Idea how to simply react for new generated server instance? Practicaly, when new instance apears, I would like automaticaly spread my Dashboard. I am looking for the simplest way, if exists. e.g. some CLI script, which I will run when new instance apears in my EC2. Erasing of old (and obsoled) instances will be usefull (and nice to have) too :) thanks martin

1回答
0

You can use Metrics explorer for this https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metrics-Explorer.html. Metrics explorer visualizations are dynamic, so if a matching resource is created after you create a metrics explorer widget and add it to a CloudWatch dashboard, the new resource automatically appears in the explorer widget.

AWS
Pete_D
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ