turbot/alicloud_insights

Query: ecs_instance_by_account

Usage

powerpipe query alicloud_insights.query.ecs_instance_by_account

SQL

select
a.title as "account",
count(i.*) as "total"
from
alicloud_ecs_instance as i,
alicloud_account as a
where
a.account_id = i.account_id
group by
account
order by
count(i.*) desc;

Dashboards

The query is used in the dashboards: