Reputation: 83
Is there exists any way for finding ami-ids of specific version of Fedora?
For example, 6.3, 6.4 and so on?
Upvotes: 2
Views: 1017
Reputation: 52383
See: Finding a Linux AMI
It lists many ways to find Linux AMIs. To find an AMI using CLI:
Finding an AMI Using the AWS CLI
aws ec2 describe-images --owners 309956199498 --filters 'Name=name,Values=RHEL-7.5_HVM_GA*' 'Name=state,Values=available' --output json | jq -r '.Images | sort_by(.CreationDate) | last(.[]).ImageId'
Upvotes: 2