From nobody Mon Sep 02 21:35:25 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 4WyMVt13wvz5V697 for ; Mon, 02 Sep 2024 21:35:34 +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 4WyMVs4VbBz4QyX; Mon, 2 Sep 2024 21:35:33 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1725312923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OtNU1BUVUPBncg5WglsvzPNY5w13vgDgMvDhFdB9THE=; b=EKcPvTu7ac47zPr/M/RPvzss0lwmuUmHh1tvRVzUa4fKzSExkXrUAC/g2Bsrg4twVxBB9b DaMxk3y1KcdO7+Z3ERUkdFUgMUaHmjHjmHjTu69JHj9hRXoGHh0XUS+kwZtarEu4LtHy6S pq3U/YH9GSjqpaM/Mvx+7/spMyZAr9w= Received: from topanga ( [47.154.20.141]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id a047a6d3 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 2 Sep 2024 21:35:22 +0000 (UTC) Date: Mon, 2 Sep 2024 14:35:25 -0700 From: Pete Wright To: Colin Percival Cc: freebsd-cloud@freebsd.org Subject: Re: New FreeBSD/EC2 AMIs: "small" flavour Message-ID: References: <66e66b9b-084b-47e4-862e-98141c47a856@app.fastmail.com> <01000191afb2427e-8bb3eb6e-81f7-48a9-bc10-d7e4e8865dd2-000000@email.amazonses.com> <6d44f095-d137-456f-8194-e3430647810f@app.fastmail.com> <89fab9d3-1ace-4444-aafb-cbdd9a5b0f52@nomadlogic.org> <24b38eba-428b-4484-92fe-5e33927288c8@freebsd.org> 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 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <24b38eba-428b-4484-92fe-5e33927288c8@freebsd.org> 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:29802, ipnet:66.165.240.0/22, country:US] X-Rspamd-Queue-Id: 4WyMVs4VbBz4QyX On Mon, Sep 02, 2024 at 10:22:37AM UTC, Colin Percival wrote: > On 9/2/24 08:19, Pete Wright wrote: > > this seems like a good idea from my POV as an admin.  Although I think > > it may be helpful to keep the AWS CLI install on boot step in some > > use-cases.  My general workflow is to use packer to build a site > > specific AMI where I install our specific configs and run freebsd-update > > then disable it on subsequent boots.  My goal in those scenarios is to > > improve first-boot time for auto-scaling. > > > > When I do use "vanilla" AMI's its usually for a > > research/testing/debugging task so having the awscli get installed on > > firstboot would save me some hassle of having to do that by hand.  It's > > certainly not a deal breaker though, just my two bits. > > The "small" AMIs still have firstboot-pkgs installed, so you can launch the > image with a user-data file of > > >>/etc/rc.conf > firstboot_pkgs_list="devel/py-awscli" > > and it will install that package for you. I just figured that if people > wanted "small" then it made sense to change the default. > yep i understand and it makes sense. for my personal workflow having the awscli is a hard requirement, but as you mention installing it is trvial. -pete