Control: ECS disks with high IOPS should be reviewed
Description
High IOPS PL1, PL2 and PL3 disks are costly and their usage should be reviewed.
Usage
Run the control in your terminal:
powerpipe control run alicloud_thrifty.control.ecs_disk_high_iops
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run alicloud_thrifty.control.ecs_disk_high_iops --share
Steampipe Tables
Params
Args | Name | Default | Description | Variable |
---|---|---|---|---|
$1 | ecs_disk_max_iops |
| The maximum IOPS allowed for disks. |
SQL
select arn as resource, case when category <> 'cloud_essd' then 'skip' when iops > $1 then 'alarm' else 'ok' end as status, case when category <> 'cloud_essd' then title || ' is of type ' || category || '.' else title || ' with performance category ' || performance_level || ' has ' || iops || ' iops.' end as reason , account_id, regionfrom alicloud_ecs_disk;