How to Build an AWS EC2 RHEL 8 AMI using Packer

Guillermo Musumeci
6 min readMar 27, 2021

--

Packer is an open-source tool used to create virtual machine templates from a .json file.

This story will create an Amazon Machine Images (AMI) for Red Hat Enterprise Linux 8 (RHEL8) using Packer. We can use this AMI to deploy our custom AWS EC2 instances.

1. Prerequisites

--

--

Guillermo Musumeci

Certified AWS, Azure & GCP Architect | HashiCorp Ambassador | Terraform SME | KopiCloud Founder | ex-AWS | Entrepreneur | Book Author | Husband & Dad of ✌