From nobody Fri Jul 12 18:43:46 2024 X-Original-To: freebsd-cloud@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WLL8m4WHZz5QWKK for ; Fri, 12 Jul 2024 18:43:52 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WLL8l6wR2z4ml6 for ; Fri, 12 Jul 2024 18:43:51 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nomadlogic.org header.s=04242021 header.b=iMPzE6k3; dmarc=pass (policy=quarantine) header.from=nomadlogic.org; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 66.165.241.226 as permitted sender) smtp.mailfrom=pete@nomadlogic.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1720809820; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pDco/oZXVnMGiwA29BilM4PJf+iYN2/CAUW0ZPGE4Go=; b=iMPzE6k3KlJVh9eOZOfF9/vi9AxD2vPh5Uyj3kBpBEULm/h0wBV4GqrdWIfp28fpHw3kwm GvMapt2jDqzV8bvExtzNccOT9O//HjpOPuic1PdL5u2q0r/P9jOQnPcZtkXQAAvGQk09Ho 1GV99c6QrtiRgX1V52uOC6vBAZxoUaU= Received: from [192.168.1.160] ( [47.154.31.160]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 4ab49b12 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Fri, 12 Jul 2024 18:43:40 +0000 (UTC) Message-ID: <58184e60-c9e7-492b-b3e1-942da8e567c8@nomadlogic.org> Date: Fri, 12 Jul 2024 11:43:46 -0700 List-Id: FreeBSD on cloud platforms (EC2, GCE, Azure, etc.) List-Archive: https://lists.freebsd.org/archives/freebsd-cloud List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-cloud@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: freebsd-cloud@FreeBSD.org From: Pete Wright Subject: AWS Parameter Store AMIs Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.989]; DMARC_POLICY_ALLOW(-0.50)[nomadlogic.org,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[nomadlogic.org:s=04242021]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-cloud@FreeBSD.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-cloud@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[nomadlogic.org:+] X-Rspamd-Queue-Id: 4WLL8l6wR2z4ml6 Hey there everyone, 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.  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? I often try to use the web console to get the right AMI but find its super buggy and doesn't reliably show the full results, so then I have to remember the right syntax for the aws cli. 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:" -- Pete Wright pete@nomadlogic.org From nobody Fri Jul 12 19:35:52 2024 X-Original-To: freebsd-cloud@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WLMJp3CQnz5QcRW for ; Fri, 12 Jul 2024 19:35:54 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from mail.tarsnap.com (mail.tarsnap.com [54.86.246.204]) by mx1.freebsd.org (Postfix) with SMTP id 4WLMJp1Qd1z4st4 for ; Fri, 12 Jul 2024 19:35:54 +0000 (UTC) (envelope-from cperciva@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: (qmail 79312 invoked from network); 12 Jul 2024 19:35:53 -0000 Received: from unknown (HELO framework.daemonology.net) (127.0.0.1) by mail.tarsnap.com with SMTP; 12 Jul 2024 19:35:53 -0000 Received: (qmail 38927 invoked from network); 12 Jul 2024 19:35:52 -0000 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; 12 Jul 2024 19:35:52 -0000 Message-ID: Date: Fri, 12 Jul 2024 12:35:52 -0700 List-Id: FreeBSD on cloud platforms (EC2, GCE, Azure, etc.) List-Archive: https://lists.freebsd.org/archives/freebsd-cloud List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-cloud@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Colin Percival Subject: Re: AWS Parameter Store AMIs To: Pete Wright , freebsd-cloud@FreeBSD.org References: <58184e60-c9e7-492b-b3e1-942da8e567c8@nomadlogic.org> Content-Language: en-US Autocrypt: addr=cperciva@freebsd.org; keydata= xsFNBGWMSrYBEACdWRqDn3B3SKO7IG0/fGHYtfs26f3Q5QeAcasy1fQLniwGQWn5rlILhbCD K/jdNoDm5Zxq20eqyffoDNObCjnHgg4tGANdi+RmDy+7CDpE789H8dss9y7Pt5DlGGAXQQnt hxush3EYS/Ctprd9UUL/lzOOLOU1aNtzB84tNrJBtcJmL7OYHfyTSNFxvedqJrrasejIQOLI t/DQ89BPzz+vsKHz7FJPXh3fsVkzLA00DJYcfkgxyABfJNA7U6yMwd4DVSdx/SsvfIDMVXnu UXCXswo106WPZbYGlZPpq0wW6iibtTerJix+8AeuwXvl9O1p8yESK4ErkIxCnmghTSz+pdzj z/6xBRkdDM9VdZ0r+CzsaNXMpDOzFuKyjaiYBdgCLljbDnXIHFcqXenrZ7Xwkm09g/M4uVSh pIUG2RYa6tsHSQoGCp3f2RZv1znfViKQFbbL83QjtPA20AhseZSYbHp1FPhXyy9J0wkGL16L e99g6gdGeIRE82BZjBjKGDkoyDPq+oDRSFl8NtzmIKy+cfz00nViqcTF4bREXEawFGhlpO0X O9q8mijI9iFB6zaPBiSdJGBL5ML5qLTNCl8Zlf4m1TBvmRTqF/lzMHVXHidDoUhpSh/y3AFZ 1KrYc27ztJQywDJPJPWPbtY8YhFLFs377gfP8WldsZjzp8nvoQARAQABzSVDb2xpbiBQZXJj aXZhbCA8Y3BlcmNpdmFARnJlZUJTRC5vcmc+wsGRBBMBCAA7FiEEglY7hNBiDtwN+4ZBOJfy 4i5lrT8FAmWMSrYCGwMICwkNCAwHCwMFFQoJCAsFFgMCAQACHgUCF4AACgkQOJfy4i5lrT++ ig/9GZKdN2fHSyrANKZX38ivd7IX2wAYouqH9DrQM94W8IciaDLmarN4Pl9mY+aucMwQUSyp uNtKOJwKqhVVaalF9Zw0sRMH4CJuvT7vKCtZ3q1Okb7soRvF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9K9MGB5x0De5TerIrFiaw3/mQC9nGeO9dtE7wvDJetWeoTq 4BEaCzpufNqbkpOaTQILr4V6Gp7M6v97g83TVAwZntz/q8ptwuKQPZ2JaSFLZn7oWUpYXA5s +SIODFHLn6iMoYpBQskHQjnj4lEPJadl4qj+ZKA89iDAKsniyoFXsbJe2CPbMS1yzBxKZq6K D/jpt7BOnuHr/JrXABEBAAHCwXYEGAEIACAWIQSCVjuE0GIO3A37hkE4l/LiLmWtPwUCZYxK tgIbDAAKCRA4l/LiLmWtP3jmEACQrh9gWe8F1Tkw3m6VoHKwLc5he4tX3WpQa//soPO6iGG3 S3WPruQ46NrAaAojoOcKI9UONDO5rxG0ZTX53S+lu2EO47jbcLwOCjaEpjKpDRt9ZXBQE8Xl mtBE9Bp3W9gpjB1nE3KNM1mJYgsK0QdRpwwfh4pVgGpOj8j23I6MCK+v99zEBnpgCn2GX8W/ kctRXHqWwndHysOJtRP/zrl7dDaABF1f9efUl0LL3TD3GJ9VDz+DNOin/uK2a1hiJo8QzTRk PpfUQ2ebzDsrd1i/pOWkMSkdH+rEu4AGrXWtaBwrMyrGkL6Icb6yO+P9/z0W2wlgBf3P1YRt JPgQt/Dj3yvA/UnaV/QmuVQPjl13o24UnJGsZM8XGnNdfWBKkC1Q6VXC4QT+dyBHYH9MuE9d 6oGl8pFM1+cTfEfbM62/rRoPkF1yHMsI/903VxEvuUIKfhEZAVLFyHldooNxuchntHQP9y8J 8Ou9bWYQP7MnEn+kwSwrZkjurfPkan+xQvp6dDYnj3V0GwA5pprBMaB928VIDVOv+1PNQI3t Cvk5VPv/skq+TJRMHW7bFSt8PRa91cUf1FOLIz9APDiJOzXkwxUEHGV3zPSaUhs1JYjyBeGT wDAvtLUdjOnRhEUOwlnIrztmvyciutjJoVzKEEjj5WXnHk9L9kQ1bpAjkjTONw== In-Reply-To: <58184e60-c9e7-492b-b3e1-942da8e567c8@nomadlogic.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:14618, ipnet:54.86.0.0/16, country:US] X-Rspamd-Queue-Id: 4WLMJp1Qd1z4st4 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 From nobody Fri Jul 12 20:26:06 2024 X-Original-To: freebsd-cloud@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WLNQt2cPZz5QhqP for ; Fri, 12 Jul 2024 20:26:14 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WLNQr6Mymz3xcH for ; Fri, 12 Jul 2024 20:26:12 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nomadlogic.org header.s=04242021 header.b=gSkihkg2; dmarc=pass (policy=quarantine) header.from=nomadlogic.org; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 66.165.241.226 as permitted sender) smtp.mailfrom=pete@nomadlogic.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1720815960; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8zBrLDJIMzNa8sEonuP4mu5f7AGV1rUgDBLq47ELAgw=; b=gSkihkg2t8UiLjy6FLYrnqQUsv0hO4/IidfwFEi12Fj9o77xZI/uy52uRJCAyj/E+86WKX DzSgssvafV8ZrM+HwgL1nkkJpGeMltOuZOXQFwseqbPO2VortF02WHQ9+PK4mNWLlIVSTs mjuHsob6WeQX5CPqypqkONg0DrGbaeA= Received: from [192.168.1.160] ( [47.154.31.160]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 39b7f338 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 12 Jul 2024 20:26:00 +0000 (UTC) Message-ID: <5a28f924-b98a-40ad-8fde-5c03f4501fec@nomadlogic.org> Date: Fri, 12 Jul 2024 13:26:06 -0700 List-Id: FreeBSD on cloud platforms (EC2, GCE, Azure, etc.) List-Archive: https://lists.freebsd.org/archives/freebsd-cloud List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-cloud@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: AWS Parameter Store AMIs To: Colin Percival , freebsd-cloud@FreeBSD.org References: <58184e60-c9e7-492b-b3e1-942da8e567c8@nomadlogic.org> <01000190a86d2abe-885a312e-90b5-4e9d-97f5-4cac6ca4a955-000000@email.amazonses.com> Content-Language: en-US From: Pete Wright In-Reply-To: <01000190a86d2abe-885a312e-90b5-4e9d-97f5-4cac6ca4a955-000000@email.amazonses.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.96 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.970]; DMARC_POLICY_ALLOW(-0.50)[nomadlogic.org,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[nomadlogic.org:s=04242021]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US]; RCVD_TLS_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-cloud@FreeBSD.org]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[nomadlogic.org:+] X-Rspamd-Queue-Id: 4WLNQr6Mymz3xcH On 7/12/24 12:30, Colin Percival wrote: > 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 oh nice one, thanks! > 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. awesome looks good on my end, thanks so much! -pete -- Pete Wright pete@nomadlogic.org