Initializing Packer
Explore how to initialize Packer on a Linux environment to build immutable infrastructure images for AWS. Learn to set up a Linux VM, install Packer, configure necessary directories and SSH keys, and prepare your system for building custom Ubuntu AMIs securely and efficiently.
We'll cover the following...
When running Packer, we recommend running it on Linux, both for cloud images and Docker images. Windows is a special niche for cloud computing, and Microsoft provides its own sets of tools for handling Windows images. We don't recommend using a Mac for running these, as the move to Apple silicon and the interaction with multiple tools with varying support can lead to a long debug time. While macOS is POSIX-compliant, it still isn't Linux, the main target of these tools.
User setup
Getting an AWS account set up with a Linux VM and setting up user accounts is beyond what we can cover in the course. See the AWS documentation for ...