Run aec ami -h
for help:
usage: aec ami [-h] {delete,describe,tags,share} ...
optional arguments:
-h, --help show this help message and exit
subcommands:
{delete,describe,tags,share}
delete Deregister an AMI and delete its snapshot.
describe List AMIs.
tags List AMI images with their tags.
share Share an AMI with another account.
List images owned by accounts specified in the config file:
aec ami describe
Name ImageId CreationDate RootDeviceName Size
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-20170727 ami-1e749f67 2024-01-24T10:50:11.000Z /dev/sda1 15
ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20170721 ami-785db401 2024-01-24T10:50:11.000Z /dev/sda1 15
List image by id
aec ami describe ami-025b9fd66d61d093a
List Amazon Deep Learning images:
aec ami describe --owner 898082745236
List ubuntu focal images owned by Canonical:
aec ami describe --owner 099720109477 -q ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64
List tags for image
aec ami tags ami-1234567890abcef12
ImageId Name Tags
────────────────────────────────────────────────────────────────────────────────────
ami-1234567890abcef12 Best Awesome Ubuntu Team=Engineering, Source AMI=ami-12345