Skip to content

jbsbuilder/Terraform-Jenkins

Repository files navigation

Jenkins Server Deployment with Terraform

This repository contains the infrastructure code to deploy a Jenkins server inside a Virtual Private Cloud (VPC) using Terraform. Jenkins is hosted on an EC2 instance behind a load balancer for access, with all traffic routed through the load balancer. Security groups ensure restricted access, and an IAM role allows Jenkins to interact with other AWS services if necessary.

Deployment Instructions

1. Clone the Repository

git clone https://github.com/your-username/jenkins-terraform-deployment.git
cd jenkins-terraform-deployment

2. Terraform Setup

Initialize Terraform:

terraform init

Review the infrastructure plan:

terraform plan

Apply the configuration to create the infrastructure:

terraform apply

3. Destroy the Infrastructure

When you're done, you can clean up the resources:

terraform destroy

Credits

Basic infra inspired by https://github.com/rahulwagh

https://www.youtube.com/watch?v=otQqd7GRVK0&t=2877s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published