Using Terraform to Launch an Instance with Jenkins

<p>A team would like to start using Jenkins as their CI/CD tool to create a pipeline for DevOps projects.</p> <p>They are looking to create the Jenkins server using Terraform so that it can be used in other environments and so that changes in the environment are better tracked.</p> <p>We will help them out by doing the following:<br /> 1. Bootstrap the EC2 instance with a script that will install and start Jenkins.<br /> 2. Deploy an EC2 instance in the default VPC.<br /> 3. Create and assign a Security Group to the Jenkins instance that allows traffic on port 22 from our IP and allows traffic from port 8080.<br /> 4. Create a S3 bucket for our Jenkins Artifacts that is not open to the public.<br /> 5. Verify we can reach the Jenkins install via port 8080 in our browser.</p> <p><a href="https://medium.com/@jerrykarran/using-terraform-to-launch-an-instance-with-jenkins-4852da94428f"><strong>Website</strong></a></p>