turbot/steampipe-mod-aws-insights

Dashboard: AWS EC2 Network Interface Detail

This dashboard answers the following questions:

  • How is the network interface configured?
  • What tags are applied?
  • Which security groups is it attached to?
  • What are the Elastic IP allocations of the network interface?
  • What relationships does the network interface 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 EC2 Network Interface Detail dashboard.

You could also snapshot and share results via Turbot Pipes:

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

Queries

This dashboard uses the the following queries:
select
eni.association_allocation_id "Allocation ID",
eni.association_public_ip as "Public IP Address",
eni.association_carrier_ip as "Carrier IP",
eni.association_customer_owned_ip as "Customer Owned IP",
eni.association_id as "Association ID",
eni.association_ip_owner_id as "IP Owner ID",
eni.association_public_dns_name as "Public DNS Name",
eip_alloc.arn as "EIP Alloc ARN"
from
aws_ec2_network_interface eni
left join aws_vpc_eip eip_alloc on
eip_alloc.allocation_id = eni.association_allocation_id
and eip_alloc.association_id = eni.association_id
where
eni.network_interface_id = $1
and eni.association_allocation_id is not null;

Tags