turbot/aws_thrifty

Control: ECS cluster container instances without graviton processor should be reviewed

Description

With graviton processor (arm64 - 64-bit ARM architecture), you can save money in two ways. First, your functions run more efficiently due to the Graviton architecture. Second, you pay less for the time that they run. In fact, Lambda functions powered by Graviton are designed to deliver up to 19 percent better performance at 20 percent lower cost.

Usage

Run the control in your terminal:

powerpipe control run aws_thrifty.control.ecs_cluster_container_instance_with_graviton

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_thrifty.control.ecs_cluster_container_instance_with_graviton --share

Steampipe Tables

SQL

select
c.arn as resource,
case
when i.platform = 'windows' then 'skip'
when i.architecture = 'arm64' then 'ok'
else 'alarm'
end as status,
case
when i.platform = 'windows' then i.title || ' is windows type machine.'
when i.architecture = 'arm64' then i.title || ' is using Graviton processor.'
else i.title || ' is not using Graviton processor.'
end as reason
, c.region, c.account_id
from
aws_ecs_container_instance as c
left join aws_ec2_instance as i on c.ec2_instance_id = i.instance_id;

Tags