Project Overview
This project tasked me to do the following:
- Create a policy that ensures all indexed resources are tagged
- Create a reusable Terraform module and Packer template for deploying a custom web server image
- Use Packer to deploy the VM image and use Terraform to write the infrastructure configuration which uses this image to create a set of load balanced web servers
Project Steps:
- First step was to create a policy that ensures all indexed resources are tagged and denies deployment if they do not have tags. This helps with organization, tracking, and logging for troubleshooting.
- Next, create a Packer template
server.json
to support application deployment that different organizations can take of advantage of to deploy their own apps. - Finally, created a terraform template that will allow us to reliably create, update, and destroy our infrastructure.
- For more details visit this project’s github repo README by clicking on the blue
Github
button above
Skills
- Azure DevOps
- Infrastructure as Code (IaC)
- Terraform
- Packer
- Azure Pipelines
- Python
- VM images
Image galleries
Here’s a few screenshots of my project and workflow:
Note: The images should clear up in a few seconds after clicked on in desktops. See the image carousel below if you are on a mobile device or if the images have not cleared up.
Image carousel
Here’s another gallery with only one column, which creates a carousel slide-show instead.
Video of Project
Here I’ll walk you through the main steps of this project: