View Code? Open in Web Editor
NEW
This project forked from devopsyuva/aws-devops-demo-jenkins
This repo is for testing Jenkins CICD Integration
Shell 8.13%
HCL 87.84%
Dockerfile 4.02%
aws-devops-demo-jenkins's Introduction
Terraform Cloud Module for Instance and VPC creation
- Create ssh key for instance to login from our machine in AWS console
- Create VPC
- Create Subnets (Public and Private)
- Create Internet Gateway and attach it to VPC
- Create Route table for public and private
- Attach the IGW route to Public route table for internet access
- Associate Public subnet to public route table and Private subnet to private route table
- Create a Security group to VPC to allow 22 and 80 port inbound rule
- Launch Instance on above specified resources and install web server
- Create EIP, which depends_on IGW
- Destroy everything (#terraform destroy and rm -rf .terraform* terraform.tfstate*)
aws-devops-demo-jenkins's People
Contributors