How to get the ami number of the OpenVPN Access Server distributions in the marketplace?
For launching an EC2 instance with OpenVPN Access Server I must provide an "ami".
To avoid hardcoding that value in the template, I could just define a parameter... but I was wondering if there is a catalog I could rely on to use for a parameter like that, so instead of saying: ami-xxxxx, I could say, varsion 2.5 licencse: 5 machines.
Example, Ubuntu:
https://cloud-images.ubuntu.com/locator/
You see, from the Launching Instance Wizard page, I can't get the ami information.
And if I do a search from the CLI[1] or the EC2 amis searcher[2], I get the amis, in bundles of 8 amis. I suppose it is one per licence plan, but there is no way to distinguish them with the information provided.
So, repeating the question:
How to get the ami number of the OpenVPN Access Server distributions in the marketplace?
[1]
aws --region=ca-central-1 ec2 describe-images --owner=aws-marketplace --filters 'Name=name,Values=OpenVPN Access Server 2.5.0*'
[2]
https://ca-central-1.console.aws.amazon.com/ec2/v2/home?region=ca-central-1#Images:visibility=public-images;productCode=marketplace;search=openvpn;sort=name