turbot/steampipe-mod-aws-compliance

Control: EC2 instance should have EBS optimization enabled

Description

An optimized instance in AWS Elastic Block Store (AWS EBS) provides additional, dedicated capacity for AWS EBS I/O operations.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.ec2_instance_ebs_optimized

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.ec2_instance_ebs_optimized --share

SQL

This control uses a named query:

select
arn as resource,
case
when ebs_optimized then 'ok'
else 'alarm'
end as status,
case
when ebs_optimized then title || ' EBS optimization enabled.'
else title || ' EBS optimization disabled.'
end as reason
, region, account_id
from
aws_ec2_instance;

Tags