[CentOS-devel] CentOS 8 on AWS

Thu Jun 11 14:03:07 UTC 2020
Fabian Arrotin <arrfab at centos.org>

On 11/06/2020 15:30, Leon Fauster via CentOS-devel wrote:
> Am 10.06.20 um 22:49 schrieb Fabian Arrotin:
> Can I use this ks file to compose an new image with lorax?
> Or are some other tools missing / unseen by me to build a working image?

You can use virt-install, or lorax or any other tool (but you'll
probably need some url / repo lines added) to build an image from this
https://git.centos.org/centos/kickstarts/blob/master/f/CentOS-8-EC2.ks file

The authoritative builds on koji/mbox (like for example this one :
https://koji.mbox.centos.org/koji/buildinfo?buildID=11432) is using
pungi and so these configs (also public) :

> I would like to start right away booting some instances for testing
> proposes.
> BTW, in the meanwhile I was already elaborating the workflow of
> importing images into my aws account. thereby i noticed that
> ec2 import-snapshot does not support the qcow2 disk format.
> The next supported format would be "raw" ... still elaborating
> the workflow ...

Yeah, by default we have .qcow2 images as artifacts from the
buildsystem, but this morning I tested our 8.2.2004 images (from above
koji build link I pasted above) and they worked.
We just have to convert to .raw format with qemu-img convert first,
before uploading to S3, creating AMI from imported "snapshot"

I tested both x86_64 and aarch64 images and they booted fine (fwiw)

Now to see how to share these AMIs at release/GA time, etc ... :-)

Fabian Arrotin
The CentOS Project | https://www.centos.org
gpg key: 17F3B7A1 | twitter: @arrfab

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20200611/16ef3129/attachment-0007.sig>