25 articles AWS

Finding AMI ids for CentOS AWS command line

aws –region ap-southeast-2 ec2 describe-images –owners aws-marketplace –filters Name=product-code,Values=aw0evgkw8e5c1q413zgy5pjcecode   { “Images”: [ { “BlockDeviceMappings”: [ { “DeviceName”: “/dev/sda1”, “Ebs”: { “DeleteOnTermination”: false, “VolumeType”: “standard”, “Encrypted”: false, “VolumeSize”: 8, “SnapshotId”: “snap-0635e3e9f403b9dc7” } } ], “ImageLocation”: “aws-marketplace/CentOS Linux 7 x86_64 HVM EBS 1704_01-b7ee8a69-ee97-4a49-9e68-afaee216db2e-ami-d52f5bc3.4”, “Description”: “CentOS Linux 7 x86_64 HVM EBS 1704_01”, “EnaSupport”: false, “State”: “available”, “Hypervisor”:…