Summary
This section taught us the basics of using Packer to build a machine image, using Amazon AWS as the target. We have covered the most important plugins Packer offers to customize an AMI. We then built a custom image that installed multiple packages with the apt
tool, downloaded and installed other tools, set up directories and users, and finally, set up a system agent to run with systemd
.
We have covered how to use the Goss tool to validate our images and how to integrate Goss into Packer using a plugin developed at Yale.
Finally, we created our own plugins to extend the capabilities of Packer.
Quiz
Get hands-on with 1400+ tech skills courses.