Reader small image

You're reading from  HashiCorp Packer in Production

Product typeBook
Published inJul 2023
PublisherPackt
ISBN-139781803246857
Edition1st Edition
Right arrow
Author (1)
John Boero
John Boero
author image
John Boero

John Boero has 20 years of experience in the tech industry covering engineering, consulting, architecture, and pre-sales. He comes from Chicago, IL in the USA but currently lives in London, UK. He has worked for Red Hat, Puppet, and HashiCorp and remains active in the open source community. All commissions for this book will be donated to the Raspberry Pi Foundation non-profit to encourage coding and computing skills for kids.
Read more about John Boero

Right arrow

CI testing against multiple OS releases

In this chapter, we discussed additional builder types for cloud and VMware, and we added a single example of each to our sample code. With a single-build template crossing multiple sources with multiple provisioners, we can build a single image across multiple clouds with ease. If we need to test multiple base images or OSs against our application, that is a different problem to solve. You might think of image complexity as a four-dimensional problem, described like this:

C = (Base OSs) * (Clouds) * (Provisioners) * (Architectures)

We have just built images for a single OS (RHEL 9) on multiple clouds (AWS, Azure, and GCP). We also assumed that each build would be running Intel’s x86_64 architecture. If AWS Graviton instances go on sale with savings of 40%, your business can benefit from having ARM images ready to switch. If AliCloud suddenly releases RISC-V instances with savings of 50%, then the business could save even more by...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
HashiCorp Packer in Production
Published in: Jul 2023Publisher: PacktISBN-13: 9781803246857

Author (1)

author image
John Boero

John Boero has 20 years of experience in the tech industry covering engineering, consulting, architecture, and pre-sales. He comes from Chicago, IL in the USA but currently lives in London, UK. He has worked for Red Hat, Puppet, and HashiCorp and remains active in the open source community. All commissions for this book will be donated to the Raspberry Pi Foundation non-profit to encourage coding and computing skills for kids.
Read more about John Boero