Jenkins Terraform Setup
No longer maintained
Due to moving to using CircleCI rather than Jenkins and there being existing Terraform configurations for setting up Jenkins on AWS, I am no longer maintaining this.
Setup
- Create a file called
terraform.tfvars
in theenvironment/dev
directory and define the variables cd
toenvironment/dev
and runterraform workspace new dev
- Run
terraform apply
and confirm!
Architecture
This builds a VPC configured with an IGW and an ALB. The Jenkins instances are launched via an Autoscaling Group up to a maximum of 2.
See the launch configuration for more information on the specific instance configuration.
TODO
Master + slaves