This project provisions an application on Azure that interfaces with an Azure Redis Cache instance. It requires using Terraform Enterprise (TFE) as a terraform_remote_state
Data Source is used.
Optionally, this deployment can be automated using Jenkins or another CI system using the TFE CLI to interact with a TFE. Steps for deploying using Jenkins are provided in the jenkins directory.
Time required: ~ 45 minutes
There are 3 main components to this deployment:
- Packer: Builds a packer Azure managed Disk image that is used by the Application.
- Core module: This module provisions an Azure VNET, Subnet and Bastion Host.
- App module: This module deploys an Azure VM Scale Set, Load Balancer, Azure Redis Cache instance and the Python Redis Client application.
Please choose either one of the following build steps:
-
Local builds using packer and TFE-CLI.
- Packer local build
- Core module local build
- App module local build
- Note: The App module has dependency on Packer and Core and therefore those must be built prior.