/steampipe-mod-aws-thrifty

Are you a Thrifty AWS dev? This Steampipe mod checks your AWS account(s) for unused and under-utilized resources.

Primary LanguageHCLApache License 2.0Apache-2.0

AWS Thrifty

An AWS cost savings and waste checking tool.

Quick start

  1. Download and install Steampipe (https://steampipe.io/downloads). Or use Brew:
brew tap turbot/tap
brew install steampipe

steampipe -v 
steampipe version 0.7.3

Install the AWS plugin

steampipe plugin install aws

Clone this repo and move into the directory:

git clone https://github.com/turbot/steampipe-mod-aws-thrifty.git
cd steampipe-mod-aws-thrifty

Run all benchmarks:

steampipe check all

image

Your can also run a specific controls:

steampipe check control.instances_with_low_utilization

Current Thrifty Checks

  • Month to month swings in service cost from AWS Cost Explorer
  • Underused and oversized RDS Databases
  • Unused, underused and oversized EC2 Instances
  • Unused, underused and oversized EBS Volumes and Snapshots
  • CloudWatch Log Groups without retention policies
  • CloudWatch Log Streams with stale data
  • CloudFront Distribution pricing classes
  • Unused EMR Clusters with previous generation instances
  • Unused ECS Clusters
  • Stale DynamoDB Tables
  • Unused and underused Redshift Clusters
  • S3 Buckets without lifecycle policies
  • Unattached Elastic IPs
  • #TODO List

Use introspection to view the available controls::

steampipe query "select resource_name from steampipe_control;"

Contributing

Have an idea for a thrifty check but aren't sure how to get started?

Prerequisites:

Fork: Click on the GitHub Fork Widget. (Don't forget to ⭐ the repo!)

Clone:

  1. Change the current working directory to the location where you want to put the cloned directory on your local filesystem.
  2. Type the clone command below inserting your GitHub username instead of YOUR-USERNAME:
git clone git@github.com:YOUR-USERNAME/steampipe-mod-aws-thrifty
cd steampipe-mod-aws-thrifty

Thanks for getting involved! We would love to have you join our Slack community and hang out with other Mod developers.

Please see the contribution guidelines and our code of conduct. All contributions are subject to the Apache 2.0 open source license.

help wanted issues: