This repository demonstrates how to leverage Packer, Terraform, and Ansible to build, provision, and deploy infrastructure on Azure. It showcases a CI/CD pipeline that automates the creation of custom VM images, provisioning of infrastructure, and configuration management.
- Packer: Automates the creation of machine images.
- Terraform: Manages infrastructure as code.
- Ansible: Handles configuration management and application deployment.
- Azure DevOps: Facilitates CI/CD pipelines.
- Packer: Builds a custom Azure VM image with necessary software and configurations.
- Terraform: Deploys infrastructure using the custom image created by Packer.
- Ansible: Configures the deployed infrastructure, ensuring it meets the desired state.
Ensure you have the following tools installed:
The repository includes an Azure DevOps pipeline configuration file (azure-pipelines.yml). To set up the pipeline:
- Navigate to your Azure DevOps project.
- Go to Pipelines > Create Pipeline.
- Select GitHub as the source and authenticate.
- Choose this repository.
- Azure DevOps will automatically detect the
azure-pipelines.ymlfile and configure the pipeline accordingly.
Contributions are welcome! Please fork the repository, create a new branch, and submit a pull request with your changes.
This project is licensed under the MIT License.