Skip to main content

Configure AWS EC2 Idle Instance Detection

  1. Configure AWS EC2 Idle Instance Detection
  2. Use Case for AWS EC2 Idle Instance Detection
  3. Triage Guides by Violation Type
    1. Triage AWS EC2 Idle Instance Detection CPU_UTILIZATION_LOW
    2. Triage AWS EC2 Idle Instance Detection MEMORY_UTILIZATION_LOW

How do I enable this policy?

Signature:
Type: Pyrae::Policy::PolicyDocument::Signatory
Properties:
SignatureTeamUrn: { "PyRef": "PyraeTeam" }
PolicyUrn: "urn:pyrae:policy:us-west-2:sAutx4ZxiqTJUzJdvky2km:policy/AwsEc2IdleInstanceDetection"

What permissions does this policy require in my AWS account?

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"cloudwatch:GetMetricStatistics"
],
"Resource": "*"
}
]
}

What resources match this policy?

Type: Pyrae::Observer::MatchingRule
Properties:
MatchAccountType: aws
MatchUrnService: ec2
MatchUrnResourceType: instance