Components
? Security & Edge
Edge Layer WAF: Protects against common web exploits (SQL injection, XSS).
Amazon CloudFront: CDN for caching static content globally.
App Layer WAF: Additional layer for app-specific protection.
? Frontend
Application Load Balancer: Distributes traffic to EC2 instances in public subnets.
Amazon EC2 (Frontend): Hosts the web server (e.g., Nginx or Apache).
Auto Scaling Group: Ensures capacity adjusts to traffic demand.
⚙ Backend
Amazon EC2 (Backend): Runs business logic and APIs in private subnets.
Application Load Balancer: Internal ALB to balance traffic between backend EC2 instances.
? Database
Amazon RDS (Primary & Standby): Multi-AZ deployment for fault-tolerant database service.
Private Subnets: Isolated subnets to protect the database layer.
? Monitoring & Notifications
Amazon CloudWatch: Logs, metrics, and alarms.
Amazon SNS: Sends alerts to admins/devs in case of failures or anomalies.