Skill 2.1.1
Designing event-driven, microservice, and/or multi-tier architectures based on requirements
Key Concepts
A multi-tier architecture separates presentation (CloudFront, ALB), application (EC2 Auto Scaling, ECS, Lambda) and data (RDS, DynamoDB) tiers, each in its own subnets and scaling independently. It suits traditional web applications.
Microservices split an application into small services that own their data and communicate over APIs (API Gateway, ALB, service discovery) or messages. Each service is deployed and scaled independently, often on ECS, EKS or Lambda. Stateless services store state externally (DynamoDB, ElastiCache, S3).
Event-driven architectures react to events: an object upload to S3, a DynamoDB stream record, an EventBridge event from a SaaS partner. Producers do not wait for consumers, which improves resilience and lets new consumers be added without changing producers. Typical building blocks: EventBridge (routing), SNS (fan-out), SQS (buffering), Lambda (processing) and Step Functions (orchestration).