[SoftNAS KB]: Enumerating available AWS Marketplace AMIs for use in JSON scripts

Symptoms

For those looking to enumerate the available options for SoftNAS AMIs on AWS Marketplace, in order to automate deployment via your own scripts, a command can be run in your command shell to do so.

Purpose

Providing the command to access a list of available AMI and their IDs.

Resolution

In your host system's command line interface, run the following command to obtain a list of the available AWS marketplace AMIs and their associated IDs:

aws --region us-east-1 ec2 describe-images --owners aws-marketplace --filters Name=name,Values="*SoftNAS*"

This command will return a list of the available SoftNAS AMIs.