Build your own AWS and Azure Packer images from scratch within minutes.
Most cloud providers like AWS or Azure provide prebuilt images for different Linux distributions through a marketplace. The quality and usability differs from image to image. Therefore it makes sense to build your own images to provide VMs tailored to your use case. In addition it gives you full control how and when the images are updated.
This repository makes use of Packer and Ansible to build custom images for a few Linux distributions. These images should fullfil the following requirements:
- Minimal installation
- Tailored to the corresponding cloud
- Support for either AWS or Azure
After building the images upload them to the specific cloud and start spawn VMs from them.
Ensure the following requirements are installed:
- Ansible
- Packer
- QEMU / KVM
- azure_linux_image Ansible role
Follow the steps below to build the images:
$ ansible-galaxy install -r requirements.yml
$ packer-io build centos7.5-lvm-qemu.json
Pick any of the available JSON files to build an image for the required distribution.
Contributions are more than welcome! Please feel free to open new issues or pull requests.
GNU GENERAL PUBLIC LICENSE Version 3
See the LICENSE file.