Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...



--region us-west-2 

Values=junos-vsrx3*

aws ec2 describe-images --filters Name=name,Values='junos-vsrx3*' --region us-west-2 --no-verify --color off


aws --region us-west-2 ec2 describe-images --filters Name=name,Values='junos-vsrx3*prod*' --query "Images[*].{ID:ImageId,Name:Name}" --no-verify --color off

on windows 10 command line use " instead of '

Code Block
titlecmd on windows 10
C:\Users\jkriker>aws --region us-west-2 ec2 describe-images --filters Name=name,Values='junos-vsrx3*prod*' --query "Images[*].{ID:ImageId,Name:Name}" --no-verify --color off

-------------------------------------------------------------------------------------------------------------------------------------
|                                                          DescribeImages                                                           |
+-----------------------+-----------------------------------------------------------------------------------------------------------+
|          ID           |                                                   Name                                                    |
+-----------------------+-----------------------------------------------------------------------------------------------------------+
|  ami-02a00f9e434a41d2a|  junos-vsrx3-x86-64-19.4R2.6-consec4--prod-deea68f3-6505-43f8-88cf-b4e9e99e2d89-ami-075abf49846b84133.4   |
|  ami-047df409d805388cd|  junos-vsrx3-x86-64-19.4R2.6-byol--prod-4d1495fd-4d1f-48d0-9ec6-b67794a58765-ami-0583e61816367e0f7.4      |
|  ami-09b8e620d94ff2813|  junos-vsrx3-x86-64-19.4R2.6-appsec4--prod-8987d154-c3e3-411e-8f38-aecdd80e529f-ami-0a85a57be17683cd3.4   |
+-----------------------+-----------------------------------------------------------------------------------------------------------+



Code Block
titlevSRX
collapsetrue
aws --region us-west-2 ec2 describe-images --filters Name=name,Values=junos-vsrx3* --query 'Images[*].{ID:ImageId,Name:Description}' --no-verify

C:\Program Files\Amazon\AWSCLI\.\botocore\vendored\requests\packages\urllib3\connectionpool.py:768: 
InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
-----------------------------------------------------------------
|                        DescribeImages                         |
+------------------------+--------------------------------------+
|           ID           |                Name                  |
+------------------------+--------------------------------------+
|  ami-002d4aca8535c20de |  junos-vsrx3-x86-64-18.4R1.8-appsec  |
|  ami-05800eb9de9e5bc35 |  junos-vsrx3-x86-64-18.4R1.8-consec  |
|  ami-0cf5905679d7747fd |  junos-vsrx3-x86-64-18.4R1.8         |
+------------------------+--------------------------------------+




--region us-west-2

Values=vmx-nested-18*


Code Block
titlevMX
collapsetrue
aws --region us-west-2 ec2 describe-images --filters Name=name,Values=vmx-nested-18* --query 'Images[*].{ID:ImageId,Name:Description}' --no-verify

C:\Program Files\Amazon\AWSCLI\.\botocore\vendored\requests\packages\urllib3\connectionpool.py:768: 
InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
----------------------------------------------------
|                  DescribeImages                  |
+---------------+----------------------------------+
|      ID       |              Name                |
+---------------+----------------------------------+
|  ami-12eaad6a |  vmx-nested-18.1R1.9-9-payg-ami  |
|  ami-8986fcf1 |  vmx-nested-18.1R1.9-9-ami       |
+---------------+----------------------------------+


--region us-west-2 ec2

--image-id=ami-005bdb005fb00e791


Code Block
titleby image-id
collapsetrue
aws --region us-west-2 ec2 describe-images --filters --image-id=ami-005bdb005fb00e791 --query 'Images[*].{ID:ImageId,Name:Description}' --no-verify

C:\Program Files\Amazon\AWSCLI\.\botocore\vendored\requests\packages\urllib3\connectionpool.py:768: InsecureRequestWarning: 
Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
----------------------------------------------------------------------------------
|                                 DescribeImages                                 |
+------+-------------------------------------------------------------------------+
|  ID  |  ami-005bdb005fb00e791                                                  |
|  Name|  Canonical, Ubuntu, 18.04 LTS, amd64 bionic image build on 2019-02-12   |
+------+-------------------------------------------------------------------------+




...