Skip to content

adfinis/packer-cloud-images

Repository files navigation

Packer Cloud Images

Travis License

Build your own AWS and Azure Packer images from scratch within minutes.

Features

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.

Requirements

Ensure the following requirements are installed:

Installation

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

Contributions are more than welcome! Please feel free to open new issues or pull requests.

License

GNU GENERAL PUBLIC LICENSE Version 3

See the LICENSE file.

Releases

No releases published

Packages

No packages published