## Calculating IOPS Used By EBS Volume

## How To Calculate IOPS Used By EBS Volumes In AWS?

### For GP2 volumes:

Data is collected every 5 minutes, so there is no data available for every minute.For example, if you see Max of volumeReadOps and volumeWriteOps for a period of 5 mins and 1 min, the value would remain same. If you also see Sum of volumeReadOps and volumeWriteOps for a period of 5 mins and 1 min, the value would again remain same. Below is an observation of this:

statistics - maximum

period - 1 min

value - 285491

statistics - maximum

period - 5 min

value - 285491

statistics - maximum

period - 15 min

value - 285491

statistics - sum

period - 1 min

value - 285491

statistics - sum

period - 5 min

value - 285491

statistics - sum

period - 15 min

value - 830694

So, If you want to calculate the IOPS consumed here, then, divide the IOPS with 300 (that is 5*60) in case you are taking max/sum of 1 or 5 min. The calculation would be 285491/300 = 951.63

If you are considering sum of 15 min, then divide the IOPS with 900 (that is 15*60) which is 830694/900 = 922.99

Above values are being considered when the IOPS were happening on peak. You may consider the data for last 2 week or may be 3 week and choose the window for the peak duration and for that peak calculate the IOPS.

Very informative blog... This blog contain complete information on Amazon Elastic Block Store. Here I want to share AWS EBS cost.

ReplyDelete