AWS VPC-Demo
A Terraform configuration for a VPC providing networking capabilities to a virtual Linux. The VPC is to have two subnets:
- Public subnet with an IPv4 CIDR block of 10.1.1.0/25 or 128 IP addresses ranging from 10.1.1.0 to 10.1.1.127
- Private subnet with an IPV4 CIDR block of 10.1.1.128/25 also with 128 IP addresses from 10.1.1.128 to 10.1.1.255
This configuration will create an Internet Gateway to connect the VPC to the Internet.
Additionally, it will create a route table to govern network traffics between the VPC public subnet and its Internet gateway
Finally, within this VPC an EC2 instance with an Apache HTTP Server already up, running, and delivering a simple HTML page at the instance default route "/".