Benchmark: Block Volume Checks
Thrifty Compute Benchmark
Thrifty developers eliminate their unused and under-utilized core compute resources. This benchmark focuses on finding resources that have been older than thresholds days and low CPU utilization.
Variables
| Variable | Description | Default |
|---|---|---|
| compute_instance_avg_cpu_utilization_high | The 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_instance_avg_cpu_utilization_low | The 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_running_instance_age_max_days | The maximum number of days instances are allowed to run. | 90 days |
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-oci-thriftyStart the Powerpipe server:
steampipe service startpowerpipe serverOpen http://localhost:9033 in your browser and select Block Volume Checks.
Run this benchmark in your terminal:
powerpipe benchmark run oci_thrifty.benchmark.block_volumeSnapshot and share results via Turbot Pipes:
powerpipe benchmark run oci_thrifty.benchmark.block_volume --shareControls
- Block volumes should have auto-tune volume performance enabled
- Old block volume backups should be deleted if not required
- Block and Boot volumes attached to stopped instances should be reviewed
- Block and Boot volumes should be resized if too large
- Block and Boot volumes not attached any instances should be reviewed
- Boot volumes with low usage should be reviewed