miércoles, 16 de noviembre de 2016

Getting AWS instances using certain image-id with CLI


  1. Create a file filters.json
  2. $ aws ec2 describe-instances --filters file://filters.json
The filters.json file looks like this:


[
  {
    "Name": "image-id",
    "Values": ["ami-dc6aa9b1"]
  }
]
Publicar un comentario en la entrada