Week 6 Worklog

Week 6 Objectives:

  • Containerization Mastery: Master the process of packaging and operating applications on Container platforms (Docker) and orchestrating at scale with Amazon ECS.
  • Automation & Optimization: Automate the software development lifecycle (CI/CD) and optimize global user experience via CDN.
  • Decoupled Architecture: Understand and implement Event-driven/Decoupled architectures using AWS messaging and queuing services.
  • Modern Backend Development: Build high-performance, secure, and maintainable APIs using the modern FastAPI framework (Python).

Tasks to be carried out this week:

DayTaskStart DateCompletion DateReference Material
1Containerization & Orchestration (Docker & ECS)
- Docker Deployment: Packaged full-stack applications (Frontend/Backend/DB) into containers. Managed Images with Docker Hub and Amazon ECR. Configured Nginx as a Reverse Proxy.
- Amazon ECS: Orchestrated containers at scale. Differentiated between EC2 Launch Type and AWS Fargate (Serverless).
- Deployment Strategies: Practiced deployment strategies on ECS: Rolling Update (minimize downtime) and Blue/Green (safe traffic shifting).
13/10/202513/10/2025Module Re-hand-on
2Content Delivery & CI/CD Automation
- CDN Optimization (Lab 9.4): Integrated Amazon CloudFront with S3 Static Hosting, reducing global latency (from ~200ms to ~30ms) and setting up SSL/Custom Domain security.
- Serverless CI/CD (Lab 8.4): Built automated workflows with AWS CodePipeline.
   + CI: Automated code build and test (CodeBuild).
   + CD: Automated artifact deployment to Staging/Production environments (CodeDeploy).
14/10/202514/10/2025Module Re-hand-on
3Decoupled Architecture (SQS & SNS)
- Amazon SQS (Message Queue): Designed a distributed order processing system using Standard Queues (high throughput) and FIFO Queues (guaranteed ordering) to decouple system components.
- Amazon SNS (Pub/Sub): Configured asynchronous notification mechanisms (Fan-out pattern) to multiple endpoints (Lambda, SQS, Email/SMS).
- Integration: Combined SNS and SQS to build a reliable and highly scalable Event-driven architecture.
15/10/202515/10/2025Module Re-hand-on
4Modern API Development with FastAPI (Part 1)
- Framework Fundamentals: Got started with FastAPI (Python), leveraging ASGI architecture for high performance and automatic documentation (Swagger UI/ReDoc).
- Modular Design: Structured the project using APIRouter to separate modules (Users, Items, Auth) for easier maintenance.
- Data Validation: Used Pydantic schemas to define and validate input/output data automatically.
- Database Setup: Integrated SQLAlchemy, established database connections, and managed Sessions.
16/10/202516/10/2025
5Advanced FastAPI Implementation (Part 2)
- Security & Auth: Implemented secure authentication mechanisms using OAuth2 with Password Flow and JWT Tokens (Access/Refresh tokens).
- Database Operations: Built full CRUD APIs, handling data relationships in SQLAlchemy.
- Testing & CI/CD: Wrote Unit/Integration tests with pytest. Set up pipelines (GitHub Actions) to automatically test and deploy the application (Zero-downtime).
17/10/202517/10/2025

Week 6 Achievements:

  • ECS Proficiency: Successfully containerized and deployed a Full-stack application on Amazon ECS, mastering deployment strategies (Rolling/Blue-Green).
  • DevOps Optimization: Successfully built a serverless CI/CD pipeline and reduced application access latency from 200ms to 30ms using CloudFront.
  • Reliable Architecture: Designed an asynchronous message processing system, ensuring decoupling and scalability between components.
  • Secure API Construction: Completed a robust Backend with FastAPI including full features: JWT Authentication, ORM Database connection, and automated testing.