...
c:\> aws configure
AWS Access Key ID [****************?????]:
AWS Secret Access Key [****************?????]:
Default region name [eu-west-2]: us-west-2
Default output format [text]: table
Filter the list of amiĀ
aws ec2 describe-images \
--owners 'aws-marketplace' \
--filters 'Name=product-code,Values=aw0evgkw8e5c1q413zgy5pjce' \
--query 'sort_by(Images, &CreationDate)[-1].[ImageId]' \
Filter the list of instances
aws ec2 describe-instances