Recently while debugging some performance related issues, I had to monitor the AWS resources that my…