This project demonstrates a secure and scalable AWS infrastructure using VPC, private subnets, NAT Gateway, ALB, EC2, and Auto Scaling Group (ASG).
The ALB distributes traffic across EC2 instances hosted in private subnets, while the NAT Gateway provides secure internet access for private servers.
Auto Scaling improves availability and scalability by automatically managing EC2 instances based on traffic demand.
This project provides hands-on experience with AWS networking, load balancing, and real-world DevOps deployment architecture.
- Virtual Private Cloud (VPC)
- Auto Scaling Group (ASG)
- Elastic Cloud Compute (EC2)
- Target Groups
- Application Load Balancer (ALB)
- Security Groups
- Created VPC with public and private subnets
- Configured NAT Gateway and Auto Scaling
- Launched EC2 instances in private subnets
- Used Bastion Host for SSH access
- Deployed web application on EC2
- Configured Target Group and ALB
- Verified load-balanced traffic flow
- Access application via Load Balancer DNS Name
-
User requests are received by the Application Load Balancer (ALB).
-
ALB distributes traffic to healthy EC2 instances through the Target Group.
-
EC2 instances are hosted inside private subnets for enhanced security.
-
Auto Scaling Group (ASG) automatically manages EC2 instances based on traffic demand.
-
NAT Gateway enables private EC2 instances to securely access the internet.
-
The VPC manages networking, routing, and secure communication between resources.
Users → ALB → Target Group → Private EC2 Instances → ASG Scaling → NAT Gateway → Internet
- AWS VPC architecture
- NAT Gateway and ALB setup
- Auto Scaling configuration
- Bastion Host SSH access
- Traffic routing and load balancing
- Gained hands-on AWS deployment experience
This architecture provides a secure and highly available AWS environment using VPC, private subnets, NAT Gateway, ALB, and Auto Scaling to manage traffic distribution, scalability, and secure server communication.