Get the VM-Series Firewall Amazon Machine Image (AMI) ID

If you want to automate the process of deploying the VM-Series firewall, learn how to get the AMI ID for the VM-Series firewall.
Use the following instructions to find the AMI ID for the VM-Series firewall that matches the PAN-OS version, license type,  and AWS region in which you want to launch the VM-Series firewall.
  1. Install AWS CLI on the client that you are using to retrieve the AMI ID, and login with your AWS credentials.
    Refer to the AWS documentation for instructions on installing the CLI.
  2. Find the AMI-ID with the following CLI command.
    aws ec2 describe-images --filters "Name=product-code,Values=
    <license-type-value>
    " Name=name,Values=PA-VM-AWS*
    <PAN-OS-version>
    *  --region
    <region>
    --output json
     You need to get replace the value in the angle brackets <> with the relevant information as shown below:
    • Use the VM-Series product code for each license type. The values are:
      • Bundle 1—
        6kxdw3bbmdeda3o6i1ggqt4km
      • Bundle 2—
        806j2of0qy5osgjjixq9gqc6g
      • BYOL—
        6njl1pau431dv1qxipg63mvah
    • Use the PAN-OS version—7.0, 8.0, 8.1, 9.0. If there are multiple feature releases within a PAN-OS version all the AMI-IDs are listed for you. For example,  in 8.0.x, you will view a listing of the AMI IDs for PAN-OS versions 8.0, 8.0.3, 8.0.8, 8.0.9, and 8.0.13 and you can use the AMI-ID for the PAN-OS version you need.
    For example: To find the AMI-ID for the VM-Series Bundle 1 for PAN-OS 9.0 in US California region, the CLI command is:
    aws ec2 describe-images --filters "Name=product-code,Values=6kxdw3bbmdeda3o6i1ggqt4km" Name=name,Values=PA-VM-AWS*9.0*  --region us-west-1 --output json
    The output is:
    "Images": [                                {                                               "Architecture": "x86_64",                                              "CreationDate": "2019-02-26T14:17:21.000Z",                                               "ImageId": "ami-045f8b6e430535f0d",                                                "ImageLocation": "aws-marketplace/PA-VM-AWS-9.0.0-6f2a9521-7dc3-46cc-8891-8c4d02d29666-ami-054da040447f62b2c

Recommended For You