Hi Joe,
Thanks for your question. Keeping your Dashboard dynamically up to date is no easy job but with Metrics Explorer [1] and Search Expression [2] it can be tackled quite simply.
Metrics Explorer is a feature that allows you to dynamically populate metrics by the resource tags. For instance in your case, we can filter by the Instance Name tag or any other tag that you find common around the EC2 instances that you dynamically want to monitor on your Dashboard.
Once you create the graphs on your Explorer, you can add it as a Metrics Explorer widget to the Dashboard.
Alternatively, Search Expression can be also used here and it supports searching by the Namespace, Metric Name, Dimension Name and Dimension Values. For instance you can use below search expression to find all the CPUUtilization metrics from AWS/EC2 namespace with InstanceId schema(which is the dimension list for that metric).
SEARCH('{AWS/EC2,InstanceId} MetricName="CPUUtilization"', 'Average', 300)
Please check the related documents for detail information and including the limitations as well.
Hope this helps!
Thanks
Relevant questions
How To automaticaly modify CloudWatch Dashboard when new instance is created.
asked 21 days agoCloudWatch Dashboard: Is there a way to create a link to a specific Text widget?
asked 3 months agoControl CloudWatch Dashboard plot attributes, like line color?
asked 4 years agoHow to grant someone else CloudWatch dashboard view access?
asked 8 months agoCreate dynamic cross account CloudWatch Dashboard
asked 21 days agoScale errors on simple CloudWatch Dashboard
Accepted Answerasked 8 months agoCloudWatch Dashboard
Accepted Answerasked 2 years agoHTTP API metrics not showing in CloudWatch automatic dashboard
asked 7 months agoI can't find my EC2 instance in my dashboard
asked 2 months agoHow to connect data points in CloudWatch dashboard?
Accepted Answerasked a month ago
Hi @Munkhbat_T, I appreciate your answer! I've used Metric Explorer in the past without issue, my blocker here is that it's only of use in a singular account. I was wondering if there's a way to do the same type of build out for cross account dashboards.