-
-
Save metral/4ba5cfe72fffe3c30dc0a57cbd08bd97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
$ aws ec2 describe-images --filters Name=description,Values=*linux*,*Linux* Name=name,Values=*amazon-eks-node* Name=manifest-location,Values=*amazon-eks-node-* Name=description,Values=*k8s*1.11* --owners 602401143452 | |
{ | |
"Images": [ | |
{ | |
"Architecture": "x86_64", | |
"CreationDate": "2019-02-19T00:52:50.000Z", | |
"ImageId": "ami-0484545fe7d3da96f", | |
"ImageLocation": "602401143452/amazon-eks-node-1.11-v20190220", | |
"ImageType": "machine", | |
"Public": true, | |
"OwnerId": "602401143452", | |
"State": "available", | |
"BlockDeviceMappings": [ | |
{ | |
"DeviceName": "/dev/xvda", | |
"Ebs": { | |
"DeleteOnTermination": true, | |
"SnapshotId": "snap-0cb42026970d3965e", | |
"VolumeSize": 20, | |
"VolumeType": "gp2", | |
"Encrypted": false | |
} | |
} | |
], | |
"Description": "EKS Kubernetes Worker AMI with AmazonLinux2 image (k8s: 1.11.5/2018-12-06/bin/linux/amd64, docker:18.06)", | |
"EnaSupport": true, | |
"Hypervisor": "xen", | |
"Name": "amazon-eks-node-1.11-v20190220", | |
"RootDeviceName": "/dev/xvda", | |
"RootDeviceType": "ebs", | |
"SriovNetSupport": "simple", | |
"VirtualizationType": "hvm" | |
}, | |
{ | |
"Architecture": "x86_64", | |
"CreationDate": "2019-03-28T03:00:03.000Z", | |
"ImageId": "ami-06640f41bbd6653bb", | |
"ImageLocation": "602401143452/amazon-eks-node-1.11-v20190327", | |
"ImageType": "machine", | |
"Public": true, | |
"OwnerId": "602401143452", | |
"State": "available", | |
"BlockDeviceMappings": [ | |
{ | |
"DeviceName": "/dev/xvda", | |
"Ebs": { | |
"DeleteOnTermination": true, | |
"SnapshotId": "snap-05c343137c93a011e", | |
"VolumeSize": 20, | |
"VolumeType": "gp2", | |
"Encrypted": false | |
} | |
} | |
], | |
"Description": "EKS Kubernetes Worker AMI with AmazonLinux2 image (k8s: 1.11.9, docker:18.06)", | |
"EnaSupport": true, | |
"Hypervisor": "xen", | |
"Name": "amazon-eks-node-1.11-v20190327", | |
"RootDeviceName": "/dev/xvda", | |
"RootDeviceType": "ebs", | |
"SriovNetSupport": "simple", | |
"VirtualizationType": "hvm" | |
}, | |
{ | |
"Architecture": "x86_64", | |
"CreationDate": "2019-02-10T05:18:46.000Z", | |
"ImageId": "ami-0b10ebfc82e446296", | |
"ImageLocation": "602401143452/amazon-eks-node-1.11-v20190211", | |
"ImageType": "machine", | |
"Public": true, | |
"OwnerId": "602401143452", | |
"State": "available", | |
"BlockDeviceMappings": [ | |
{ | |
"DeviceName": "/dev/xvda", | |
"Ebs": { | |
"DeleteOnTermination": true, | |
"SnapshotId": "snap-00ce7a9aa86cc1fc4", | |
"VolumeSize": 20, | |
"VolumeType": "gp2", | |
"Encrypted": false | |
} | |
} | |
], | |
"Description": "EKS Kubernetes Worker AMI with AmazonLinux2 image (k8s: 1.11.5/2018-12-06/bin/linux/amd64, docker:17.06)", | |
"EnaSupport": true, | |
"Hypervisor": "xen", | |
"Name": "amazon-eks-node-1.11-v20190211", | |
"RootDeviceName": "/dev/xvda", | |
"RootDeviceType": "ebs", | |
"SriovNetSupport": "simple", | |
"VirtualizationType": "hvm" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment