turbot/gcp_thrifty

Dashboard: Compute Checks

Thrifty Compute Benchmark

Thrifty developers eliminate their unused and under-utilized compute instances. This benchmark focuses on finding resources that have not been restarted recently, are using very large instance sizes, have old snapshots, have low utilization and have unused disks and IP addresses.

Variables

VariableDescriptionDefault
compute_disk_max_size_gbThe maximum size (GB) allowed for disks.100 GB
compute_disk_avg_read_write_ops_lowThe number of average read/write ops required for disks to be considered infrequently used. This value should be lower than compute_disk_avg_read_write_ops_high.100
compute_disk_avg_read_write_ops_highThe number of average read/write ops required for disks to be considered frequently used. This value should be higher than compute_disk_avg_read_write_ops_low.500
compute_instance_allowed_typesA list of allowed instance types. PostgreSQL wildcards are supported.["%-micro", "%-small", "%-medium", "%-2", "%-4", "%-8", "%-16", "%-30", "%-32", "%-1g", "%-2g"]
compute_running_instance_age_max_daysThe maximum number of days instances are allowed to run.90 days
compute_instance_avg_cpu_utilization_lowThe average CPU utilization required for instances to be considered infrequently used. This value should be lower than compute_instance_avg_cpu_utilization_high.20%
compute_instance_avg_cpu_utilization_highThe average CPU utilization required for instances to be considered frequently used. This value should be higher than compute_instance_avg_cpu_utilization_low.35%
compute_snapshot_age_max_daysThe maximum number of days snapshots can be retained.90 days

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-gcp-thrifty

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select Compute Checks dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe benchmark run gcp_thrifty.benchmark.compute --share

Benchmark

This dashboard is automatically generated from the following benchmark:

benchmark.compute

Tags