How to Build an AWS EC2 RHEL 8 AMI using Packer

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