Jenkins AWS Terraform Module – Continuous integration

by Chris

At the National Archives we are in the process of migrating our digital services to the cloud. We are investigating Jenkins, an automation server, as part of our continuous integration with AWS.

Jenkins is a distributed automation server, generally associated with Continuous Integration (CI) and Continuous Delivery (CD). I’ve created a Jenkins Terraform Module to deploy a Jenkins cluster on AWS. This module creates the architecture (ec2 instance, security group and Elastic IP) and installs Jenkins and associated plugins. Please feel free to review the plugins to remove and add as you please. The two plugins necessary for AWS are CodeDeploy and EC2.

The module is based on ‘AWS’s Set Up a Jenkins Build Server‘. This Jenkins cluster involves one master instance coupled with slave instances.