Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2024 12:35:52 -0700
From:      Colin Percival <cperciva@freebsd.org>
To:        Pete Wright <pete@nomadlogic.org>, freebsd-cloud@FreeBSD.org
Subject:   Re: AWS Parameter Store AMIs
Message-ID:  <ee89d480-ce31-4a12-a12c-25bda09f5bce@freebsd.org>
In-Reply-To: <58184e60-c9e7-492b-b3e1-942da8e567c8@nomadlogic.org>
References:  <58184e60-c9e7-492b-b3e1-942da8e567c8@nomadlogic.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/12/24 11:43, Pete Wright wrote:
> I'd like to say thanks for putting the AMI's for recent releases in the aws 
> parameter store, this certainly makes it easier for automation purposes.

Ooh, someone is actually using these?  Awesome!  Good to know it's not
just me. :-)

BTW depending on the nature of your automation you might also want to
subscribe to SNS notifications of new AMIs:
	arn:aws:sns:us-east-1:782442783595:FreeBSDAMI

> I have one request though - in the release notes could we update the prose 
> stating you can get the AMI's from the parameter store to include a hint about 
> how to do it using the CLI?

Good idea.

> Perhaps it could be updated to something similar to:
> 
> "FreeBSD/aarch64 EC2 AMI IDs can be retrieved from the Systems Manager 
> Parameter Store via the AWS CLI by running the following command:
> 
> 'aws --region $REGION ssm get-parameter --name $KEY'
> 
> where $REGION is your desired AWS region, and $KEY is one of the following:"

Does this look good?

> FreeBSD/amd64 EC2 AMI IDs can be retrieved from the Systems Manager
> Parameter Store via the AWS CLI using the command
> 
>     % aws --region $REGION ssm get-parameter --name $KEY
> 
> where $REGION is the desired region and $KEY is one of the following keys:
> 
> 	/aws/service/freebsd/amd64/base/ufs/15.0/CURRENT
> 	/aws/service/freebsd/amd64/base/zfs/15.0/CURRENT
> 	/aws/service/freebsd/amd64/cloud-init/ufs/15.0/CURRENT
> 	/aws/service/freebsd/amd64/cloud-init/zfs/15.0/CURRENT
> 
> FreeBSD/aarch64 EC2 AMI IDs can be retrieved using the keys:
> 
> 	/aws/service/freebsd/arm64/base/ufs/15.0/CURRENT
> 	/aws/service/freebsd/arm64/base/zfs/15.0/CURRENT
> 	/aws/service/freebsd/arm64/cloud-init/ufs/15.0/CURRENT
> 	/aws/service/freebsd/arm64/cloud-init/zfs/15.0/CURRENT

I can make this change for next week's snapshot announcements.

-- 
Colin Percival
FreeBSD Release Engineering Lead & EC2 platform maintainer
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ee89d480-ce31-4a12-a12c-25bda09f5bce>