Deploy a Kubernetes Cluster under 5 mins!
- Jenkins Server [EC2 Instance]
- Jenkins Security Group [Security Group]
- User defines the type of Environment this server will be installed in.
- Terraform creates 1 Secuirty Group by dynamically attaching it to the default VPC details.
- Terraform will search for the latest AWS AMZN AMI.
- Terraform will create the EC2 Instance.
Based on the environment users enter, the type of instance will be launched. dev = "t2.micro" test = "t2.medium" prod = "t2.large"
- Instance IP
- AMZN AMI
- Jenkins Admin Password
All resources are built and tested using Terraform, and stored in Github.
- AWS Account
- Basic AWS Knowledge
- Familiar with Terraform
Download this repo to your local machine or clone the repo.
terraform init
terraform fmt
terraform validate
terraform plan
terraform apply
After the terraform process has been completed. The Terraform command will provide the IP of the Server, copy that and paste it on your browser. Copy the Admin Password from the Terraform outputs and paste it on the Jenkins browser. And you are all set!
- Go to AWS, and search for EC2
- In EC2 Instances, you will see a new Instance was created named "Jenkins Server".
- You can also check out the Security Group by going to the Security Group page.