Difference between revisions of "Aws ec2 describe-images"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
− | [[aws ec2 describe-images --filters]] "Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-bionic*" --query "sort_by(Images, &CreationDate)[-1].[Name, ImageId]" --owners 099720109477 | + | [[aws ec2 describe-images --filters]] "Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-[[bionic]]*" --query "sort_by(Images, &CreationDate)[-1].[Name, ImageId]" --owners 099720109477 |
aws ec2 describe-images | grep [[ImageId]] | wc -l | aws ec2 describe-images | grep [[ImageId]] | wc -l |
Revision as of 13:35, 23 June 2023
aws ec2 describe-images
(awscli)aws ec2 describe-images --owners self
aws ec2 describe-images --owners amazon
aws ec2 describe-images --owners ubuntu
aws ec2 describe-images --owners 099720109477
(Canonical)aws ec2 describe-images --owners self amazon
aws ec2 describe-images --image-ids ami-2234234234234
- aws ec2 describe-images output
aws ec2 describe-images --filters "Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-bionic*" --query "sort_by(Images, &CreationDate)[-1].[Name, ImageId]" --owners 099720109477
aws ec2 describe-images | grep ImageId | wc -l 62215
aws ec2 describe-images | grep "Amazon Linux 2023 AMI" | wc -l 20
Related terms
See also
Advertising: