turbot/steampipe-mod-aws-insights

Dashboard: AWS EBS Volume Detail

This dashboard answers the following questions for each volume:

  • How is the volume configured?
  • What tags are applied?
  • What instances is it attached to?
  • How is encryption configured?
  • What is the read and write throughput?
  • What relationships does the volume have with other resources?
This dashboard contains 5 cards, 1 graph, 1 input and 4 tables.

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-aws-insights

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select AWS EBS Volume Detail dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe dashboard run aws_insights.dashboard.ebs_volume_detail --share

Queries

This dashboard uses the the following queries:
select
i.instance_id as "Instance ID",
i.Tags ->> 'Name' as "Name",
i.arn as "Instance ARN",
i.instance_state as "Instance State",
attachment ->> 'AttachTime' as "Attachment Time",
(attachment ->> 'DeleteOnTermination')::boolean as "Delete on Termination"
from
aws_ebs_volume as v,
jsonb_array_elements(attachments) as attachment,
aws_ec2_instance as i
where
i.instance_id = attachment ->> 'InstanceId'
and v.arn = $1
and v.account_id = split_part($1, ':', 5)
and v.region = split_part($1, ':', 4)
order by
i.instance_id;

Tags