Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 2017 18:31:44 +0100
From:      Michiel van Baak <michiel@vanbaak.eu>
To:        freebsd-cloud@freebsd.org
Subject:   Re: AMI building AMI
Message-ID:  <20171227173144.vsdlovd3gz2w7w5g@freebsd02>
In-Reply-To: <085D225B-2E99-4540-B693-223087B14A27@rafal.net>
References:  <085D225B-2E99-4540-B693-223087B14A27@rafal.net>

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

--2z62ewwcjxeipjdb
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Dec 27, 2017 at 03:53:03PM +0000, Rafal Lukawiecki wrote:
> Is there a list of AWS AMI ids (and regions) containing Colin=E2=80=99s A=
MI builder AMI? The 2015 article http://www.daemonology.net/blog/2015-11-21=
-FreeBSD-AMI-builder-AMI.html <http://www.daemonology.net/blog/2015-11-21-F=
reeBSD-AMI-builder-AMI.html> mentions one in us-east-1 ami-28682f42. Are th=
ere more? Or a documented procedure on using RE tools to achieve the same?
>=20
> I am particularly interested in recompiling 11.1 release kernel, adding a=
 good few packages (to speed up instance launch time) and creating an AMI o=
ut of that. Of course, I can take the lazy route of building a normal AWS A=
MI, which will not be as =E2=80=9Cclean and unused=E2=80=9D as the one sugg=
ested in Colin=E2=80=99s article. But if there is a current way to do the c=
leaner thing, I would like to know, please.

Your best bet is to use the official FreeBSD AMI, do your changes, and
build an AMI out of that.
We do this with the help of ansible:
- boot official ami
- install ansible
- download ansible playbooks from S3 to /tmp
- run ansible
- clean /tmp
- build AMI
- ...
- PROFIT

--=20
Michiel van Baak
michiel@vanbaak.eu
GPG key: http://pgp.mit.edu/pks/lookup?op=3Dget&search=3D0x6FFC75A2679ED069

NB: I have a new GPG key. Old one revoked and revoked key updated on keyser=
vers.

--2z62ewwcjxeipjdb
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEO9oGFWGYJa7y6GXGb/x1omee0GkFAlpD2QAACgkQb/x1omee
0GluBAgAp/bIq2pYyFkGzO/LdUMnSmbNMcAHcp1pO+PpJJ9wKLLod+H4U2ph+JGC
T+Cngo4ACEnqd6bOZB7yYfiejeH3q1F4B7TzQag9LtSy9FrgZd+DlM5MKgJnksm6
5yCi5A74Ilp5jMN486h9bT8hQ7HGPaRgshzTj5aPLIDnNuPd1NT6tCrfLVTRZbop
Wn1habdFTUApZL3W925MyVazwY7qJZJQtT/xGAq/dUPJDHci30pLN9L5hMpgU//Z
2yktOZf9MAXzrqJOwcNr3YJmGvCuVpfBBxGBHvxkC7kl5FfNtT6kGXMVdx8gyFGR
fVxGy5+CeHWzi6VCcc+Lq409UTVMsQ==
=CLgC
-----END PGP SIGNATURE-----

--2z62ewwcjxeipjdb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171227173144.vsdlovd3gz2w7w5g>