Difference between revisions of "Aws ec2 describe-images"

From wikieduonline
Jump to navigation Jump to search
Line 25: Line 25:
 
  aws ec2 describe-images | grep "[[Amazon Linux 2023 AMI]]" | wc -l
 
  aws ec2 describe-images | grep "[[Amazon Linux 2023 AMI]]" | wc -l
 
  20
 
  20
 +
 +
 +
aws ec2 describe-images \
 +
    --image-id ami-5256b825 \
 +
    --query "Images[*].Description[]" \
 +
    --output text \
 +
    --region eu-west-1
  
 
== Related terms ==
 
== Related terms ==

Revision as of 08:31, 25 September 2023


aws ec2 describe-images --filters "Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-*23.04*amd64*" --query "sort_by(Images, &CreationDate)[-1].[Name, ImageId]" --owners 099720109477


aws ec2 describe-images --filters "Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-lunar*" --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
62215


aws ec2 describe-images | grep "Amazon Linux 2023 AMI" | wc -l
20


aws ec2 describe-images \
    --image-id ami-5256b825 \
    --query "Images[*].Description[]" \
    --output text \
    --region eu-west-1

Related terms

See also

Advertising: