Technical Tip: How to find FortiGate AMIs for different firmware versions across various AWS regions
| Description | This article describes how to find FortiGate AMIs in AWS using the CLI. |
| Scope | FortiGates in AWS. |
| Solution | AWS AMIs are regional. For the same FortiOS image, there will be an AMI in each region. Each AMI has its unique ID and each AMI ID can only be used for the region it is in.
When deploying FortiGate in AWS, finding the correct AMIs can be challenging, especially when using Terraform.
The most efficient way is to check using the CLI.
aws ec2 describe-images --filters "Name=description,Values=*FortiGate*7.4.*" --query 'Images[*].{Description:Description,ImageId:ImageId,Architecture:Architecture}'
The example above filters all FortiGate AMIs with firmware v7.4.* in the Asia Pacific (Sydney) region. |

