If I run the AWS CLI command for Compute Optimizer:
aws compute-optimizer get-ec2-instance-recommendations
part of the json response body tells me that an EC2 instance is over-provisioned.
"finding": "OVER_PROVISIONED"
I would like to set up an alert that notifies me proactively as soon as Compute Optimizer detects an instance is under or over provisioned. However I am just unsure how to achieve this. I guess its not necessarily a Compute Optimizer-specific issue - any method to convert the response from an AWS CLI command into an alert should work. Any suggestions appreciated. Thanks,