Nuair a bhítear ag tógáil córais AWS a bhí i dtreis go maith, is minic a leantar patrúin bhunaithe — ailtireacht gréine-chéim, seirbhísí beaga, tiomáinte-ag-imeachtaí, gan fhreastalaí, agus eile — a chomhcheanglaíonn seirbhísí AWS chun riachtanais choitianta a bhreacadh amach ar nós inscálaitheachta, decoupling, agus athchóirithe.
Ailtireacht gréine-chéim (clasaiceach)
The classic scalable web app:
PRESENTATION → CloudFront (CDN) + S3 (static frontend) or ALB → web tier
APPLICATION → EC2/containers (auto-scaled, multi-AZ) behind a load balancer
DATA → RDS (Multi-AZ) / DynamoDB; ElastiCache for caching
→ Each tier scales independently; multi-AZ for HA; the foundational web pattern.
Seirbhísí beaga
Decompose into independent services (each owning its data):
→ containers (ECS/EKS) or Lambda per service; API Gateway / service mesh
→ communicate via APIs and async messaging (SQS/SNS/EventBridge)
→ independent scaling, deployment, and teams
→ Flexibility and scalability at the cost of distributed-system complexity.
