This repo contains the configuration files for setting up a Jenkins server with docker on an ec2 server using Terraform.
Step 1: Clone this repository
git clone https://github.com/Wach-E/terraform-jenkins.git
Step 2: Rename the example-terraform.tfvars to terraform.tfvars. N/B: Replace the the contents in the terraform.tfvars
Step 3: Initialize terraform providers and modules
terraform init
Step 4: Modify the format of your config files and validate them
terraform fmt
terraform validate
Step 4: Apply terraform configuration
terraform apply
Step 5: Obtain the IP of the Loadbalancer and access the Jenkins application
- Resolve issues connected to this repository
- Suggest better solutions to fit the Well-architected framework (e.g using an autoscaling group with scaling policies in cloud watch and so much more)
Let's connect: My profile