is the new reality. Therefore, you will need a single tool, general purpose dashboard and graph composer for your global infrastructure. That’s where comes into play. Due to it’s pluggable architecture, you have access to many widgets and plugins to create interactive & user-friendly dashboards. In this post, I will walk you through on how to create dashboards in Grafana to monitor in real-time your instances based on metrics collected in . Hybrid cloud Grafana EC2 AWS CloudWatch To get started, create an with the following : IAM role IAM policy Launch an instance with the script below. Make sure to associate to the instance the role we created earlier: EC2 user-data On the security group section, allow inbound traffic on port (Grafana Dashboard). 3000 Once created, point your browser to the , you should see page (default credentials: ) : http://instance_dns_name:3000 Grafana Login admin/admin Grafana ships with built in support for CloudWatch, so add a new data source: Note: In case you are using an (recommended), keep the other fields empty as above, otherwise, create a new file at _~/.aws/credentials_with your own AWS Access Key & Secret key. IAM Role Create a new dashboard, and add new graph to the panel, select as , as , and the of the instance you want to monitor in the field: AWS/EC2 namespace CPUUtilization metric instance id dimension That’s great ! Well, instead of hard-coding the in the query, we can use a feature in Grafana called “ “. Create a new variable to hold list of AWS supported regions : InstanceId Query Variables And, create a second variable to store list of instances ids per selected AWS region: Now, go back to your graph and update the query as below: That’s it, go ahead and create other widgets: Note: You can download the dashboard from . GitHub Now you’re ready to build interactive & dynamic dashboards for your metrics. CloudWatch