As we did in Chapter 3, Reach for the Cloud, we will now be preparing an AMI for the worker nodes in our cluster. However, we will improve this process by automating it with Packer. Packer is a tool that makes it simple to build machine images on AWS (and other platforms).
Preparing node images
Installing Packer
Just like Terraform, Packer is distributed as a single binary that just needs to be copied to a location on your path. You can find detailed installation instructions on the Packer website at https://www.packer.io/intro/getting-started/install.html.
Once you have installed Packer, you can run packer version to check that you have correctly copied it into to your path.