How can I use CloudWatch metrics to calculate the average throughput and average number of IOPS my EBS volume is providing?
I want to calculate the average throughput and number of IOPS for my Amazon Elastic Block Store (Amazon EBS) volume.
"I want to calculate the average throughput and number of IOPS for my Amazon Elastic Block Store (Amazon EBS) volume.Short descriptionYou can use Amazon CloudWatch metrics to monitor the status of your EBS volumes. Then, use this data to determine the average number of IOPS provided and the average throughput of your volume.Calculate the actual average IOPS in Ops/s with the following formula:((VolumeReadOps)+(VolumeWriteOps))/((Period)−(VolumeIdleTime))Calculate the average IOPS in Ops/s with the following formula:((VolumeReadOps)+(VolumeWriteOps))/(Period)For more information, see How can I identify if my Amazon EBS volume is micro-bursting and then prevent this from happening?Calculate the actual average throughput in bytes/s with the following formula:((VolumeReadBytes)+(VolumeWriteBytes))/((Period)−(VolumeIdleTime))Calculate the average throughput in bytes/s with the following formula:((VolumeReadBytes)+(VolumeWriteBytes))/(Period)Note: The Sum statistic in CloudWatch for VolumeReadBytes and VolumeWriteBytes reports the total number of bytes transferred during the specified period.ResolutionOpen the CloudWatch console.Under Metrics in the sidebar, choose All metrics.Choose EBS, and then choose Per-Volume Metrics.Select the metrics that you want to graph:To graph the actual average IOPS, select VolumeReadOps, VolumeWriteOps, and VolumeIdleTime.To graph the actual average throughput, select VolumeReadBytes, VolumeWriteBytes, and VolumeIdleTime.To graph the average IOPS, select VolumeReadOps, VolumeWriteOps.To graph the average throughput, select VolumeReadBytes, VolumeWriteBytes.Choose the Graphed metrics tab.In the Statistic dropdown list, choose Sum.Choose the period of time that you want to view from the Period dropdown list.Note: The Period in the previously mentioned formulas represents a given time in CloudWatch. The specified Period of the CloudWatch graph equals the volume's collection period.To graph the actual average, in the Add math dropdown list, choose Start with empty expression. Then, enter the following expression:(m1+m2)/(PERIOD(m1)−m3).To graph the average, in the Add math dropdown list, choose Start with empty expression. Then, enter the following expression: (m1+m2)/(PERIOD(m1)).Choose Apply.Related informationHow does Amazon EBS calculate the optimal I/O size I should use to improve performance on my gp2 or io1 volume?Follow"