Requirements:
1. VPC Configuration:
• Create a VPC with CIDR 10.0.0.0/16.
• Establish two public subnets with CIDRs 10.0.0.0/24 and 10.0.0.2.0/24.
• Set up two private subnets with CIDRs 10.0.1.0/24 and 10.0.3.0/24.
2. Public Layer (Proxy Layer):
• Deploy two EC2 instances in the public subnets running NGINX as a reverse proxy.
• Implement a Load Balancer to distribute incoming traffic between the NGINX instances.
3. Private Layer (Application Layer):
• Deploy two EC2 instances in private subnets with Apache installed.
• These instances should be in Target group.
• No direct SSH access should be allowed to these instances.
4. Traffic Flow:
• The Load Balancer in the public subnets should route traffic to the NGINX proxy instances.
• The NGINX proxies should forward traffic to the private Apache servers for application
hosting.
• Ensure secure communication between layers with properly configured security groups and
IAM role