This repository contains a laboratory to learn how we can use Packer to create a custom AMI in AWS. The Packer template used Ansible as provisioner. Once the new AMI is created, you can use terraform scripts to launch EC2 instances with this new AMI. Feel free to collaborate if you want to learn/improve this lab! :-)
- Packer - To create identical machine images for multiple platforms from a template. Download Packer
- Ansible - For Packer and Vagrant provisioning tasks. Ansible instalation link
- Terraform - Terraform installation
- Vagrant - To check and test Ansible roles on your local machine. Vagrant instalation guide
- KVM-libvirt - Local VM will be provisioner using KVM-libvirt. You will need to install Vagrant libvirt plugin too.
- AWS account and AWS CLI installed - We will use Amazon Web Service as public cloud provider. Use this guide to install AWS CLI and this one to know how to create a AWS Free Tier account.