Day 21: Architecture Patterns + End-to-End Review
Learning Objectives
- - Trace 4 complete architecture patterns across all domains
- - Identify which services and patterns each architecture combines
- - Validate understanding by explaining each architecture from memory
Tasks
Tasks
0/4 completed- Read30m
GenAI Application Builder Architecture Overview
End-to-end reference architecture for production GenAI applications.
- Blog25m
Human-in-the-Loop Prompt Chaining
Step Functions Wait-for-Callback pattern for human review workflows.
- Blog20m
Circuit Breaker with Step Functions and DynamoDB
Resilience pattern for FM API calls with failure detection.
- Study120m
Review 4 Architecture Patterns
Trace from memory: Production RAG Pipeline, Multi-Agent System, Document Processing Pipeline, Human-in-the-Loop Agent Workflow.
Hands-On Lab
Build real muscle memory with these activities.
Build the Document Processing Pipeline Reference Architecture
Trace the Document Processing Pipeline and identify the service chain for different document types.
- 1 Draw the architecture: S3 upload event → EventBridge → Step Functions orchestrator
- 2 Add the processing branches: PDF → Textract, Audio → Transcribe, Image → Rekognition, Text → Comprehend
- 3 Add the enrichment step: all extracted data → Bedrock InvokeModel for summarization and structuring
- 4 Add PII handling: Macie scans S3 objects before processing, Guardrails filter PII in outputs
- 5 Add the storage layer: processed results → DynamoDB + S3, vectors → OpenSearch for KB
Build the Human-in-the-Loop Agent Workflow Reference Architecture
Trace the Human-in-the-Loop workflow using Step Functions Wait-for-Callback pattern.
- 1 Draw the architecture: User request → Bedrock Agent → Step Functions workflow
- 2 Add the automated steps: agent generates proposal → guardrails check → approval needed decision
- 3 Add the human review: Step Functions Wait-for-Callback → SNS notification → human reviewer
- 4 Add the callback path: reviewer approves/rejects → callback token resumes Step Functions
- 5 Add the completion path: approved → agent executes action → response to user
Practice Questions
34 questions across 3 difficulty levels.
Further Reading
Go deeper into today's topics.
Human-in-the-Loop Prompt Chaining
Step Functions Wait-for-Callback pattern for human review workflows.
Circuit Breaker with Step Functions and DynamoDB
Resilience pattern for FM API calls with failure detection and automatic fallback.
Build GenAI Agent Workflows with Step Functions
Multi-agent Step Functions patterns: supervisor routing, parallel execution, human-in-the-loop review.
Large-Scale Document Processing with Step Functions + Batch Inference
Map state iterates S3 objects, Bedrock batch inference, concurrency management.