Updating OS images in a cloud infrastructure is often a tedious and manual task. HashiCorp Packer makes this easier and leveraging CI/CD tools help us to build a strong centralized image pipeline.
In this blog post, I’ll demonstrate how to easily configure Packer to build OS images for Ubuntu Linux and Microsoft Windows Server and how to save these images in an image repository. To automate this build and deploy process, the Packer configuration will be stored in a SCM system, and builds will be automatically triggered using a CI pipeline.