This Terraform configuration sets up a basic infrastructure on AWS, which includes a Virtual Private Cloud (VPC) and related networking components. It creates both public and private subnets and provisions two EC2 instances: one in the public subnet and one in the private subnet.
https://www.jenkins.io/doc/book/installing/linux/
https://medium.com/@navidehbaghaifar/how-to-install-jenkins-on-an-ec2-with-terraform-d5e9ed3cdcd9
Jenkins will open in port 8080