This project documents my step-by-step implementation of the AWS Three-Tier Web Architecture Workshop,done independently for learning and hands-on practice.
three-tier-web-architecture-on-aws/
βββ app-tier/ # Application layer code (backend)
βββ web-tier/ # Web server layer code (frontend)
βββ nginx.conf # NGINX config used in web tier
βββ README.md # Documentation of this project
βββ LICENSE # Project license
create two route one public one private
- InternetFacing
- WebTier
- Internal Load Balancer
- PrivateInstance
- DB-SG
- Subnet Group
- MySQL DB Instance
- EC2 Launch for AppServer
- SSM Connect
- Configure DB connection
- Upload
app-tier
folder to S3 - Test App
- Create AMI, Target Group, Load Balancer, Launch Template & Auto Scaling
- Configure
nginx.conf
with App LB DNS - Upload
web-tier
andnginx.conf
to S3 - Launch EC2 for WebServer
- Connect via SSM and test in browser
- Create AMI, Target Group, Load Balancer, Launch Template & Auto Scaling
- Final Test
now copy the dns of loadbalancer and paste on your web browser
- Building multi-tier architecture with AWS best practices
- Role-based access, NAT & IGW usage
- Auto scaling with load balancers
- Configuring backend/frontend interaction securely
- Real-world deployment flow using EC2 and RDS
After completing the project:
- Terminate EC2s
- Delete Load Balancers
- Delete NAT Gateways (to avoid billing)
- Delete RDS (optional: take snapshot)
- Delete VPC and associated components
- Remove S3 contents