Skip to content

Billing monitoring for SRE's. Automation to create alerts and actions based on Estimated Changes for AWS Accounts

License

Notifications You must be signed in to change notification settings

production-ready-toolkit/aws-sre-billing-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Billing Alerts Module for SRE's

Features by Default

  • Danger Threshold
  • Warning Threashold
  • Anomaly Detection for Billing Patterns
  • SNS Topics to Notifications

Variables

Variable Default Required Type Additional Info
project NA yes string
environment NA yes string
sns_topic_warn null no string A new will be created
sns_topic_danger null no string A new will be created
sns_topic_anomaly_detection null no string A new will be created
evaluation_period 21600 no string
linked_account null no string
warn.Currency USD no string
warn.Amount 5.00 no string
danger.Currency USD no string
danger.Amount 15.00 no string

Outputs

Variable Value
sns_warn aws_sns_topic.warn
sns_danger aws_sns_topic.danger
sns_anomaly_detection aws_sns_topic.anomaly
cloudwatch_warn_alarm aws_cloudwatch_metric_alarm.warn
cloudwatch_warn_danger aws_cloudwatch_metric_alarm.danger

Usage

module "basic_alert" {
    source = "github.com/production-ready-toolkit/aws-sre-billing-monitoring"

    project     = "dummy"
    environment = "prod"

    warn        = {
      Currency = "USD"
      Amount   = "20.00"
    }

    danger      = {
      Currency = "USD"
      Amount   = "50.00"
    }

    tags        = {
        "environment" = "production"
    }
}

Examples

Todo

  • ...

About

Billing monitoring for SRE's. Automation to create alerts and actions based on Estimated Changes for AWS Accounts

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages