Skip to content

Latest commit

 

History

History
 
 

utilization

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

AWS Savings Plan Utilization

What it does

This Policy Template leverages the AWS Savings Plans Utilization API. It will raise incidents if the Utilization of the Savings Plan (specified in the Savings Plan ARN parameter) is below the Savings Plan Utilization Threshold parameter in the policy. It will email the user specified in Email addresses to notify.

Prerequisites

This Policy Template uses Credentials for authenticating to datasources -- in order to apply this policy you must have a Credential registered in the system that is compatible with this policy. If there are no Credentials listed when you apply the policy, please contact your Flexera Org Admin and ask them to register a Credential that is compatible with this policy. The information below should be consulted when creating the credential(s).

  • AWS Credential (provider=aws) which has the following permissions:

    • ce:*

    Example IAM Permission Policy:

    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "ce:*"
          ],
          "Resource": [
            "*"
          ]
        }
      ]
    }
  • Flexera Credential (provider=flexera) which has the following roles:

    • billing_center_viewer

Functional Details

  • This policy produces a pie chart showing Used Commitment, Unused Commitment and Utilization for a Savings Plan.
  • This policy uses AWS Savings Plans Utilization API to retrieve Savings Plan Utilization data.
  • This policy uses Flexera Bill Analysis API to retrieve currency data, so the correct currency is displayed in the chart.

Input Parameters

This policy has the following input parameters required when launching the policy.

  • Look Back Period - Specify the number of days of past usage to analyze.
  • Savings Plan ARN - The unique Amazon Resource Name (ARN) for a particular Savings Plan
  • Savings Plan Utilization Threshold - Specify the minimum Savings Plan Utilization threshold as a percentage that should result in an alert
  • Email addresses to notify - A list of email addresses to notify

Policy Actions

  • Send an email report

Supported Clouds

  • AWS

Cost

This Policy Template does not launch any instances, and so does not incur any cloud costs.