turbot/azure_thrifty

Benchmark: 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, have old snapshots, have high disk IOPS and have large, unused or inactive disks.

Variables

VariableDescriptionDefault
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_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_max_iopsThe maximum IOPS allowed for disks.2000 IOPS
compute_disk_max_size_gbThe maximum size (GB) allowed for disks.100 GB
compute_running_vm_age_max_daysThe maximum number of days virtual machines are allowed to run.90 days
compute_snapshot_age_max_daysThe maximum number of days snapshots can be retained.90 days
compute_vm_avg_cpu_utilization_highThe average CPU utilization required for virtual machines to be considered frequently used. This value should be higher than compute_vm_avg_cpu_utilization_low.35%
compute_vm_avg_cpu_utilization_lowThe average CPU utilization required for virtual machines to be considered infrequently used. This value should be lower than compute_vm_avg_cpu_utilization_high.20%

Usage

Install the mod:

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

Start the Powerpipe server:

steampipe service start
powerpipe server

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

Run this benchmark in your terminal:

powerpipe benchmark run azure_thrifty.benchmark.compute

Snapshot and share results via Turbot Pipes:

powerpipe benchmark run azure_thrifty.benchmark.compute --share

Controls

Tags