Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2026 17:47:44 -0800
From:      Pete Wright <pete@nomadlogic.org>
To:        Colin Percival <cperciva@freebsd.org>
Cc:        "freebsd-cloud@freebsd.org" <freebsd-cloud@freebsd.org>, FreeBSD Release Engineering Team <re@FreeBSD.org>
Subject:   Re: RFC: EC2 "pre-patched" AMIs
Message-ID:  <f4699226-c546-4ab8-9d5a-5f2eddbbd47a@nomadlogic.org>
In-Reply-To: <8372af52-7d99-4e55-819a-79b48aa2722f@freebsd.org>
References:  <2b292b81-1912-4914-a4f2-cf3afc5461a3@freebsd.org> <61d82ff3-c5b1-45d0-ac55-d5bb10a30498@nomadlogic.org> <3fb002f8-55c0-4e60-9391-3ee9c8dd207e@freebsd.org> <aXAdNudYV32_NW2Z@topanga> <8372af52-7d99-4e55-819a-79b48aa2722f@freebsd.org>

index | next in thread | previous in thread | raw e-mail



On 1/20/26 16:59, Colin Percival wrote:
> On 1/20/26 16:28, Pete Wright wrote:
>> On Mon, Jan 19, 2026 at 11:16:02AM -0800, Colin Percival wrote:
>>>> I am not a fan of how AWS implemented SSM, and the tooling is pretty
>>>> awkward as well imho.  it would be super handy to have a page listing
>>>> all of the AMI's available in an easy to parse method.
>>>
>>> Good idea.  Which would be more useful, a single large page listing 
>>> lots of
>>> AMIs, or a search form?
>>>
>> i personally like the way that Alma linux did it in their wiki.  
>> having a table with the AMI's listed is easier for me, but either 
>> would be sweet.  i may take a stab at automating this on my end if i 
>> end up with any cycles one of these days.
> 
> Hmm, Alma Linux has far fewer images than us... for each release, they have
> an amd64 image and an arm64 image, while we have 16 (ufs vs zfs filesystem,
> and "base", "small", "cloud-init" and "builder" flavours).  That's 480 AMIs
> we provide for each release, or possibly more if Amazon added more regions
> while I wasn't paying attention.
> 
> So it might make for a very large table, but it's certainly doable.  I 
> don't
> think a wiki is a good place for this though, just from the perspective of
> wanting to make sure that nobody tampers with the list of AMIs.
> 

oh right that's a great point, in light of that a wiki page or webpage 
even wouldn't be very helpful.  i guess one could create a csv or JSON 
document for easy parsing...but at the end of the day it's probably 
better to create a wrapper around the appropriate AWS command, or to 
just memorize the incantation.

i don't know if its just me but this syntax has always felt awkward 
despite its power:

aws --region us-west-2 ssm get-parameters-by-path --path 
/aws/service/freebsd/amd64/base/ufs/15.0/

or

aws --region us-west-2 ssm get-parameters --name 
/aws/service/freebsd/amd64/base/ufs/15.0/RELEASE --query 
'Parameters[].Value'


i will say though after playing with this some more your suggested 
changes definitely make sense to me.

-pete

-- 
Pete Wright
pete@nomadlogic.org



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f4699226-c546-4ab8-9d5a-5f2eddbbd47a>