turbot/aws_thrifty

Control: EC2 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.ec2_instance_with_graviton

Snapshot and share results via Turbot Pipes:

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

Steampipe Tables

SQL

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

Tags