turbot/steampipe-mod-aws-insights

Dashboard: AWS EC2 Instance Dashboard

This dashboard answers the following questions:

  • How many instances are in each account and region?
  • How many cores are allocated across all instances?
  • How many public instances are there?
  • How many instances do not have monitoring enabled?
  • How much do my instances cost each month?
  • What are my most used instances by CPU utilization?
This dashboard contains 5 cards and 1 table.

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 EC2 Instance Dashboard dashboard.

You could also snapshot and share results via Turbot Pipes:

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

Queries

This dashboard uses the the following queries:
select
count(*) as value,
'EBS Not Optimized' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
aws_ec2_instance
where
not ebs_optimized

Tags