• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

AWS List Machine Images

February 27, 2021

Here’s how to list AWS AMI (machine images) owned by yourself.

aws ec2 describe-images \
--query "Images[*].[Name,PlatformDetails]" \
--owners self \
--profile default \
--region us-east-1 \
--output text

aws ec2 describe-images \ --query "Images[*].[Name,PlatformDetails]" \ --owners self \ --profile default \ --region us-east-1 \ --output text

Output:

icecast-0.1     Linux/UNIX
jekyll-0.3      Linux/UNIX
docker-0.1      Linux/UNIX

icecast-0.1 Linux/UNIX jekyll-0.3 Linux/UNIX docker-0.1 Linux/UNIX

Specifying owners as self only display images owned by you.

Filed Under: Cloud Tagged With: aws, list, machine-image

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023