Putting It Together: Common AWS Architecture Patterns and the Shared Responsibility Review
Pattern 1: Static Website
text
Users ─► Route 53 ─► CloudFront (HTTPS, cache, WAF) ─► S3 bucket (private, Origin Access Control)
- Cheap, fast, and almost no servers to manage
- Good for portfolios, docs, marketing and single-page apps
Pattern 2: Three-Tier Web App
text
Users ─► Route 53 ─► CloudFront ─► ALB (public subnets, 2 AZs)
─► Web/App servers in Auto Scaling group (private subnets)
─► RDS or Aurora Multi-AZ (isolated subnets)
+ ElastiCache for sessions, S3 for uploads, NAT gateway for updates, CloudWatch for alarms
Pattern 3: Serverless API
text
Client ─► CloudFront / API Gateway ─► Lambda ─► DynamoDB
Cognito for sign-in, S3 for files, SQS/SNS for background work
- Pay per request and scale automatically
- Great for variable traffic and small teams
Pattern 4: Event-Driven Processing
text
Upload to S3 ─► S3 event ─► Lambda (resize / scan) ─► DynamoDB metadata ─► SNS notification
Failed events ─► SQS dead-letter queue ─► CloudWatch alarm
Pattern 5: Data Lake and Analytics
text
Apps and logs ─► Firehose ─► S3 (raw) ─► Glue (clean to Parquet) ─► S3 (curated)
─► Athena / Redshift ─► QuickSight
Pattern 6: Containers
text
Git ─► CodePipeline ─► CodeBuild ─► ECR ─► ECS on Fargate (behind ALB)
Secrets Manager for secrets, CloudWatch Logs for logs
How to Pick Services
| Question | Leans toward |
|---|---|
| Do you want no servers to manage? | Lambda, Fargate, DynamoDB, S3, Aurora Serverless |
| Need full OS control or special software? | EC2 |
| Relational data with SQL joins? | RDS or Aurora |
| Key-value data at huge scale and speed? | DynamoDB |
| Spiky or unknown traffic? | Serverless or Auto Scaling |
| Strict latency to global users? | CloudFront and Global Accelerator |
| Must survive an AZ failure? | Multi-AZ everywhere |
Review Checklist for Any Design
- Security: private subnets, least privilege roles, encryption, MFA, logging
- Reliability: two AZs, health checks, backups, tested recovery
- Performance: right sizes, caching, CDN
- Cost: right-size, commit where steady, tags and budgets
- Operations: monitoring, alarms, infrastructure as code, runbooks
- Sustainability: avoid idle resources
Shared Responsibility Reminder
| AWS is responsible for | You are responsible for |
|---|---|
| Physical data centers, hardware, network, hypervisor | Your data, IAM, passwords and MFA |
| Managed service software (RDS engine patches, Lambda runtime) | Guest OS patches on EC2, app code, security groups, encryption choices |
Practice
- Draw pattern 2 and mark the public and private subnets
- Change pattern 2 into a serverless version
- Pick a pattern for: a blog, a mobile app backend, a photo thumbnail service, a nightly report
- Run the review checklist on your own design
Conclusion
Most AWS systems combine a few repeatable patterns: static site, three-tier, serverless API, event-driven, data lake and containers. Pick services by need, then review security, reliability, cost and operations.
Quick Summary: patterns 1-6; choosing; checklist; responsibility.

