/terraform-jenkins

Deploy a Jenkins CI server on AWS using Terraform

Primary LanguageHCL

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

  1. Create a file called terraform.tfvars in the environment/dev directory and define the variables
  2. cd to environment/dev and run terraform workspace new dev
  3. Run terraform apply and confirm!

Architecture

JenkinsTerraform 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