template.yaml into a Multi-Stack architecture (Nested Stacks) to reduce “Blast Radius” and improve deployment speed.| Day | Task | Start Date | Completion Date | Resources |
|---|---|---|---|---|
| Sun | - Participate in AWS Cloud Mastery Series #2 (Nov 17th): - Researched “Strangler Fig” and “Fan-out” patterns from AWS Cloud Mastery resources to apply to the refactoring process. | 17/11/2024 | 17/11/2024 | Mentor, AWS Cloud Mastery Series |
| Mon | - Stack Strategy | - Split the monolith into logical stacks: 1. Core-Infra: VPC, Security Groups (Stable/Static). 2. Data-Stack: DynamoDB, S3 Buckets (Stateful). 3. App-Stack: Lambda, API Gateway (Stateless/High Churn). | 18/11/2024 | 18/11/2024 |
| Tue | - Pipeline Fixes | - Critical Bug: Hit a “Circular Dependency” error where Stack A referenced Stack B, and B referenced A. - Fix: Refactored parameter passing and removed bidirectional references by using SSM Parameter Store for runtime configuration. | 19/11/2024 | |
| Wed | - Extracted heavy libraries (boto3, requests, Pillow) into a shared Lambda Layer.- Result: Reduced individual function code size from 10MB to <50KB, significantly improving cold start times. | 20/11/2024 | 20/11/2024 | Optimization |
| Thu | - Stabilization | - Finalized the deployment script (deploy.sh) to orchestrate the stack creation order.- Synced the Frontend codebase to align with the new API Gateway IDs. | 21/11/2024 | |
| Fri | - Team Meeting and Project Stabilization: Held a team meeting to review the new Frontend structure, stabilize the main project Stack, and synchronize the fixes for CORS and basic template errors. - Cross-Stack Refs | - Utilized AWS::CloudFormation::Stack to nest templates.- Configured Outputs and Fn::ImportValue to pass resource IDs | 22/11/2024 | 22/11/2024 |