Skip to content

This repo contains the configuration files for setting up a Jenkins server with docker on an ec2 server using Terraform.

Notifications You must be signed in to change notification settings

Wach-E/terraform-jenkins

Repository files navigation

terraform-jenkins

jenkins-infra-setup

This repo contains the configuration files for setting up a Jenkins server with docker on an ec2 server using Terraform.

Pre-requisites

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

TODO:

  • 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

Alt

About

This repo contains the configuration files for setting up a Jenkins server with docker on an ec2 server using Terraform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published