What does this terraform template?
- VPC
- Internet Gateway
- NAT gateway
- Two Private and two public Subnets
- Public Route Table and Public Route
- Private Route Table and Private Route
- S3 Bucket
- Custom security group attached to every instance
- Two EC2 instances(EBS volumes attached as root device (of type magnetic))
- Installed Apache on both servers via User Data and customized its welcome page on each server to contain hostname.
- Two Elastic IP (attached to each instance)
- Elastic Load Balancer for instances created (ELB port 80 to instance port 80)