CPU Utilization is a primary metric used to monitor your EC2 instances and determine their performance. EC2 sends metric data to CloudWatch which measures the percentage utilization of compute units. This data is imperative to ensure optimal EC2 CPU performance, and to ensure that your instances are appropriately sized for your workload. Underutilized instances add to costs, and overutilized instances diminish performance and results in bottlenecks. This insight is the starting point for the act of ‘rightsizing’ your instances. (Check out the Scheduling Best Practices that optimize the usage of your resources!)
We templatized a workflow to generate a report of CPU utilization through our Workflow Editor that enables constant monitoring. The monitoring node, built specifically such conditions, fetches CloudWatch data based on the NameSpace and Metric Name that you enter. The resource selected is enriched with CloudWatch metrics to assist better cloud visibility. The information can be delivered to you in the form of an easily readable report, with the report node. This insight can in turn be used to create workflows to rightsize under/overutilized EC2 instances. Shown below is the workflow created to generate an Instance CPU Utilization Report.